MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
No edit summary
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* TIMELESS TOTAL BLACKOUT - FOR ACCESSTECHCENTRAL.COM */
/* 1. UNIVERSAL FORCE - Targets every single element regardless of ID */
 
*,  
/* 1. The Global Foundation - Updated with mw-body-content and mw-content-ltr */
*::before,  
html, body,
*::after {
.editOptions,
     background-color: #111111 !important;
.mw-code, #.mw-code,
     background-image: none !important;
.mw-css, #mw-css,
#mw-wrapper,
#mw-header-container,
#mw-header-hack,
#mw-header-nav-hack,
#menus-cover,
#mw-content-container,
#mw-content-block,
#mw-content-wrapper,
#mw-body-content, /* Added this ID */
.mw-content-ltr,  /* Added this class */
#mw-footer-container,  
#bodyContentOuter,  
#bodyContent,
#personal-inner,
.mw-indicators,
.dropdown,
.ts-container,
.ts-inner,
#editpage-copywarn,
.mw-body,
#mw-body {
     background-color: #000000 !important;
     background-image: none !important; /* Critical to kill the white pattern */
     color: #ffffff !important;
     color: #ffffff !important;
    border-color: #99c4c4 !important;
}
}


/* 2. Sidebars and Nav Boxes - Targets navigation columns */
/* 2. RE-ESTABLISH YOUR PREFERENCES - Prevents the universal rule from breaking your gray search and content boxes */
#mw-site-navigation,
#content {
#mw-related-navigation,
     background-color: #333333 !important;
.sidebar-chunk,
.mw-portlet,
.portlet {
     background-color: #000000 !important;
    background-image: none !important;
    border: 1px solid #333333 !important;
}
}


/* 3. The Central Content Box - High contrast for screen readers */
#searchInput {
#content {
     background-color: #333333 !important;
     background-color: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #444444 !important;
    max-width: 1400px !important;
    line-height: 1.8 !important; 
    font-size: 1.15rem !important;  
}
}


/* 4. Accessibility Links - Bright cyan for visibility */
/* 3. Keep your links and headers readable */
a { color: #00FFFF !important; font-weight: bold !important; }
a { color: #00ffff !important; }
a:visited { color: #FF00FF !important; }
a:visited { color: #FF00FF !important; }
.mw-body h1, .mw-body h2 {  
h1, h2, h3, h4 {
     color: #FFFF00 !important;  
font-weight: bold;
     border-bottom: 2px solid #FFFF00 !important;  
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. Form Fields & Input - Targets editing and search areas */
 
input, textarea, select, .mw-ui-input, #wpTextbox1 {
 
     background-color: #121212 !important;
 
     color: #ffffff !important;
 
     border: 2px solid #FFFF00 !important;
 
     padding: 8px !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;
}
}


/* 6. Logo & Cleanup - Hides broken logo and white glow */
/* 2. This is the magic part that turns the black icon white */
.mw-wiki-logo, #p-logo {  
.searchButton, #searchButton {
     display: none !important;
     filter: invert(1) brightness(2) !important;
    background: none !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;
}