MediaWiki:Vector-2022.css: Difference between revisions

From openwfm
(fix llink)
(minimial css)
Line 1: Line 1:
/* -----------------------------------------------------------
body.skin-vector-2022 #mw-page-base::before {
  OpenWFM – full-width header banner for Vector-2022
  content: "";
  ----------------------------------------------------------- */
  display: block;
 
  height: 110px;
/* 1.  Draw the banner */
   background: url("/images/c/cb/Openwfm.png") no-repeat center;
body.skin-vector-2022::before {
  background-size: cover;
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;                               /* visible banner height   */
    background: url("https://wiki.openwfm.org/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 {
body.skin-vector-2022 .mw-page-container {
    padding-top: 118px;                          /* banner height + 8 px gap */
  margin-top: 110px;
}
 
/* 3.  Hide the built-in word-mark link (“openwfm”) */
body.skin-vector-2022 .vector-header-logo-text {
    display: none;
}
}

Revision as of 21:25, 6 August 2025

body.skin-vector-2022 #mw-page-base::before {
  content: "";
  display: block;
  height: 110px;
  background: url("/images/c/cb/Openwfm.png") no-repeat center;
  background-size: cover;
}

body.skin-vector-2022 .mw-page-container {
  margin-top: 110px;
}