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 Reset - Fixes the big white background behind everything */
html, body, .mw-body, #mw-content-container, #mw-site-navigation, #mw-related-navigation {
background-color: #000000 !important;
color: #ffffff !important;
}
/* 2. Fixes the Header (Top) and Footer (Bottom) */
#mw-header-container, #mw-footer-container {
background-color: #000000 !important;
border-bottom: 2px solid #FFFF00 !important; /* Yellow high-contrast line */
}
/* 3. The Main Content Box - Fixes the white square around your text */
#content {
background-color: #121212 !important; /* Slightly lighter so text pops */
color: #ffffff !important;
border: 1px solid #333333 !important;
max-width: 1400px !important; /* Increases width as requested */
line-height: 1.8 !important; /* Best for screen readers */
}
/* 4. Navigation Boxes - Fixes the white boxes in the sidebar */
.sidebar-chunk, .mw-portlet {
background-color: #121212 !important;
border: 1px solid #444 !important;
color: #ffffff !important;
}
/* 5. High-Contrast Link Colors */
a { color: #00FFFF !important; } /* Cyan links */
a:visited { color: #FF00FF !important; } /* Magenta links */
/* 6. Hide the "Set $wgLogos" error box */
.mw-wiki-logo { display: none !important; }