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 */ | |||
html, body, #mw-content-container, #mw-header-container, #mw-footer-container { | |||
/* 1. Global | |||
html, body, #mw-content-container { | |||
background-color: #000000 !important; | background-color: #000000 !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
/* 2. | /* 2. Target the Left and Right Sidebar Containers specifically */ | ||
#mw-site-navigation, #mw-related-navigation { | #mw-site-navigation, #mw-related-navigation { | ||
background-color: # | background-color: #000000 !important; | ||
} | } | ||
/* 3. The | /* 3. Target the Navigation 'Chunks' (The white boxes in your screenshot) */ | ||
.sidebar-chunk, .mw-portlet { | |||
background-color: #121212 !important; | background-color: #121212 !important; /* Slightly lighter so you can see them */ | ||
border: 1px solid #333333 !important; | |||
color: #ffffff !important; | color: #ffffff !important; | ||
} | } | ||
/* 4. | /* 4. Fix the Main Content Area and Header */ | ||
#mw-header | #content, .mw-header { | ||
background-color: # | background-color: #121212 !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
border: 1px solid #333333 !important; | |||
} | } | ||
. | /* 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. | /* 6. Hide the "Set $wgLogos" error image */ | ||
.mw-wiki-logo { display: none !important; } | |||
} | |||
Revision as of 06:33, 20 February 2026
/* 1. Global Page Reset - Forces the very bottom and back of the grid to black */
html, body, #mw-content-container, #mw-header-container, #mw-footer-container {
background-color: #000000 !important;
color: #ffffff !important;
}
/* 2. Target the Left and Right Sidebar Containers specifically */
#mw-site-navigation, #mw-related-navigation {
background-color: #000000 !important;
}
/* 3. Target the Navigation 'Chunks' (The white boxes in your screenshot) */
.sidebar-chunk, .mw-portlet {
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 */
#content, .mw-header {
background-color: #121212 !important;
color: #ffffff !important;
border: 1px solid #333333 !important;
}
/* 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; }