MediaWiki:Timeless.css: Difference between revisions
From Access Tech Central
No edit summary |
No edit summary |
||
| Line 37: | Line 37: | ||
/* 1. Target both the class and ID correctly */ | |||
.searchButton, #searchButton { | .searchButton, #searchButton { | ||
background-color: #333333 !important; /* Dark gray to match your | 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; | |||
} | } | ||
Latest revision as of 08:10, 20 February 2026
/* 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;
}