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.
/* Set dark background and light text */
body, #content, .mw-body, .mw-page-container {
background-color: #121212 !important;
color: #e0e0e0 !important;
}
/* Style links */
a, a:link, a:visited {
color: #80cbc4 !important;
}
a:hover {
color: #b2dfdb !important;
}
/* Side panel, top navigation bar, and footer */
#mw-panel, #mw-head, #footer {
background-color: #1e1e1e !important;
color: #ccc !important;
}
/* Headings (page titles etc.) */
h1, h2, h3, h4, h5 {
color: #ffffff !important;
}
/* Input fields and text areas */
input, textarea, select {
background-color: #1e1e1e !important;
color: #eee !important;
border: 1px solid #444 !important;
}
/* Message boxes and alerts */
.mw-message-box, .mw-warning, .successbox {
background-color: #333 !important;
border-color: #555 !important;
color: #eee !important;
}
/* Sidebar section titles */
.portal h3 {
color: #eee !important;
}