MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
No edit summary
 
(57 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 - Forces all background layers to black */
*::before,  
html, body, #personal-inner, .dropdown, .mw-content-text #mw-content-text #mw-content, #content, #mw-body, .mw-body, #mw-content-container, #mw-header-container, #mw-footer-container, .mw-body {
*::after {
     background-color: #000000 !important;
     background-color: #111111 !important;
    background-image: none !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border-color: #99c4c4 !important;
}
}


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


/* 3. The Central Content Box - High contrast for easier reading */
#searchInput {
#content {
     background-color: #333333 !important;
     background-color: #111111 !important; /* Slightly lighter black for depth */
    color: #ffffff !important;
    border: 1px solid #444444 !important;
    max-width: 1400px !important; /* Extra width for tech data */
    line-height: 1.8 !important;  /* Optimized for screen readers */
    font-size: 1.15rem !important; /* Increased for accessibility */
}
}


/* 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 { color: #FFFF00 !important; border-bottom: 2px solid #FFFF00 !important; }
h1, h2, h3, h4 {
font-weight: bold;
color: #fff698 !important; }


/* 5. Hide the broken Logo box */
.mw-wiki-logo { display: none !important; }
#p-logo { background: none !important; }


/* Target all input fields, textareas, and buttons */
/* 2. BIG FONT & SPACING - Global Text Increase */
input, textarea, select, .mw-ui-input {
html, body, p, div, li, span, a {
     background-color: #121212 !important; /* Dark background for the box */
     font-size: 1.1rem !important; /* Larger text for easier reading */
    color: #ffffff !important;            /* White text for typing */
     line-height: 1.6 !important;   /* Better spacing for screen readers */
    border: 2px solid #FFFF00 !important; /* Bright yellow border for visibility */
    padding: 8px !important;              /* Larger touch/click area */
     font-size: 1.1rem !important;         /* Readable font size */
}
}


/* Ensure the big Edit Box is dark */
#wpTextbox1 {
    background-color: #121212 !important;
    color: #ffffff !important;
    border: 1px solid #FFFF00 !important;
}


/* Change the background when you click into a field (Focus) */
 
input:focus, textarea:focus {
 
     background-color: #000000 !important;
 
     border-color: #00FFFF !important;     /* Changes to Cyan when active */
 
     outline: 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;
}
}


/* Fix for buttons specifically */
/* 2. This is the magic part that turns the black icon white */
button, .mw-ui-button {
.searchButton, #searchButton {
     background-color: #222222 !important;
     filter: invert(1) brightness(2) !important;
    color: #FFFF00 !important;            /* Yellow text on buttons */
    cursor: pointer;
}
}

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