MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
No edit summary
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* 1. Global Reset - Fixes the big white background behind everything */
/* 1. UNIVERSAL FORCE - Targets every single element regardless of ID */
html, body, .mw-body, #mw-content-container, #mw-site-navigation, #mw-related-navigation {
*,  
     background-color: #000000 !important;
*::before,  
*::after {
     background-color: #111111 !important;
    background-image: none !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border-color: #99c4c4 !important;
}
}


/* 2. Fixes the Header (Top) and Footer (Bottom) */
/* 2. RE-ESTABLISH YOUR PREFERENCES - Prevents the universal rule from breaking your gray search and content boxes */
#mw-header-container, #mw-footer-container {
#content {
     background-color: #000000 !important;
     background-color: #333333 !important;
    border-bottom: 2px solid #FFFF00 !important; /* Yellow high-contrast line */
}
}


/* 3. The Main Content Box - Fixes the white square around your text */
#searchInput {
#content {
     background-color: #333333 !important;
     background-color: #121212 !important; /* Slightly lighter so text pops */
    color: #ffffff !important;
    border: 1px solid #333333 !important;
    max-width: 1400px !important; /* Increases width as requested */
    line-height: 1.8 !important;  /* Best for screen readers */
}
}


/* 4. Navigation Boxes - Fixes the white boxes in the sidebar */
/* 3. Keep your links and headers readable */
.sidebar-chunk, .mw-portlet {
a { color: #00ffff !important; }
    background-color: #121212 !important;
a:visited { color: #FF00FF !important; }
     border: 1px solid #444 !important;
h1, h2, h3, h4 {
     color: #ffffff !important;
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 */
}
}


/* 5. High-Contrast Link Colors */
a { color: #00FFFF !important; }      /* Cyan links */
a:visited { color: #FF00FF !important; } /* Magenta links */


/* 6. Hide the "Set $wgLogos" error box */
 
.mw-wiki-logo { display: none !important; }
 
 
 
/* 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;
}

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