MediaWiki:Timeless.css: Difference between revisions
From Access Tech Central
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 45: | Line 45: | ||
/* 1. RESCUE | /* 1. THE ICON RESCUE - Targets all possible icon types in Timeless */ | ||
.mw-ui-icon, | .mw-ui-icon, | ||
.oo-ui-iconElement-icon, | .oo-ui-iconElement-icon, | ||
.mw-editsection-visualeditor, | .mw-editsection-visualeditor, | ||
.indicator { | .mw-ui-button::before, | ||
filter: invert(1) brightness(2) !important; | span[class^="mw-ui-icon-"], | ||
background-color: transparent !important; /* Prevents the black | span[class*=" mw-ui-icon-"], | ||
.indicator, | |||
#ca-watch a::before, | |||
#ca-unwatch a::before, | |||
.vector-menu-content-list .mw-list-item a::before { | |||
filter: invert(1) brightness(2) !important; /* Flips black icons to bright white */ | |||
background-color: transparent !important; /* Prevents the black background from hiding the icon */ | |||
background-size: contain !important; | background-size: contain !important; | ||
display: inline-block !important; | |||
visibility: visible !important; | |||
opacity: 1 !important; | opacity: 1 !important; | ||
} | } | ||
/* 2. MAKE | /* 2. MAKE THEM LARGER - For better visibility and touch/click area */ | ||
.mw-ui-icon, | .mw-ui-icon, | ||
.oo-ui-iconElement-icon { | .oo-ui-iconElement-icon { | ||
width: | width: 32px !important; | ||
height: | height: 32px !important; | ||
min-width: | min-width: 32px !important; | ||
} | } | ||
/* 3. FIX | /* 3. FIX FOR BUTTONS - Ensures the "Edit" and "History" labels stay white */ | ||
.oo-ui- | .oo-ui-labelElement-label { | ||
color: #ffffff !important; | |||
font-weight: bold !important; | |||
} | } | ||
Revision as of 08:02, 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. THE ICON RESCUE - Targets all possible icon types in Timeless */
.mw-ui-icon,
.oo-ui-iconElement-icon,
.mw-editsection-visualeditor,
.mw-ui-button::before,
span[class^="mw-ui-icon-"],
span[class*=" mw-ui-icon-"],
.indicator,
#ca-watch a::before,
#ca-unwatch a::before,
.vector-menu-content-list .mw-list-item a::before {
filter: invert(1) brightness(2) !important; /* Flips black icons to bright white */
background-color: transparent !important; /* Prevents the black background from hiding the icon */
background-size: contain !important;
display: inline-block !important;
visibility: visible !important;
opacity: 1 !important;
}
/* 2. MAKE THEM LARGER - For better visibility and touch/click area */
.mw-ui-icon,
.oo-ui-iconElement-icon {
width: 32px !important;
height: 32px !important;
min-width: 32px !important;
}
/* 3. FIX FOR BUTTONS - Ensures the "Edit" and "History" labels stay white */
.oo-ui-labelElement-label {
color: #ffffff !important;
font-weight: bold !important;
}