MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* ─── | /* ─── Flat Black Colour Override (no layout shifts) ─── */ | ||
/* 1 | /* 1) Page & containers */ | ||
html, body, | |||
.mw-body, .mw-page-container, | |||
#content, #bodyContent { | |||
html, body, .mw-body, .mw-page-container, #content, #bodyContent { | |||
background-color: #000000 !important; | background-color: #000000 !important; | ||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
/* | /* 2) Sidebar & portlets */ | ||
#mw-panel, #p-navigation, #p-tb, .portal { | #mw-panel, #p-navigation, #p-tb, .portal { | ||
background-color: #000000 !important; | background-color: #000000 !important; | ||
} | } | ||
/* | /* 3) Top action tabs (Read/Edit/etc.) */ | ||
.vector-menu-tabs, | |||
#p-views { | |||
.vector-menu-tabs, | |||
background-color: #000000 !important; | background-color: #000000 !important; | ||
color: # | border-color: #000000 !important; | ||
} | } | ||
/* | /* 4) Search form */ | ||
#searchInput, #searchButton | #searchInput, #searchButton { | ||
background-color: #000000 !important; | background-color: #000000 !important; | ||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
border: | border-color: #000000 !important; | ||
} | } | ||
/* | /* 5) Tables, boxes, galleries, TOC */ | ||
.gallerybox, .thumb, .thumbinner, .infobox, .toc, | |||
.gallerybox | table.wikitable, /* if you use wikitables */ | ||
.toc, . | table, th, td { | ||
background-color: | background-color: transparent !important; | ||
border | border-color: transparent !important; | ||
color: #FFFFFF !important; | color: #FFFFFF !important; | ||
} | } | ||
/* | /* 6) Links in blue */ | ||
a, a:link, a:visited { | |||
color: #3399FF !important; | |||
} | |||
a:hover { | |||
color: #66CCFF !important; | |||
text-decoration: underline !important; | |||
} | } | ||
/* | /* 7) Footer */ | ||
#footer, #footer-info, #footer-icons { | #footer, #footer-info, #footer-icons { | ||
background-color: #000000 !important; | background-color: #000000 !important; | ||
border-color: #000000 !important; | |||
color: #888888 !important; | color: #888888 !important; | ||
} | } | ||
#footer a { | #footer a { | ||
| Line 102: | Line 59: | ||
} | } | ||
/* | /* 8) Hide logos & powered-by */ | ||
#p-logo, .mw-wiki-logo, | #p-logo, .mw-wiki-logo, | ||
.mw-footer-logo, .printfooter, | .mw-footer-logo, .printfooter, | ||
.ccicons, .license, #footer-icons, .noprint { | .ccicons, .license, | ||
#footer-icons, .noprint { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 05:13, 2 July 2025
/* ─── Flat Black Colour Override (no layout shifts) ─── */
/* 1) Page & containers */
html, body,
.mw-body, .mw-page-container,
#content, #bodyContent {
background-color: #000000 !important;
color: #FFFFFF !important;
}
/* 2) Sidebar & portlets */
#mw-panel, #p-navigation, #p-tb, .portal {
background-color: #000000 !important;
}
/* 3) Top action tabs (Read/Edit/etc.) */
.vector-menu-tabs,
#p-views {
background-color: #000000 !important;
border-color: #000000 !important;
}
/* 4) Search form */
#searchInput, #searchButton {
background-color: #000000 !important;
color: #FFFFFF !important;
border-color: #000000 !important;
}
/* 5) Tables, boxes, galleries, TOC */
.gallerybox, .thumb, .thumbinner, .infobox, .toc,
table.wikitable, /* if you use wikitables */
table, th, td {
background-color: transparent !important;
border-color: transparent !important;
color: #FFFFFF !important;
}
/* 6) Links in blue */
a, a:link, a:visited {
color: #3399FF !important;
}
a:hover {
color: #66CCFF !important;
text-decoration: underline !important;
}
/* 7) Footer */
#footer, #footer-info, #footer-icons {
background-color: #000000 !important;
border-color: #000000 !important;
color: #888888 !important;
}
#footer a {
color: #3399FF !important;
}
#footer a:hover {
color: #66CCFF !important;
}
/* 8) Hide logos & powered-by */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
display: none !important;
}