MediaWiki:Common.css
MediaWiki interface page
More actions
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.
/* 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; }
}