MediaWiki:Vector-2022.css: Difference between revisions

From openwfm
(local link)
(97.5)
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* -----------------------------------------------------------
/* Static contained banner above content */
  OpenWFM – full-width header banner for Vector-2022
body.skin-vector-2022 .mw-page-container::before {
  ----------------------------------------------------------- */
  content: "";
 
  display: block;
/* 1.  Draw the banner */
  width: 100%;
body.skin-vector-2022::before {
  height: 97.5px; /* or adjust as needed */
    content: "";
  background: url("/images/c/cb/Openwfm.png") no-repeat center center;
    position: fixed;
  background-size: contain;
    top: 0;
   background-color: #fff; /* optional, ensures clean base */
    left: 0;
  margin-bottom: -2em;
    width: 100%;
  margin-top: -1em;
    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;
}
}

Latest revision as of 17:59, 7 August 2025

/* Static contained banner above content */
body.skin-vector-2022 .mw-page-container::before {
  content: "";
  display: block;
  width: 100%;
  height: 97.5px; /* or adjust as needed */
  background: url("/images/c/cb/Openwfm.png") no-repeat center center;
  background-size: contain;
  background-color: #fff; /* optional, ensures clean base */
  margin-bottom: -2em;
  margin-top: -1em;
}