Difference between revisions of "MediaWiki:Common.css"

From Holdfast: Nations At War
Jump to navigation Jump to search
 
(77 intermediate revisions by the same user not shown)
Line 1: Line 1:
/***** Holdfast Wiki – Modern Base Theme ****************************************
+
/*************************************************
  Safe, incremental overrides for Vector/Vector-2022. Keep selectors scoped.
+
* Holdfast Wiki – Global Theme (compact, fixed)
*******************************************************************************/
+
* Banner (top-left) + Dark Left Column + Parchment
 +
*************************************************/
  
/* ==== Holdfast Left Gradient + Banner (Vector-2022 Safe) ==== */
+
/* ===== Variables ===== */
 
+
:root{
/* Full background split: left dark gradient column, right parchment */
+
  --hf-banner-w: 1250px;        /* banner width */
body.skin-vector-2022 {
+
  --hf-banner-h: 300px;        /* banner height */
   background: linear-gradient(to bottom, #2F2D2B 0%, #1E1E1D 100%) left top no-repeat,
+
   --hf-sidebar-w: 200px;       /* actual sidebar width + content offset */
              #E1DCCE;
+
   --hf-parchment: #E1DCCE;     /* base page background */
   background-size: 420px 100%, auto;
+
   --hf-left-top: #2F2D2B;       /* dark column gradient top */
   background-attachment: fixed;
+
   --hf-left-bot: #1E1E1D;       /* dark column gradient bottom */
   background-repeat: no-repeat;
 
 
}
 
}
  
/* Sidebar panel fully transparent so the body gradient shows through */
+
/* ===== Page background only (no element sizing) =====
.skin-vector-2022 #mw-panel {
+
  Order: 1) banner patch, 2) dark column from top to bottom, 3) parchment fill */
  background: transparent !important;
+
/* ===== Page Background (banner + top dark strip + left column + parchment) ===== */
  color: #EEEDEB !important;
+
/* ===== Page Background (banner + extended dark top + dark column + parchment) ===== */
  border-right: none !important;
+
html, body {
}
+
  margin: 0 !important;
.skin-vector-2022 #mw-panel a { color: #EEEDEB !important; }
 
.skin-vector-2022 #mw-panel a:hover { color: #5A65EA !important; }
 
 
 
/* Put the Holdfast banner image top-left, fixed over the gradient */
 
.skin-vector-2022 .vector-header-container {
 
 
   background:
 
   background:
     url("/wiki/Special:FilePath/BannerImage.png") left top no-repeat,
+
    /* 1) Holdfast banner (top-left) */
    linear-gradient(to right, rgba(47,45,43,1) 0%, rgba(30,30,29,0.85) 90%);
+
     url("/Special:FilePath/BannerImage.png") left top no-repeat,
  background-size: auto 140px, 100% 140px;
 
  border-bottom: 2px solid #BFB69C;
 
  min-height: 140px;
 
}
 
 
 
/* Match the left vertical strip color for the header continuation */
 
.skin-vector-2022 .vector-main-menu {
 
  background: linear-gradient(to bottom, #2F2D2B 0%, #1E1E1D 100%) !important;
 
}
 
  
/* Footer strip in same dark tone */
+
    /* 2) Extended dark top gradient (covers full top band behind banner and header) */
.skin-vector-2022 #footer,
+
    linear-gradient(to right, var(--hf-left-top) 0%, var(--hf-left-bot) 100%) left top no-repeat,
.skin-vector-2022 .vector-footer {
 
  background: #1E1E1D;
 
  color: #EEEDEB;
 
  border-top: 2px solid #BFB69C;
 
}
 
  
 +
    /* 3) Vertical dark column for sidebar */
 +
    linear-gradient(to bottom, var(--hf-left-top) 0%, var(--hf-left-bot) 100%) left top repeat-y,
  
/* ---- Safety valve for admins (keep commented out) ----
+
    /* 4) Parchment base */
.skin-vector-2022 .vector-header-container {
+
    var(--hf-parchment);
  /* background-image: none !important; min-height: 0 !important; */
+
  background-size:
 +
    var(--hf-banner-w) var(--hf-banner-h),  /* banner image */
 +
    100% 400px,                              /* dark top bar — extend higher */
 +
    var(--hf-sidebar-w) 100%,                /* vertical sidebar column */
 +
    auto;                                  /* parchment fill */
 +
  background-position:
 +
    left top,
 +
    left top,
 +
    left top,
 +
    left top;
 +
  background-attachment: fixed, fixed, fixed, fixed;
 +
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
 +
  background-color: var(--hf-parchment);
 +
  z-index: 0;
 
}
 
}
*/
 
  
  
/* ===== 0) CSS Vars (easy theming) ===== */
 
:root {
 
  --hf-font-sans: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
 
  --hf-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
 
  
  --hf-fg: #16181d;
+
/* ===== Keep site chrome transparent so the page bg shows ===== */
  --hf-fg-muted: #5c6773;
+
#mw-page-base, #mw-head-base, #mw-head, .vector-header-container,
  --hf-bg: #ffffff;
+
#mw-panel, #column-one, .mw-sidebar { background: transparent !important; }
  --hf-bg-subtle: #f6f7f9;
 
  
  --hf-accent: #2563eb;        /* link blue */
+
/* ===== Content is opaque parchment so the dark column doesn't bleed ===== */
  --hf-accent-visited: #7c3aed;/* visited purple */
+
#content, .mw-body, .vector-body .mw-body,
  --hf-accent-hover: #1d4ed8;
+
.mw-workspace-container, .mw-content-container{
 
+
   background: var(--hf-parchment) !important;
  --hf-border: #e5e7eb;
+
   position: relative;
  --hf-border-strong: #d1d5db;
+
   z-index: 1;
 
 
  --hf-h2-bg: #3c553c;        /* your green header bar */
 
  --hf-h2-fg: #ffffff;
 
 
 
  --hf-code-bg: #0f172a;      /* dark code panel */
 
  --hf-code-fg: #e5e7eb;
 
 
 
  --hf-table-header-bg: #f3f4f6;
 
  --hf-table-row-alt: #fafafa;
 
 
 
   --hf-warning: #a16207;
 
  --hf-error:  #b91c1c;
 
   --hf-info:   #1d4ed8;
 
   --hf-success: #15803d;
 
 
}
 
}
  
/* ===== 1) Base Typography & Layout ===== */
+
/* ===== Layout: single source of truth for widths/offsets ===== */
body,
+
#mw-panel, .mw-sidebar, #column-one{ width: var(--hf-sidebar-w) !important; box-sizing: border-box; }
.vector-body {
+
#content, .mw-body, .vector-body, .mw-content-container{ margin-left: var(--hf-sidebar-w) !important; }
  color: var(--hf-fg);
 
  background: var(--hf-bg);
 
  font-family: var(--hf-font-sans);
 
  line-height: 1.55;
 
  -webkit-font-smoothing: antialiased;
 
  text-rendering: optimizeLegibility;
 
}
 
  
.mw-parser-output > p {
+
/* ===== Sidebar: flat, compact; let background show through ===== */
   margin: 0.6em 0 0.9em;
+
#mw-panel .vector-menu,
  font-size: 0.98rem;
+
#mw-panel .vector-main-menu,
 +
#mw-panel .vector-menu-content,
 +
#mw-panel .vector-menu-content-list,
 +
#column-one .portlet, #column-one .pBody{
 +
   background: transparent !important; border: 0 !important; padding: 0; margin: 0;
 
}
 
}
  
