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. UNIVERSAL FORCE - Targets every single element regardless of ID */
*,
*::before,
*::after {
background-color: #111111 !important;
background-image: none !important;
color: #ffffff !important;
border-color: #99c4c4 !important;
}
/* 2. RE-ESTABLISH YOUR PREFERENCES - Prevents the universal rule from breaking your gray search and content boxes */
#content {
background-color: #333333 !important;
}
#searchInput {
background-color: #333333 !important;
}
/* 3. Keep your links and headers readable */
a { color: #00ffff !important; }
a:visited { color: #FF00FF !important; }
h1, h2, h3, h4 {
font-weight: bold;
color: #fff698 !important; }
/* 2. BIG FONT & SPACING - Global Text Increase */
html, body, p, div, li, span, a {
font-size: 1.1rem !important; /* Larger text for easier reading */
line-height: 1.6 !important; /* Better spacing for screen readers */
}
/* 1. Target both the class and ID correctly */
.searchButton, #searchButton {
background-color: #333333 !important; /* Dark gray to match your field */
border: 1px solid #FFFF00 !important; /* Yellow border for accessibility */
min-width: 45px !important; /* Makes the button a larger target */
cursor: pointer;
}
/* 2. This is the magic part that turns the black icon white */
.searchButton, #searchButton {
filter: invert(1) brightness(2) !important;
}