MediaWiki:Common.css
From IUO Tome of Knowledge
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.
/* Dark mode styles for entire Timeless skin */
body.dark-mode {
background-color: #111 !important;
color: #eee !important;
}
/* Header */
body.dark-mode #mw-head,
body.dark-mode #mw-head .mw-shell {
background-color: #1a1a1a !important;
color: #eee !important;
}
/* Sidebar / panels */
body.dark-mode #mw-panel {
background-color: #1c1c1c !important;
color: #eee !important;
}
/* Main content */
body.dark-mode #content,
body.dark-mode .mw-body-content,
body.dark-mode .mw-parser-output {
background-color: #1b1b1b !important;
color: #eee !important;
}
/* Footer */
body.dark-mode #footer {
background-color: #111 !important;
color: #ccc !important;
}
/* Links */
body.dark-mode a {
color: #80c0ff !important;
}
body.dark-mode a:visited {
color: #a0aaff !important;
}
/* Buttons / CTAs */
body.dark-mode .button,
body.dark-mode .mw-button {
background-color: #28a745 !important;
color: #fff !important;
}
