MediaWiki:Vector-2022.css: Difference between revisions

From openwfm
(shows. wrong posituinog)
(97.5)
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* HEADER IMAGE */
/* Static contained banner above content */
body.skin-vector-2022 .mw-page-container {
body.skin-vector-2022 .mw-page-container::before {
  position: relative;
  padding-top: 120px;
}
 
body.skin-vector-2022::before {
   content: "";
   content: "";
   display: block;
   display: block;
  position: absolute;
  top: 0;
  left: 0;
   width: 100%;
   width: 100%;
   height: 110px;
   height: 97.5px; /* or adjust as needed */
   background: url("/images/c/cb/Openwfm.png") no-repeat center center;
   background: url("/images/c/cb/Openwfm.png") no-repeat center center;
   background-size: cover;
   background-size: contain;
   z-index: 1;
   background-color: #fff; /* optional, ensures clean base */
}
  margin-bottom: -2em;
 
   margin-top: -1em;
/* Make sure the header content is above the background image */
body.skin-vector-2022 .vector-header {
  position: relative;
   z-index: 2;
}
}

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;
}