MediaWiki:Vector-2022.css: Difference between revisions

From openwfm
(shows. wrong posituinog)
(positioning)
Line 1: Line 1:
/* HEADER IMAGE */
/* HEADER IMAGE BACKGROUND */
body.skin-vector-2022 .mw-page-container {
body.skin-vector-2022 .mw-page-container {
   position: relative;
   position: relative;
   padding-top: 120px;
   padding-top: 110px; /* Reserve space for banner image */
}
}


Line 16: Line 16:
   background-size: cover;
   background-size: cover;
   z-index: 1;
   z-index: 1;
  pointer-events: none; /* Prevent blocking interaction */
}
}


/* Make sure the header content is above the background image */
/* ENSURE SITE HEADER CONTENT STAYS ABOVE */
body.skin-vector-2022 .vector-header {
body.skin-vector-2022 .vector-header {
   position: relative;
   position: relative;
   z-index: 2;
   z-index: 2;
  background: transparent;
  padding: 0;
  margin: 0;
}
}

Revision as of 21:38, 6 August 2025

/* HEADER IMAGE BACKGROUND */
body.skin-vector-2022 .mw-page-container {
  position: relative;
  padding-top: 110px; /* Reserve space for banner image */
}

body.skin-vector-2022::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: url("/images/c/cb/Openwfm.png") no-repeat center center;
  background-size: cover;
  z-index: 1;
  pointer-events: none; /* Prevent blocking interaction */
}

/* ENSURE SITE HEADER CONTENT STAYS ABOVE */
body.skin-vector-2022 .vector-header {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 0;
  margin: 0;
}