/* Tighten content width a touch on large screens */
+
#mw-panel, .mw-sidebar, #column-one{ color: #EEEDEB !important; padding: 10px 8px 24px; }
@media (min-width: 1200px) {
 
  .vector-body .mw-content-container {
 
    max-width: 980px;
 
  }
 
}
 
  
/* ===== 2) Headings ===== */
+
#mw-panel .portal .portal-title,
.mw-parser-output h1,
+
#mw-panel .vector-menu-heading,
.mw-parser-output h2,
+
#column-one h3, .mw-sidebar h2{
.mw-parser-output h3,
+
  background: #63635B !important; color: #EEEDEB !important;
.mw-parser-output h4 {
+
  padding: 5px 8px; margin: 12px 4px 4px; border: 0 !important;
   font-weight: 700;
+
   font: 700 10px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .2px;
  letter-spacing: .2px;
 
 
}
 
}
  
/* Section bar style for H2 */
+
#mw-panel .vector-menu-content-list, #column-one .pBody ul{ list-style: none; padding: 0; margin: 6px 0 0; }
.mw-parser-output h2 {
+
#mw-panel .vector-menu-content-list > li, #column-one .pBody ul li{ padding: 3px 6px; line-height: 1.35; }
  background: var(--hf-h2-bg);
 
  color: var(--hf-h2-fg);
 
  border: 1px solid var(--hf-border-strong);
 
  padding: 0.35em 0.6em;
 
  margin-top: 1.6em;
 
  margin-bottom: 0.4em;
 
  font-variant: small-caps;
 
}
 
 
 
