MediaWiki:Timeless.css: Difference between revisions
From Access Tech Central
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 44: | Line 44: | ||
/* | |||
/* 1. RESCUE THE ICONS - Forces them to flip from black to white */ | |||
.mw-ui-icon, | .mw-ui-icon, | ||
.oo-ui-iconElement-icon, | .oo-ui-iconElement-icon, | ||
.mw- | [class^="mw-ui-icon-"], | ||
#ca-watch a, | .vector-menu-content-list .mw-list-item a::before, | ||
#ca-watch a, | |||
#ca-unwatch a, | #ca-unwatch a, | ||
.mw-editsection-visualeditor, | |||
.indicator { | |||
filter: invert(1) brightness(2) !important; | filter: invert(1) brightness(2) !important; | ||
background-color: transparent !important; | background-color: transparent !important; /* Prevents the black box from hiding the icon */ | ||
background-size: contain !important; | |||
opacity: 1 !important; | opacity: 1 !important; | ||
visibility: visible !important; | |||
} | } | ||
/* | /* 2. MAKE ICONS BIGGER - For easier cursor targeting */ | ||
.mw-ui-icon, | |||
.oo-ui-iconElement-icon { | |||
. | width: 35px !important; | ||
. | height: 35px !important; | ||
filter: | min-width: 35px !important; | ||
} | |||
/* 3. FIX THE EDIT BAR BUTTONS - Ensures text and icons show up */ | |||
.oo-ui-buttonElement-button { | |||
filter: none !important; /* Prevents double-inverting the buttons */ | |||
background-color: #222222 !important; | |||
border: 1px solid #FFFF00 !important; | |||
} | } | ||
Revision as of 08:00, 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 */
}
svg,
.mw-ui-icon,
.oo-ui-iconElement-icon, {
filter: invert(1) brightness(2) !important;
background-color: transparent !important; /* Prevents a black box around the white icon */
}
/* 1. RESCUE THE ICONS - Forces them to flip from black to white */
.mw-ui-icon,
.oo-ui-iconElement-icon,
[class^="mw-ui-icon-"],
.vector-menu-content-list .mw-list-item a::before,
#ca-watch a,
#ca-unwatch a,
.mw-editsection-visualeditor,
.indicator {
filter: invert(1) brightness(2) !important;
background-color: transparent !important; /* Prevents the black box from hiding the icon */
background-size: contain !important;
opacity: 1 !important;
visibility: visible !important;
}
/* 2. MAKE ICONS BIGGER - For easier cursor targeting */
.mw-ui-icon,
.oo-ui-iconElement-icon {
width: 35px !important;
height: 35px !important;
min-width: 35px !important;
}
/* 3. FIX THE EDIT BAR BUTTONS - Ensures text and icons show up */
.oo-ui-buttonElement-button {
filter: none !important; /* Prevents double-inverting the buttons */
background-color: #222222 !important;
border: 1px solid #FFFF00 !important;
}