MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
No edit summary
 
(65 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* 1. Global Page Reset - Forces the very bottom and back of the grid to black */
/* 1. UNIVERSAL FORCE - Targets every single element regardless of ID */
html, body, #mw-content-container, #mw-header-container, #mw-footer-container {
*,  
     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. Target the Left and Right Sidebar Containers specifically */
/* 2. RE-ESTABLISH YOUR PREFERENCES - Prevents the universal rule from breaking your gray search and content boxes */
#mw-site-navigation, #mw-related-navigation {
#content {
     background-color: #000000 !important;
     background-color: #333333 !important;
}
}


/* 3. Target the Navigation 'Chunks' (The white boxes in your screenshot) */
#searchInput {
.sidebar-chunk, .mw-portlet {
     background-color: #333333 !important;
     background-color: #121212 !important; /* Slightly lighter so you can see them */
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}
}


/* 4. Fix the Main Content Area and Header */
/* 3. Keep your links and headers readable */
#content, .mw-header {
a { color: #00ffff !important; }
    background-color: #121212 !important;
a:visited { color: #FF00FF !important; }
     color: #ffffff !important;
h1, h2, h3, h4 {
     border: 1px solid #333333 !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. Force High-Contrast Colors for Text and Links */
a { color: #00FFFF !important; }      /* Cyan links */
a:visited { color: #FF00FF !important; } /* Magenta links */
.mw-body h1, .mw-body h2 { color: #FFFF00 !important; } /* Yellow headings */


/* 6. Hide the "Set $wgLogos" error image */
 
.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;
}