Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Blanked the page) Tag: Blanking |
|||
| Line 1: | Line 1: | ||
| + | /* TOP-LEFT BANNER ONLY (minimal, safe) */ | ||
| + | #mw-head, /* legacy Vector */ | ||
| + | .vector-header-container,/* Vector 2022 */ | ||
| + | .mw-body-header { /* other skins that expose a header */ | ||
| + | background-image: url("/wiki/Special:FilePath/BannerImage.png"); | ||
| + | background-repeat: no-repeat; | ||
| + | background-position: left top; | ||
| + | background-size: 420px 140px; /* adjust width/height to your image */ | ||
| + | min-height: 140px; /* match the height above */ | ||
| + | } | ||
| + | /* If your skin paints a base behind the header, make it transparent */ | ||
| + | #mw-page-base, #mw-head-base { background: transparent !important; } | ||
Revision as of 09:27, 10 October 2025
/* TOP-LEFT BANNER ONLY (minimal, safe) */
#mw-head, /* legacy Vector */
.vector-header-container,/* Vector 2022 */
.mw-body-header { /* other skins that expose a header */
background-image: url("/wiki/Special:FilePath/BannerImage.png");
background-repeat: no-repeat;
background-position: left top;
background-size: 420px 140px; /* adjust width/height to your image */
min-height: 140px; /* match the height above */
}
/* If your skin paints a base behind the header, make it transparent */
#mw-page-base, #mw-head-base { background: transparent !important; }