MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 320: | Line 320: | ||
/* ============================================================ | /* ============================================================ | ||
HEADER — LARGE LOGO, TIGHT HEIGHT, BODY-ALIGNED | HEADER — LARGE LOGO, TIGHT HEIGHT, PERFECTLY BODY-ALIGNED | ||
============================================================ */ | ============================================================ */ | ||
/* Hide default Vector wordmark/tagline */ | |||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-logo-tagline { | .mw-logo-tagline { | ||
| Line 328: | Line 329: | ||
} | } | ||
/* Disable logo link */ | |||
.mw-logo a, | .mw-logo a, | ||
.mw-logo a * { | .mw-logo a * { | ||
| Line 334: | Line 336: | ||
} | } | ||
/* Use Vector’s own layout width so header & body match exactly */ | |||
.vector-header { | .vector-header { | ||
background: #fff; | background: #fff; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
| Line 346: | Line 347: | ||
margin-right: auto !important; | margin-right: auto !important; | ||
width: 100% !important; | width: 100% !important; | ||
padding-left: var(--padding-inline-page-container, 16px) !important; | |||
padding-right: var(--padding-inline-page-container, 16px) !important; | |||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
} | } | ||
/* Header height control */ | |||
.mw-header { | .mw-header { | ||
height: 90px; | height: 90px; | ||
| Line 356: | Line 360: | ||
} | } | ||
/* Prevent Vector forcing tall minimums */ | |||
.mw-header, | .mw-header, | ||
.vector-header, | .vector-header, | ||
| Line 362: | Line 367: | ||
} | } | ||
/* Left cluster flush */ | |||
.vector-header-start { | |||
margin-left: 0 !important; | |||
padding-left: 0 !important; | |||
} | |||
/* Hamburger safety */ | |||
#mw-panel-button, | |||
.vector-main-menu-dropdown { | |||
margin-left: 0 !important; | |||
} | |||
/* Logo sizing */ | |||
.mw-logo { | .mw-logo { | ||
display: flex; | display: flex; | ||
| Line 368: | Line 386: | ||
} | } | ||
.mw-logo img { | .mw-logo img, | ||
#p-logo img { | |||
height: 135px !important; | height: 135px !important; | ||
width: auto; | width: auto; | ||
| Line 374: | Line 393: | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||