MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 320: | Line 320: | ||
/* ============================================================ | /* ============================================================ | ||
HEADER — LARGE LOGO, TIGHT HEIGHT, BODY-ALIGNED | HEADER — LARGE LOGO, TIGHT HEIGHT, PERFECTLY BODY-ALIGNED | ||
============================================================ */ | ============================================================ */ | ||
| Line 329: | Line 329: | ||
} | } | ||
/* Disable logo link | /* Disable logo link */ | ||
.mw-logo a, | .mw-logo a, | ||
.mw-logo a * { | .mw-logo a * { | ||
| Line 336: | Line 336: | ||
} | } | ||
/* | /* Use Vector’s own layout width so header & body match exactly */ | ||
.vector-header { | .vector-header { | ||
background: #fff; | background: #fff; | ||
| Line 348: | Line 342: | ||
} | } | ||
.vector-header-container { | .vector-header-container { | ||
max-width: var(-- | max-width: var(--width-layout) !important; | ||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
width: 100% !important; | width: 100% !important; | ||
padding-left: var(-- | padding-left: var(--padding-inline-page-container, 16px) !important; | ||
padding-right: var(-- | padding-right: var(--padding-inline-page-container, 16px) !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
| Line 367: | Line 360: | ||
} | } | ||
/* Prevent Vector | /* Prevent Vector forcing tall minimums */ | ||
.mw-header, | .mw-header, | ||
.vector-header, | .vector-header, | ||
| Line 374: | Line 367: | ||
} | } | ||
/* Left cluster | /* Left cluster flush */ | ||
.vector-header-start { | .vector-header-start { | ||
margin-left: 0 !important; | margin-left: 0 !important; | ||
| Line 380: | Line 373: | ||
} | } | ||
/* Hamburger safety | /* Hamburger safety */ | ||
#mw-panel-button, | #mw-panel-button, | ||
.vector-main-menu-dropdown { | .vector-main-menu-dropdown { | ||
| Line 386: | Line 379: | ||
} | } | ||
/* Logo sizing | /* Logo sizing */ | ||
.mw-logo { | .mw-logo { | ||
display: flex; | display: flex; | ||