MediaWiki:Common.css

From DayzUnderground Wiki
Revision as of 22:53, 21 October 2025 by SurfArcher (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* === GLOBAL PAGE STYLING === */
body {
  background-color: #111; /* Dark background */
  color: #ddd;
  font-family: "Roboto", "Segoe UI", sans-serif;
  margin: 0;
}

/* === HEADER / NAVBAR === */
#mw-head, #p-personal, #mw-panel {
  background-color: #0a0a0a;
  border: none;
}

#mw-head {
  border-bottom: 2px solid #1a1a1a;
}

#p-navigation li a,
#p-personal li a,
.vector-menu-content-list li a {
  color: #f0f0f0 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9em;
  transition: color 0.2s ease;
}

#p-navigation li a:hover,
.vector-menu-content-list li a:hover {
  color: #e87722 !important; /* orange accent */
}

/* Hide unwanted default wiki clutter */
#siteSub, #contentSub, #footer-info-lastmod {
  display: none;
}

/* === MAIN CONTENT === */
#content, .mw-body {
  background-color: #181818;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  max-width: 1100px;
  margin: 0 auto;
  padding: 2em;
  border-radius: 6px;
}

/* Headings */
h1, h2, h3, h4 {
  color: #fff;
  font-weight: 500;
  margin-top: 1.2em;
}

h1 {
  color: #e87722;
  border-bottom: 2px solid #333;
  padding-bottom: .3em;
}

/* Links */
a {
  color: #e87722;
  text-decoration: none;
}
a:hover {
  color: #ffa347;
  text-decoration: underline;
}

/* === FOOTER === */
#footer {
  background-color: #0a0a0a;
  color: #aaa;
  text-align: center;
  padding: 30px 0;
  border-top: 2px solid #1a1a1a;
}

#footer a {
  color: #e87722;
}