MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 377: Line 377:
     height: 135px !important;
     height: 135px !important;
     width: auto;
     width: auto;
}
/* ============================================================
  Align hamburger/header-start with 1200px body container
  ============================================================ */
:root {
  --bc-page-max: 1200px; /* matches .bc-wrap max-width */
  --bc-page-gutter: var(--padding-inline-page-container, 16px);
}
/* Push the left-side header group (hamburger + logo) to match body edge */
.vector-header-start {
  padding-left: clamp(
    var(--bc-page-gutter),
    calc((100vw - var(--bc-page-max)) / 2 + var(--bc-page-gutter)),
    320px
  ) !important;
}
/* Safety: some Vector variants place the menu button separately */
#mw-panel-button,
.vector-main-menu-dropdown {
  margin-left: 0 !important;
}
}