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: | ||
/* | /* ── Remove white frames, borders, and background from images, tables, galleries ── */ | ||
/* | /* General content wrapper */ | ||
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body { | |||
background | background: #000 !important; | ||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* | /* Image thumbs & galleries */ | ||
.thumbinner, .thumb, .gallerybox, .gallery, .thumbcaption { | |||
background: transparent !important; | |||
. | |||
. | |||
background | |||
border: none !important; | border: none !important; | ||
box-shadow: none !important; | |||
} | } | ||
/* | /* Right-aligned infobox or content box */ | ||
table | table.infobox, .infobox, .toc, .navbox, .metadata, .mw-parser-output table { | ||
. | |||
background: transparent !important; | background: transparent !important; | ||
border: | border: none !important; | ||
} | } | ||
/* Remove | /* Remove table borders globally */ | ||
table, th, td { | |||
border: none !important; | border: none !important; | ||
background: transparent !important; | |||
background: | |||
} | } | ||
/* | /* Force page background to full black */ | ||
html, body { | |||
background | background-color: #000 !important; | ||
} | } | ||
Revision as of 04:35, 2 July 2025
/* ── Remove white frames, borders, and background from images, tables, galleries ── */
/* General content wrapper */
#content, #bodyContent, .mw-body, .mw-page-container, .vector-body {
background: #000 !important;
border: none !important;
box-shadow: none !important;
}
/* Image thumbs & galleries */
.thumbinner, .thumb, .gallerybox, .gallery, .thumbcaption {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
/* Right-aligned infobox or content box */
table.infobox, .infobox, .toc, .navbox, .metadata, .mw-parser-output table {
background: transparent !important;
border: none !important;
}
/* Remove table borders globally */
table, th, td {
border: none !important;
background: transparent !important;
}
/* Force page background to full black */
html, body {
background-color: #000 !important;
}