MediaWiki:Vector-2022.css

From openwfm
Revision as of 21:02, 6 August 2025 by Jmandel (talk | contribs) (add banner image)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* -----------------------------------------------------------
   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("/wiki/Special:FilePath/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;
}