/* Sub-head underline for H3 */
 
.mw-parser-output h3 {
 
  border-bottom: 1px solid var(--hf-border);
 
  padding-bottom: .2em;
 
  margin-top: 1.2em;
 
}
 
  
/* ===== 3) Links ===== */
+
#mw-panel a, #column-one a, .mw-sidebar a{
.mw-parser-output a,
+
   display: block; padding: 2px 4px;
a.mw-selflink {
+
   color: #EEEDEB !important; text-decoration: none;
   color: var(--hf-accent);
+
  font: 400 10px/1.35 "Helvetica Neue", Helvetica, Arial, sans-serif;
   text-decoration: none;
 
 
}
 
}
.mw-parser-output a:hover {
+
#mw-panel a:hover, #column-one a:hover, .mw-sidebar a:hover{
  color: var(--hf-accent-hover);
+
   background: rgba(255,255,255,0.08); color: #EEEDEB !important; text-decoration: none;
  text-decoration: underline;
 
}
 
.mw-parser-output a:visited {
 
   color: var(--hf-accent-visited);
 
 
}
 
}
  
/* ===== 4) TOC ===== */
+
/* Optional thin group divider */
.toc,
+
#mw-panel .portal, #column-one .portlet{ margin-top: 10px; padding-top: 6px; border-top: 1px solid rgba(217,215,209,0.12); }
.mw-table-of-contents {
+
#mw-panel .portal:first-child, #column-one .portlet:first-child{ border-top: 0; margin-top: 0; padding-top: 0; }
  background: var(--hf-bg-subtle);
 
  border: 1px solid var(--hf-border);
 
  border-radius: 8px;
 
  padding: 0.6em 0.8em;
 
}
 
.tocnumber { color: var(--hf-fg-muted); }
 
  
/* ===== 5) Collapsible [show]/[hide] – make it link-blue ===== */
+
/* Discord button (flat) */
.mw-collapsible-toggle,
+
#mw-panel a.external[href*="discord"]{
.mw-collapsible-toggle .mw-collapsible-text {
+
   background: #5A65EA; color: #fff !important;
   color: var(--hf-accent);
+
   display: inline-block; padding: 8px 10px; margin: 6px 0 10px;
   cursor: pointer;
+
  border-radius: 4px; border: 1px solid rgba(0,0,0,0.15);
}
+
   font: 700 11px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
.mw-collapsible-toggle:hover .mw-collapsible-text {
 
   text-decoration: underline;
 
 
}
 
}
 +
#mw-panel a.external[href*="discord"]:hover{ background: #545DD9; }
  
/* If you’re using mw-collapsible mw-collapsed on sections */
+
/* ===== Branding: Holdfast compass logo ===== */
.mw-collapsible .mw-collapsible-content {
+
#p-logo a, .mw-wiki-logo{
   padding-top: .4em;
+
   background: url("/Special:FilePath/Holdfast_Logo_White_Gold_Compass.png") center/contain no-repeat !important;
 +
  width: 150px !important; height: 150px !important; display: block;
 
}
 
}
 +
#p-logo-text, .mw-wiki-logo-text{ display: none !important; }
  
/* ===== 6) Tables ===== */
+
/* ===== Typography: Helvetica Neue (14px main / 10px sidebar) ===== */
.wikitable,
+
html, body, .mw-body, .vector-body, .mw-content-text, #content,
table.wikitable.sortable {
+
.vector-header-container, .vector-menu, .vector-menu-content, .vector-menu-heading,
  width: 100%;
+
#p-logo-text, #firstHeading, .mw-parser-output, .mw-parser-output p,
  border: 1px solid var(--hf-border);
+
.mw-parser-output li, .mw-parser-output td, .mw-parser-output th{
  border-collapse: separate;
+
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  border-spacing: 0;
+
   font-size: 14px !important; line-height: 1.55;
  border-radius: 10px;
+
   -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow: hidden;
+
   font-weight: 400; letter-spacing: .2px; color: #16181D;
  background: #fff;
 
  font-size: 0.95rem;
 
}
 
.wikitable > tr > th,
 
.wikitable > * > tr > th {
 
  background: var(--hf-table-header-bg);
 
   font-weight: 700;
 
   border-bottom: 1px solid var(--hf-border-strong);
 
  padding: 0.55em 0.6em;
 
}
 
.wikitable > tr > td,
 
.wikitable > * > tr > td {
 
   border-top: 1px solid var(--hf-border);
 
   padding: 0.5em 0.6em;
 
}
 
.wikitable tr:nth-child(even) td {
 
  background: var(--hf-table-row-alt);
 
 
}
 
}
  
