Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-position: left top; | background-position: left top; | ||
| − | + | background-size: contain; /* or use "cover" if you want it to fill the box */ | |
| − | min-height: | + | min-height: 200px; /* make space for the full banner */ |
| + | |||
} | } | ||
/* Remove base header strips some skins add */ | /* Remove base header strips some skins add */ | ||
#mw-page-base, #mw-head-base { background: transparent !important; } | #mw-page-base, #mw-head-base { background: transparent !important; } | ||
Revision as of 09:33, 10 October 2025
/* Top-left banner (final) */
#mw-head, /* Vector (legacy) */
.vector-header-container,/* Vector 2022 */
#p-logo, /* Monobook/Modern */
.ts-header { /* Timeless */
background-image: url("/Special:FilePath/BannerImage.png");
background-repeat: no-repeat;
background-position: left top;
background-size: contain; /* or use "cover" if you want it to fill the box */
min-height: 200px; /* make space for the full banner */
}
/* Remove base header strips some skins add */
#mw-page-base, #mw-head-base { background: transparent !important; }