MediaWiki:Timeless.css
From Access Tech Central
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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 1. Global Page Reset - Forces the very bottom and back of the grid to black */
html, body, #mw-content-container, #mw-header-container, #mw-footer-container {
background-color: #000000 !important;
color: #ffffff !important;
}
/* 2. Target the Left and Right Sidebar Containers specifically */
#mw-site-navigation, #mw-related-navigation {
background-color: #000000 !important;
}
/* 3. Target the Navigation 'Chunks' (The white boxes in your screenshot) */
.sidebar-chunk, .mw-portlet {
background-color: #121212 !important; /* Slightly lighter so you can see them */
border: 1px solid #333333 !important;
color: #ffffff !important;
}
/* 4. Fix the Main Content Area and Header */
#content, .mw-header {
background-color: #121212 !important;
color: #ffffff !important;
border: 1px solid #333333 !important;
}
/* 5. Force High-Contrast Colors for Text and Links */
a { color: #00FFFF !important; } /* Cyan links */
a:visited { color: #FF00FF !important; } /* Magenta links */
.mw-body h1, .mw-body h2 { color: #FFFF00 !important; } /* Yellow headings */
/* 6. Hide the "Set $wgLogos" error image */
.mw-wiki-logo { display: none !important; }