/* Sort arrows breathing room */
+
.mw-parser-output h1, .mw-parser-output h2, .mw-parser-output h3,
.wikitable.sortable th {
+
.mw-parser-output h4, .mw-parser-output h5{
   white-space: nowrap;
+
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
 +
  font-weight: 600 !important; letter-spacing: .3px;
 
}
 
}
  
/* ===== 7) Infobox / Navbox (generic) ===== */
+
/* Code blocks keep monospace */
.infobox,
+
code, pre, .mw-code{ font-family: "Courier New", Courier, monospace !important; }
.navbox,
 
.mw-infobox {
 
  border: 1px solid var(--hf-border);
 
  border-radius: 10px;
 
  background: #fff;
 
  padding: 0;
 
  overflow: hidden;
 
}
 
.infobox .infobox-header,
 
.navbox .navbox-title {
 
  background: var(--hf-table-header-bg);
 
  font-weight: 700;
 
  padding: 0.6em 0.75em;
 
  border-bottom: 1px solid var(--hf-border);
 
}
 
.infobox td,
 
.infobox th {
 
  padding: 0.5em 0.75em !important;
 
  border-top: 1px solid var(--hf-border);
 
}
 
  
/* ===== 8) Notices / Admonitions ===== */
+
/* ===== Align page tabs with content edge (Vector legacy + Vector-2022) ===== */
.hf-notice {
+
:root {
   border-left: 4px solid var(--hf-info);
+
   --hf-content-pad: 16px; /* left inner padding of the content column */
  background: #eef4ff;
 
  padding: 0.7em 0.9em;
 
  margin: 1em 0;
 
  border-radius: 6px;
 
 
}
 
}
.hf-notice.warn { border-left-color: var(--hf-warning); background: #fff7e6; }
 
.hf-notice.error{ border-left-color: var(--hf-error);  background: #ffefef; }
 
.hf-notice.ok  { border-left-color: var(--hf-success); background: #ecfdf3; }
 
 
/* Usage in wikitext:
 
<div class="hf-notice warn">Watch out…</div>
 
*/
 
  
/* ===== 9) Code Blocks – dark theme ===== */
+
/* Your content gets this padding; keep it explicit so we can reuse it */
pre, code, .mw-code,
+
#content, .mw-body, .mw-content-container {
pre .mw-code,
+
   padding-left: var(--hf-content-pad);
.syntaxhighlight, pre.mw-code {
 
   font-family: var(--hf-font-mono);
 
}
 
pre,
 
pre.mw-code,
 
.syntaxhighlight {
 
  background: var(--hf-code-bg) !important;
 
  color: var(--hf-code-fg) !important;
 
  border: 1px solid #0b1220 !important;
 
  border-radius: 10px;
 
  padding: 0.8em 1em !important;
 
  overflow: auto;
 
 
}
 
}
  
/* Inline code */
+
/* 1) Legacy Vector (tabs live in #left-navigation / #right-navigation) */
code {
+
#mw-head #left-navigation,
   background: #0b1220;
+
#mw-head #right-navigation {
   color: var(--hf-code-fg);
+
   position: relative;
   padding: 0.05em 0.35em;
+
   left: calc(var(--hf-sidebar-w) + var(--hf-content-pad)) !important;
  border-radius: 4px;
+
   margin-left: 0 !important; /* nuke any default margin */
 
}
 
}
  
/* ===== 10) Buttons / Links-as-buttons ===== */
+
/* Also zero margins on the tab lists themselves so they don't re-offset */
.hf-btn,
+
#mw-head #p-views,
a.hf-btn {
+
#mw-head .vectorTabs,
  display: inline-block;
+
#mw-head .vector-menu-tabs {
  background: var(--hf-accent);
+
   margin-left: 0 !important;
  color: #fff !important;
 
  padding: 0.45em 0.75em;
 
  border-radius: 8px;
 
  border: 1px solid transparent;
 
  text-decoration: none !important;
 
  font-weight: 600;
 
}
 
.hf-btn:hover { background: var(--hf-accent-hover); }
 
.hf-btn.ghost {
 
  background: transparent;
 
  color: var(--hf-accent) !important;
 
  border-color: var(--hf-accent);
 
}
 
 
 
/* ===== 11) Images / Thumbs ===== */
 
.thumb,
 
.mw-halign-left .thumb,
 
.mw-halign-right .thumb {
 
  border: 1px solid var(--hf-border);
 
  border-radius: 10px;
 
  overflow: hidden;
 
  background: #fff;
 
}
 
.thumb .thumbcaption {
 
  background: var(--hf-bg-subtle);
 
  border-top: 1px solid var(--hf-border);
 
  padding: 0.4em 0.6em;
 
}
 
 
 
/* ===== 12) Cleanup odds & ends ===== */
 
/* Make “External links” icons less loud */
 
.mw-parser-output .external { padding-right: 0.1em; }
 
 
 
/* Reduce overly large firstHeading margins without hiding the title */
 
.mw-page-title-main {
 
   margin-bottom: 0.2em;
 
 
}
 
}
  
