MediaWiki:Vector-2022.css: Difference between revisions
(add banner image) |
(local link) |
||
Line 11: | Line 11: | ||
width: 100%; | width: 100%; | ||
height: 110px; /* visible banner height */ | height: 110px; /* visible banner height */ | ||
background: url("/ | background: url("/images/c/cb/Openwfm.png") | ||
no-repeat left center; | no-repeat left center; | ||
background-size: cover; /* stretch to full width */ | background-size: cover; /* stretch to full width */ |
Revision as of 21:10, 6 August 2025
/* ----------------------------------------------------------- OpenWFM – full-width header banner for Vector-2022 ----------------------------------------------------------- */ /* 1. Draw the banner */ body.skin-vector-2022::before { content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 110px; /* visible banner height */ background: url("/images/c/cb/Openwfm.png") no-repeat left center; background-size: cover; /* stretch to full width */ z-index: 1000; /* keep above page chrome */ box-shadow: 0 1px 3px rgba(0,0,0,.25); /* subtle bottom shadow */ } /* 2. Push page content down so it isn’t hidden */ body.skin-vector-2022 .mw-page-container { padding-top: 118px; /* banner height + 8 px gap */ } /* 3. Hide the built-in word-mark link (“openwfm”) */ body.skin-vector-2022 .vector-header-logo-text { display: none; }