MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 89: | Line 89: | ||
#footer-icons, .noprint { | #footer-icons, .noprint { | ||
display: none !important; | display: none !important; | ||
} | |||
/* === FLAT BLACK THEME FIXES === */ | |||
/* 1. Sidebar search box black */ | |||
#searchInput, | |||
#searchGoButton, | |||
#searchform input, | |||
#searchform button { | |||
background-color: #000 !important; | |||
color: #fff !important; | |||
border: 1px solid #000 !important; | |||
box-shadow: none !important; | |||
} | |||
/* 2. Infobox (right-hand image box) fully black */ | |||
.infobox, | |||
table.infobox, | |||
table.infobox td, | |||
table.infobox th { | |||
background-color: #000 !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
color: #fff !important; | |||
} | |||
/* 3. Remove white background from image display */ | |||
.thumbinner, | |||
.gallerybox, | |||
.thumbcaption, | |||
.mw-parser-output .metadata { | |||
background-color: #000 !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
/* 4. Remove the large white bottom bar (if present) */ | |||
.printfooter, | |||
#catlinks, | |||
.catlinks { | |||
background-color: #000 !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
color: #fff !important; | |||
} | |||
/* 5. General reset for footer and surrounding zones */ | |||
#footer, | |||
#footer-info, | |||
#footer-icons { | |||
background-color: #000 !important; | |||
color: #888 !important; | |||
border: none !important; | |||
} | } | ||
Revision as of 07:19, 2 July 2025
/* === BASE === */
body, html,
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body,
#mw-panel, #p-navigation, #p-tb,
#footer, #footer-info, #footer-icons {
background-color: #000 !important;
color: #fff !important;
font-family: Arial, sans-serif !important;
border: none !important;
box-shadow: none !important;
}
/* === HEADINGS (no lines) === */
h1, h2, h3, h4, h5, h6 {
color: #fff !important;
border: none !important;
background: none !important;
}
/* === LINKS === */
a, a:link, a:visited {
color: #3399ff !important;
text-decoration: none !important;
}
a:hover {
color: #66ccff !important;
text-decoration: underline !important;
}
/* === SEARCH BAR === */
#searchInput, #searchButton,
input, textarea, select, button {
background-color: #000 !important;
color: #fff !important;
border: 1px solid #000 !important;
}
/* === TOC & INFOBOX === */
.toc, .infobox, .mw-parser-output .infobox, .metadata {
background-color: #000 !important;
color: #fff !important;
border: none !important;
box-shadow: none !important;
}
/* === GALLERY IMAGES – remove background/frames === */
.thumb, .thumbinner, .gallerybox, .thumbcaption,
.mw-gallery-traditional .gallerybox {
background: none !important;
border: none !important;
box-shadow: none !important;
}
/* === REMOVE IMAGE BOX BORDERS (right) === */
table, th, td {
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
/* === SIDEBAR === */
#mw-panel, .portal {
background-color: #000 !important;
border: none !important;
}
#mw-panel .portal h3 {
color: #3399ff !important;
}
#mw-panel .portal ul li a {
color: #fff !important;
}
/* === FOOTER === */
#footer, #footer-info, #footer-icons {
background-color: #000 !important;
color: #999 !important;
}
#footer a {
color: #3399ff !important;
}
#footer a:hover {
color: #66ccff !important;
}
/* === HIDE LOGOS / ICONS === */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
display: none !important;
}
/* === FLAT BLACK THEME FIXES === */
/* 1. Sidebar search box black */
#searchInput,
#searchGoButton,
#searchform input,
#searchform button {
background-color: #000 !important;
color: #fff !important;
border: 1px solid #000 !important;
box-shadow: none !important;
}
/* 2. Infobox (right-hand image box) fully black */
.infobox,
table.infobox,
table.infobox td,
table.infobox th {
background-color: #000 !important;
border: none !important;
box-shadow: none !important;
color: #fff !important;
}
/* 3. Remove white background from image display */
.thumbinner,
.gallerybox,
.thumbcaption,
.mw-parser-output .metadata {
background-color: #000 !important;
border: none !important;
box-shadow: none !important;
}
/* 4. Remove the large white bottom bar (if present) */
.printfooter,
#catlinks,
.catlinks {
background-color: #000 !important;
border: none !important;
box-shadow: none !important;
color: #fff !important;
}
/* 5. General reset for footer and surrounding zones */
#footer,
#footer-info,
#footer-icons {
background-color: #000 !important;
color: #888 !important;
border: none !important;
}