/* Optional: soften category box */
+
/* 2) Vector-2022 (tabs / page tools bar) */
.catlinks {
+
.vector-header-container .vector-page-toolbar,
   background: var(--hf-bg-subtle);
+
.vector-header-container .vector-menu-tabs {
  border: 1px solid var(--hf-border);
+
   position: relative;
   border-radius: 8px;
+
  left: calc(var(--hf-sidebar-w) + var(--hf-content-pad)) !important;
   padding: .3em .6em;
+
   margin-left: 0 !important;
 +
   z-index: 5; /* stay above the banner image */
 
}
 
}

Latest revision as of 23:51, 10 October 2025

/*************************************************
 * Holdfast Wiki – Global Theme (compact, fixed)
 * Banner (top-left) + Dark Left Column + Parchment
 *************************************************/

/* ===== Variables ===== */
:root{
  --hf-banner-w: 1250px;        /* banner width */
  --hf-banner-h: 300px;         /* banner height */
  --hf-sidebar-w: 200px;        /* actual sidebar width + content offset */
  --hf-parchment: #E1DCCE;      /* base page background */
  --hf-left-top: #2F2D2B;       /* dark column gradient top */
  --hf-left-bot: #1E1E1D;       /* dark column gradient bottom */
}

/* ===== Page background only (no element sizing) =====
   Order: 1) banner patch, 2) dark column from top to bottom, 3) parchment fill */
/* ===== Page Background (banner + top dark strip + left column + parchment) ===== */
/* ===== Page Background (banner + extended dark top + dark column + parchment) ===== */
html, body {
  margin: 0 !important;
  background:
    /* 1) Holdfast banner (top-left) */
    url("/Special:FilePath/BannerImage.png") left top no-repeat,

    /* 2) Extended dark top gradient (covers full top band behind banner and header) */
    linear-gradient(to right, var(--hf-left-top) 0%, var(--hf-left-bot) 100%) left top no-repeat,

    /* 3) Vertical dark column for sidebar */
    linear-gradient(to bottom, var(--hf-left-top) 0%, var(--hf-left-bot) 100%) left top repeat-y,

    /* 4) Parchment base */
    var(--hf-parchment);
  background-size:
    var(--hf-banner-w) var(--hf-banner-h),   /* banner image */
    100% 400px,                              /* dark top bar — extend higher */
    var(--hf-sidebar-w) 100%,                /* vertical sidebar column */
    auto;                                   /* parchment fill */
  background-position:
    left top,
    left top,
    left top,
    left top;
  background-attachment: fixed, fixed, fixed, fixed;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-color: var(--hf-parchment);
  z-index: 0;
}



/* ===== Keep site chrome transparent so the page bg shows ===== */
#mw-page-base, #mw-head-base, #mw-head, .vector-header-container,
#mw-panel, #column-one, .mw-sidebar { background: transparent !important; }

/* ===== Content is opaque parchment so the dark column doesn't bleed ===== */
#content, .mw-body, .vector-body .mw-body,
.mw-workspace-container, .mw-content-container{
  background: var(--hf-parchment) !important;
  position: relative;
  z-index: 1;
}

/* ===== Layout: single source of truth for widths/offsets ===== */
#mw-panel, .mw-sidebar, #column-one{ width: var(--hf-sidebar-w) !important; box-sizing: border-box; }
#content, .mw-body, .vector-body, .mw-content-container{ margin-left: var(--hf-sidebar-w) !important; }

