MediaWiki:Vector-2022.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
position: relative; | position: relative; | ||
z-index: 1; | z-index: 1; | ||
padding-top: | padding-top: 0px; /* match banner height */ | ||
background: white; | background: white; | ||
} | } |
Revision as of 22:01, 6 August 2025
/* Add a banner image without creating layout shift */ body.skin-vector-2022::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 55px; background: url("/images/c/cb/Openwfm.png") no-repeat center center; background-size: cover; z-index: 0; /* below header */ pointer-events: none; } /* Push page content below the banner */ body.skin-vector-2022 .mw-page-container { position: relative; z-index: 1; padding-top: 0px; /* match banner height */ background: white; } /* Keep top nav above the image */ body.skin-vector-2022 .vector-header { position: relative; z-index: 2; background: transparent; }