MediaWiki:Timeless.css: Difference between revisions

From Access Tech Central
No edit summary
No edit summary
Line 1: Line 1:
/* 1. Global Page Reset - Forces the very bottom and back of the grid to black */
/* 1. Global Reset - Fixes the big white background behind everything */
html, body, #mw-content-container, #mw-header-container, #mw-footer-container {
html, body, .mw-body, #mw-content-container, #mw-site-navigation, #mw-related-navigation {
     background-color: #000000 !important;
     background-color: #000000 !important;
     color: #ffffff !important;
     color: #ffffff !important;
}
}


/* 2. Target the Left and Right Sidebar Containers specifically */
/* 2. Fixes the Header (Top) and Footer (Bottom) */
#mw-site-navigation, #mw-related-navigation {
#mw-header-container, #mw-footer-container {
     background-color: #000000 !important;
     background-color: #000000 !important;
    border-bottom: 2px solid #FFFF00 !important; /* Yellow high-contrast line */
}
}


/* 3. Target the Navigation 'Chunks' (The white boxes in your screenshot) */
/* 3. The Main Content Box - Fixes the white square around your text */
.sidebar-chunk, .mw-portlet {
#content {
     background-color: #121212 !important; /* Slightly lighter so you can see them */
     background-color: #121212 !important; /* Slightly lighter so text pops */
    color: #ffffff !important;
     border: 1px solid #333333 !important;
     border: 1px solid #333333 !important;
     color: #ffffff !important;
     max-width: 1400px !important; /* Increases width as requested */
    line-height: 1.8 !important;  /* Best for screen readers */
}
}


/* 4. Fix the Main Content Area and Header */
/* 4. Navigation Boxes - Fixes the white boxes in the sidebar */
#content, .mw-header {
.sidebar-chunk, .mw-portlet {
     background-color: #121212 !important;
     background-color: #121212 !important;
    border: 1px solid #444 !important;
     color: #ffffff !important;
     color: #ffffff !important;
    border: 1px solid #333333 !important;
}
}


/* 5. Force High-Contrast Colors for Text and Links */
/* 5. High-Contrast Link Colors */
a { color: #00FFFF !important; }      /* Cyan links */
a { color: #00FFFF !important; }      /* Cyan links */
a:visited { color: #FF00FF !important; } /* Magenta 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 */
/* 6. Hide the "Set $wgLogos" error box */
.mw-wiki-logo { display: none !important; }
.mw-wiki-logo { display: none !important; }

Revision as of 06:34, 20 February 2026

/* 1. Global Reset - Fixes the big white background behind everything */
html, body, .mw-body, #mw-content-container, #mw-site-navigation, #mw-related-navigation {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* 2. Fixes the Header (Top) and Footer (Bottom) */
#mw-header-container, #mw-footer-container {
    background-color: #000000 !important;
    border-bottom: 2px solid #FFFF00 !important; /* Yellow high-contrast line */
}

/* 3. The Main Content Box - Fixes the white square around your text */
#content {
    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 */
.sidebar-chunk, .mw-portlet {
    background-color: #121212 !important;
    border: 1px solid #444 !important;
    color: #ffffff !important;
}

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