/* ===== Sidebar: flat, compact; let background show through ===== */
#mw-panel .vector-menu,
#mw-panel .vector-main-menu,
#mw-panel .vector-menu-content,
#mw-panel .vector-menu-content-list,
#column-one .portlet, #column-one .pBody{
  background: transparent !important; border: 0 !important; padding: 0; margin: 0;
}

#mw-panel, .mw-sidebar, #column-one{ color: #EEEDEB !important; padding: 10px 8px 24px; }

#mw-panel .portal .portal-title,
#mw-panel .vector-menu-heading,
#column-one h3, .mw-sidebar h2{
  background: #63635B !important; color: #EEEDEB !important;
  padding: 5px 8px; margin: 12px 4px 4px; border: 0 !important;
  font: 700 10px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: .2px;
}

#mw-panel .vector-menu-content-list, #column-one .pBody ul{ list-style: none; padding: 0; margin: 6px 0 0; }
#mw-panel .vector-menu-content-list > li, #column-one .pBody ul li{ padding: 3px 6px; line-height: 1.35; }

#mw-panel a, #column-one a, .mw-sidebar a{
  display: block; padding: 2px 4px;
  color: #EEEDEB !important; text-decoration: none;
  font: 400 10px/1.35 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#mw-panel a:hover, #column-one a:hover, .mw-sidebar a:hover{
  background: rgba(255,255,255,0.08); color: #EEEDEB !important; text-decoration: none;
}

/* Optional thin group divider */
#mw-panel .portal, #column-one .portlet{ margin-top: 10px; padding-top: 6px; border-top: 1px solid rgba(217,215,209,0.12); }
#mw-panel .portal:first-child, #column-one .portlet:first-child{ border-top: 0; margin-top: 0; padding-top: 0; }

/* Discord button (flat) */
#mw-panel a.external[href*="discord"]{
  background: #5A65EA; color: #fff !important;
  display: inline-block; padding: 8px 10px; margin: 6px 0 10px;
  border-radius: 4px; border: 1px solid rgba(0,0,0,0.15);
  font: 700 11px/1 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#mw-panel a.external[href*="discord"]:hover{ background: #545DD9; }

/* ===== Branding: Holdfast compass logo ===== */
#p-logo a, .mw-wiki-logo{
  background: url("/Special:FilePath/Holdfast_Logo_White_Gold_Compass.png") center/contain no-repeat !important;
  width: 150px !important; height: 150px !important; display: block;
}
#p-logo-text, .mw-wiki-logo-text{ display: none !important; }

/* ===== Typography: Helvetica Neue (14px main / 10px sidebar) ===== */
html, body, .mw-body, .vector-body, .mw-content-text, #content,
.vector-header-container, .vector-menu, .vector-menu-content, .vector-menu-heading,
#p-logo-text, #firstHeading, .mw-parser-output, .mw-parser-output p,
.mw-parser-output li, .mw-parser-output td, .mw-parser-output th{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-weight: 400; letter-spacing: .2px; color: #16181D;
}

.mw-parser-output h1, .mw-parser-output h2, .mw-parser-output h3,
.mw-parser-output h4, .mw-parser-output h5{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 600 !important; letter-spacing: .3px;
}

/* Code blocks keep monospace */
code, pre, .mw-code{ font-family: "Courier New", Courier, monospace !important; }

/* ===== Align page tabs with content edge (Vector legacy + Vector-2022) ===== */
:root {
  --hf-content-pad: 16px; /* left inner padding of the content column */
}

/* Your content gets this padding; keep it explicit so we can reuse it */
#content, .mw-body, .mw-content-container {
  padding-left: var(--hf-content-pad);
}

/* 1) Legacy Vector (tabs live in #left-navigation / #right-navigation) */
#mw-head #left-navigation,
#mw-head #right-navigation {
  position: relative;
  left: calc(var(--hf-sidebar-w) + var(--hf-content-pad)) !important;
  margin-left: 0 !important; /* nuke any default margin */
}

/* Also zero margins on the tab lists themselves so they don't re-offset */
#mw-head #p-views,
#mw-head .vectorTabs,
#mw-head .vector-menu-tabs {
  margin-left: 0 !important;
}

/* 2) Vector-2022 (tabs / page tools bar) */
.vector-header-container .vector-page-toolbar,
.vector-header-container .vector-menu-tabs {
  position: relative;
  left: calc(var(--hf-sidebar-w) + var(--hf-content-pad)) !important;
  margin-left: 0 !important;
  z-index: 5; /* stay above the banner image */
}