MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ─── Flat Black – Final Touches ───────────────────── */
/* 1. Remove or black out all separators and borders */
hr,
h1, h2, h3, h4, h5, h6 {
border: none !important;
}
table, th, td {
border-color: transparent !important;
}
.gallerybox, .thumb, .thumbinner, .infobox, .toc, .mw-parser-output .infobox, .navbox {
border: none !important;
box-shadow: none !important;
}
/* 2. Unified black backgrounds everywhere */
html, body,
.mw-body, .mw-page-container,
#content, #bodyContent,
#mw-panel, #p-navigation, #p-tb, .portal,
.vector-menu-tabs, #p-views,
#footer, #footer-info, #footer-icons {
background-color: #000000 !important;
}
/* 3. Text colors remain white; headings no borders */
body, .mw-body, .mw-page-container, #content, #bodyContent {
color: #FFFFFF !important;
}
h1, h2, h3, h4, h5, h6 {
color: #FFFFFF !important;
background: none !important;
}
/* 4. Links in blue */
a, a:link, a:visited {
color: #3399FF !important;
text-decoration: none !important;
}
a:hover {
color: #66CCFF !important;
text-decoration: underline !important;
}
/* 5. Search bar fully black */
#searchInput,
#searchButton {
background-color: #000000 !important;
color: #FFFFFF !important;
border-color: #000000 !important;
}
/* 6. Hide logos & powered-by icons */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license, #footer-icons, .noprint {
display: none !important;
}
/* ─── Remove the big white TOC frame ─────────────────────────── */
#toc, .toc {
background-color: #000 !important;
border: none !important;
box-shadow: none !important;
}
/* Make the TOC title and links white/blue */
#toc .toctitle, #toc .toctitle a {
color: #fff !important;
}
#toc ul li a {
color: #3399ff !important;
}
#toc ul li a:hover {
color: #66ccff !important;
}
/* ─── Black-out any remaining content wrappers ───────────────── */
#content, #bodyContent, .mw-page-container, .vector-body {
background-color: #000 !important;
border: none !important;
box-shadow: none !important;
}
/* ─── Infobox (right-hand “Open Studio”) fully black ─────────── */
table.infobox, .infobox {
background-color: #000 !important;
border: none !important;
box-shadow: none !important;
color: #fff !important; /* ensure text stays white */
}
table.infobox th, table.infobox td {
border: none !important;
}
/* ─── Any other tiny white boxes (gallery captions, metadata) ─── */
.thumbinner, .gallerybox, .thumbcaption, .mw-parser-output .metadata {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* ─── ULTIMATE FLAT BLACK OVERRIDE ─────────────────────────── */
/* 1) Global containers */
html, body,
.mw-body, .mw-page-container,
#content, #bodyContent,
.vector-body {
background-color: #000 !important;
}
/* 2) Sidebar & portlets */
#mw-panel, #p-navigation, #p-tb, .portal,
.mw-portlet {
background-color: #000 !important;
}
/* 3) Top tabs & action tabs */
.vector-menu-tabs, #p-views {
background-color: #000 !important;
border-color: #000 !important;
}
/* 4) Contents / TOC box */
#toc, .toc {
background-color: #000 !important;
border: none !important;
}
#toc .toctitle {
background: none !important;
}
/* 5) Infobox and right‐hand table */
table.infobox, .infobox {
background-color: #000 !important;
}
table.infobox th,
table.infobox caption {
background-color: #000 !important;
}
/* 6) Gallery, thumbnails, metadata boxes */
.gallerybox, .thumb, .thumbinner, .thumbcaption,
.mw-parser-output .metadata,
.navbox, .wikitable {
background: transparent !important;
border: none !important;
}
/* 7) Table cells (generic) */
table, th, td {
background: transparent !important;
border-color: transparent !important;
}
/* 8) Search form & inputs */
#p-search, #searchform, #searchInput, #searchButton,
input, textarea, select, button {
background-color: #000 !important;
border-color: #000 !important;
}
/* 9) Footer area */
#footer, #footer-info, #footer-icons {
background-color: #000 !important;
border-color: #000 !important;
}
/* 10) Hide all logos & icons */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license, #footer-icons, .noprint {
display: none !important;
}