MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
Tag: Reverted
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 32: Line 32:
}
}


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 */
}




Line 44: Line 37:




/* 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;
}


/* 1. RESCUE THE ICONS - Forces them to flip from black to white */
/* 2. This is the magic part that turns the black icon white */
.mw-ui-icon,
.searchButton, #searchButton {
.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;
     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;
}
}

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;
}