MediaWiki:Common.css

From Lakebane Wiki
Revision as of 11:48, 27 April 2026 by Lakebanewiki (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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Dark box styling */
.main-box {
  background: #0b0b0b;
  padding: 12px;
  border: 2px solid #c77;
  color: #ddd;
}

/* Titles inside boxes */
.main-box b,
.main-box strong {
  color: #fff;
  font-size: 16px;
}

/* Links */
.main-box a {
  color: #4da3ff;
  text-decoration: none;
}

.main-box a:hover {
  color: #7ec3ff;
  text-decoration: underline;
}

/* Improve list spacing */
.main-box ul {
  margin: 5px 0;
  padding-left: 18px;
}

.main-box li {
  margin-bottom: 4px;
}

/* Discipline section tighter */
.discipline-box {
  font-size: 14px;
  line-height: 1.6;
}

/* Page background tweak */
body {
  background-color: #1a1a1a;
}

/* Force readable text inside dark boxes */
.main-box {
  color: #e6e6e6 !important;
}

/* Fix paragraphs, lists, and spans inside boxes */
.main-box p,
.main-box span,
.main-box li {
  color: #e6e6e6 !important;
}

/* Fix bold headings */
.main-box b,
.main-box strong {
  color: #ffffff !important;
}

/* Fix tables inside pages (big one for those sections) */
.main-box table,
.main-box td,
.main-box th {
  color: #e6e6e6 !important;
}

/* Override any inline dark text from Fandom */
.main-box * {
  color: #e6e6e6;
}

/* Keep links readable */
.main-box a {
  color: #4da3ff !important;
}

/* Red text (like your highlights) */
.main-box .mw-parser-output span[style*="red"],
.main-box font[color="red"] {
  color: #ff4d4d !important;
}