MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Created page with "→CSS placed here will be applied to all skins: :root { color-scheme: dark; } html, body { background: #0b0d10; color: #e6e6e6; }" |
No edit summary |
||
| Line 3: | Line 3: | ||
color-scheme: dark; | color-scheme: dark; | ||
} | } | ||
html, body { | html, body { | ||
background: #0b0d10; | background: #0b0d10; | ||
color: #e6e6e6; | color: #e6e6e6; | ||
} | |||
/* Make links not look dead */ | |||
a { | |||
color: #7aa2ff; | |||
} | |||
a:visited { | |||
color: #b48cff; | |||
} | |||
/* Optional: keep tables from flashbanging */ | |||
table, .wikitable { | |||
background: #0f1217; | |||
color: #e6e6e6; | |||
} | |||
/* This media query is redundant if you're forcing dark anyway, | |||
but it's harmless. */ | |||
@media (prefers-color-scheme: dark) { | |||
:root { color-scheme: dark; } | |||
} | } | ||
Revision as of 05:03, 30 January 2026
/* CSS placed here will be applied to all skins */
:root {
color-scheme: dark;
}
html, body {
background: #0b0d10;
color: #e6e6e6;
}
/* Make links not look dead */
a {
color: #7aa2ff;
}
a:visited {
color: #b48cff;
}
/* Optional: keep tables from flashbanging */
table, .wikitable {
background: #0f1217;
color: #e6e6e6;
}
/* This media query is redundant if you're forcing dark anyway,
but it's harmless. */
@media (prefers-color-scheme: dark) {
:root { color-scheme: dark; }
}