MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
No edit summary
Line 2: Line 2:


/* 1. The Global Foundation - Forces all background layers to black */
/* 1. The Global Foundation - Forces all background layers to black */
html, body, #mw-content-text #mw-content, #mw-content-container, #mw-header-container, #mw-footer-container, .mw-body {
html, body, .mw-content-text #mw-content-text #mw-content, #mw-content-container, #mw-header-container, #mw-footer-container, .mw-body {
     background-color: #000000 !important;
     background-color: #000000 !important;
     color: #ffffff !important;
     color: #ffffff !important;
Line 31: Line 31:
.mw-wiki-logo { display: none !important; }
.mw-wiki-logo { display: none !important; }
#p-logo { background: none !important; }
#p-logo { background: none !important; }
/* Target all input fields, textareas, and buttons */
input, textarea, select, .mw-ui-input {
    background-color: #121212 !important; /* Dark background for the box */
    color: #ffffff !important;            /* White text for typing */
    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;
}
/* Fix for buttons specifically */
button, .mw-ui-button {
    background-color: #222222 !important;
    color: #FFFF00 !important;            /* Yellow text on buttons */
    cursor: pointer;
}

Revision as of 06:42, 20 February 2026

/* TIMELESS TOTAL BLACKOUT - FOR ACCESSTECHCENTRAL.COM */

/* 1. The Global Foundation - Forces all background layers to black */
html, body, .mw-content-text #mw-content-text #mw-content, #mw-content-container, #mw-header-container, #mw-footer-container, .mw-body {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* 2. Sidebars and Nav Boxes - Fixes those stubborn white blocks */
#mw-site-navigation, #mw-related-navigation, .sidebar-chunk, .mw-portlet, .portlet {
    background-color: #000000 !important;
    border: 1px solid #333333 !important;
}

/* 3. The Central Content Box - High contrast for easier reading */
#content {
    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 */
a { color: #00FFFF !important; font-weight: bold !important; }
a:visited { color: #FF00FF !important; }
.mw-body h1, .mw-body h2 { color: #FFFF00 !important; border-bottom: 2px solid #FFFF00 !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 */
input, textarea, select, .mw-ui-input {
    background-color: #121212 !important; /* Dark background for the box */
    color: #ffffff !important;            /* White text for typing */
    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;
}

/* Fix for buttons specifically */
button, .mw-ui-button {
    background-color: #222222 !important;
    color: #FFFF00 !important;            /* Yellow text on buttons */
    cursor: pointer;
}