MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 38: Line 38:
     filter: invert(1) brightness(2) !important;
     filter: invert(1) brightness(2) !important;
     background-color: transparent !important; /* Prevents a black box around the white icon */
     background-color: transparent !important; /* Prevents a black box around the white icon */
}
/* FORCE ALL BACKGROUND ICONS TO WHITE */
.mw-ui-icon,
.oo-ui-iconElement-icon,
.mw-icon-question,
#ca-watch a,
#ca-unwatch a,
.vector-menu-content-list .mw-list-item a::before,
[class*="mw-ui-icon-"] {
    filter: invert(1) brightness(2) !important;
    background-color: transparent !important;
    opacity: 1 !important;
}
/* Specifically target the Watch Star and Edit icons */
#ca-watch.icon a,
#ca-edit.icon a,
.mw-editsection-visualeditor,
.mw-editsection-divider {
    filter: invert(1) brightness(2) !important;
    visibility: visible !important;
}
}

Revision as of 07:59, 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 */
}





/* FORCE ALL BACKGROUND ICONS TO WHITE */
.mw-ui-icon, 
.oo-ui-iconElement-icon, 
.mw-icon-question,
#ca-watch a,
#ca-unwatch a,
.vector-menu-content-list .mw-list-item a::before,
[class*="mw-ui-icon-"] {
    filter: invert(1) brightness(2) !important;
    background-color: transparent !important;
    opacity: 1 !important;
}

/* Specifically target the Watch Star and Edit icons */
#ca-watch.icon a, 
#ca-edit.icon a,
.mw-editsection-visualeditor,
.mw-editsection-divider {
    filter: invert(1) brightness(2) !important;
    visibility: visible !important;
}