MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Lakebanewiki (talk | contribs) (Created page with "→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; paddin...") |
Lakebanewiki (talk | contribs) No edit summary |
||
| Line 45: | Line 45: | ||
body { | body { | ||
background-color: #1a1a1a; | 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; | |||
} | } | ||
Revision as of 11:48, 27 April 2026
/* 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;
}