MediaWiki:Common.css
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 DARK BACKGROUND: #121212 === */
html, body,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
#mw-panel, #p-navigation, #p-tb, .portal,
#footer, #footer-info, #footer-icons,
.toc, .infobox, .metadata,
.thumb, .thumbinner, .gallerybox, .thumbcaption,
figure, figcaption, .thumb div,
#searchform, #searchInput, #searchGoButton, #searchform input, #searchform button {
background-color: #121212 !important;
color: #ffffff !important;
border: none !important;
box-shadow: none !important;
}
/* === HEADINGS === */
h1, h2, h3, h4, h5, h6 {
color: #ffffff !important;
border: none !important;
background: none !important;
}
/* === LINKS === */
a, a:link, a:visited {
color: #3399ff !important;
text-decoration: none !important;
}
a:hover {
color: #66ccff !important;
text-decoration: underline !important;
}
/* === TABLES === */
table, th, td {
background-color: transparent !important;
color: #ffffff !important;
border: none !important;
}
/* === SIDEBAR NAVIGATION === */
#mw-panel, .portal {
background-color: #121212 !important;
}
#mw-panel .portal h3 {
color: #3399ff !important;
}
#mw-panel .portal ul li a {
color: #ffffff !important;
}
/* === SEARCH BAR COLORS (text & border) === */
#searchInput,
#searchGoButton,
#searchform input,
#searchform button {
background-color: #121212 !important;
color: #ffffff !important;
border: 1px solid #121212 !important;
}
/* === FOOTER === */
#footer, #footer-info, #footer-icons {
background-color: #121212 !important;
color: #aaa !important;
}
#footer a {
color: #3399ff !important;
}
#footer a:hover {
color: #66ccff !important;
}
/* === REMOVE ICONS / LOGOS === */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
display: none !important;
}