Difference between revisions of "MediaWiki:Common.css"

From Holdfast: Nations At War
Jump to navigation Jump to search
Line 1: Line 1:
/* === Holdfast top-left banner (final, safe) === */
+
/* Top-left banner (final) */
 
+
#mw-head,               /* Vector (legacy) */
/* Works for both Vector and Vector-2022 */
+
.vector-header-container,/* Vector 2022 */
#mw-head,
+
#p-logo,                 /* Monobook/Modern */
.vector-header-container {
+
.ts-header {             /* Timeless */
   background-image: url("https://wiki.holdfastgame.com/wiki/Special:FilePath/BannerImage.png");
+
   background-image: url("/Special:FilePath/BannerImage.png");
 
   background-repeat: no-repeat;
 
   background-repeat: no-repeat;
 
   background-position: left top;
 
   background-position: left top;
   background-size: 420px 140px; /* Adjust width/height to your image */
+
   background-size: 420px 140px; /* adjust to your image */
   min-height: 140px;           /* Match the image height */
+
   min-height: 140px;
 
}
 
}
  
/* Remove background strips some skins add */
+
/* Remove base header strips some skins add */
#mw-page-base,
+
#mw-page-base, #mw-head-base { background: transparent !important; }
#mw-head-base {
 
  background: transparent !important;
 
}
 

Revision as of 09:32, 10 October 2025

/* Top-left banner (final) */
#mw-head,                /* Vector (legacy) */
.vector-header-container,/* Vector 2022 */
#p-logo,                 /* Monobook/Modern */
.ts-header {             /* Timeless */
  background-image: url("/Special:FilePath/BannerImage.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 420px 140px;  /* adjust to your image */
  min-height: 140px;
}

/* Remove base header strips some skins add */
#mw-page-base, #mw-head-base { background: transparent !important; }