MediaWiki:Vector.css: Difference between revisions

From AviationSafetyX Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 7: Line 7:
}
}


/* LisaFire Banner Fix – Final Clean Version */
#mw-head-base::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -5px; /* Offsets 70px from the left */
  width: calc(100% - 70px); /* Prevents overflow on the right */
  height: 70px;
  background: url("https://wiki.alsresume.com/images/8/8d/ASX-Header-Banner_trans2.png") no-repeat left center;
  background-size: contain;
  opacity: 1.00;
  z-index: 0;
}


#mw-head-base {
#mw-head-base {
  background: url("https://wiki.alsresume.com/images/0/0c/ASX-Header-Banner.png") no-repeat left center !important;
  background-size: contain !important;
  height: auto !important;
  min-height: 100px !important;
  padding-top: 30px !important;
   position: relative !important;
   position: relative !important;
   z-index: 0 !important;
  height: 110px !important;
  background: none !important;
   z-index: 1;
}
}


/* Ensure the header (tabs + tools) sits above the banner */
#p-personal, #left-navigation, #right-navigation {
#mw-head {
   position: relative;
   position: relative !important;
   z-index: 2;
   z-index: 10 !important;
  background: transparent !important;
}
}


/* Optional: bump tabs downward to clear banner */
.vector-menu-tabs {
.vector-menu-tabs {
   margin-top: 20px !important;
   margin-top: 8px !important;
}
 
/* Align content cleanly beneath the full stack */
#content {
  margin-top: 0px !important;
}
}

Latest revision as of 20:27, 27 April 2025

/* All CSS here will be loaded for users of the Vector skin */
/* Suppress red links for Vector skin */
a.new, a.new:visited {
    color: inherit !important;
    pointer-events: none !important;
    text-decoration: none !important;
}

#mw-head-base::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -5px; /* Offsets 70px from the left */
  width: calc(100% - 70px); /* Prevents overflow on the right */
  height: 70px;
  background: url("https://wiki.alsresume.com/images/8/8d/ASX-Header-Banner_trans2.png") no-repeat left center;
  background-size: contain;
  opacity: 1.00;
  z-index: 0;
}

#mw-head-base {
  position: relative !important;
  height: 110px !important;
  background: none !important;
  z-index: 1;
}

#p-personal, #left-navigation, #right-navigation {
  position: relative;
  z-index: 2;
}

.vector-menu-tabs {
  margin-top: 8px !important;
}