MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/************************************************* | /************************************************* | ||
BorderConnect Main Page Portal Styles | BorderConnect Main Page Portal Styles | ||
*************************************************/ | *************************************************/ | ||
| Line 11: | Line 10: | ||
} | } | ||
.bc-wrap .bc-card, | .bc-wrap .bc-card, | ||
.bc-wrap .bc-cleanlist, | .bc-wrap .bc-cleanlist, | ||
| Line 184: | Line 182: | ||
/************************************************* | /************************************************* | ||
HEADER | HEADER — LARGE LOGO, TIGHT HEIGHT, BODY ALIGNED | ||
*************************************************/ | *************************************************/ | ||
| Line 200: | Line 198: | ||
} | } | ||
/* | /* Constrain ALL Vector header inner wrappers */ | ||
.mw-header- | .vector-header, | ||
max-width: var(--width-content); | .vector-header-container, | ||
margin-left: auto; | .mw-header-container, | ||
margin-right: auto; | .mw-header-inner, | ||
padding-left: 16px; | .mw-page-header__inner { | ||
padding-right: 16px; | max-width: var(--width-content) !important; | ||
box-sizing: border-box; | margin-left: auto !important; | ||
margin-right: auto !important; | |||
padding-left: 16px !important; | |||
padding-right: 16px !important; | |||
box-sizing: border-box !important; | |||
} | } | ||
/* Header | /* Header bar height */ | ||
.mw-header { | .mw-header { | ||
height: 90px; | height: 90px; | ||
padding: 0 !important; | padding: 0 !important; | ||
overflow: visible !important; | overflow: visible !important; | ||
box-sizing: border-box; | |||
} | } | ||
/* Remove | /* Remove min-height forcing */ | ||
.mw-header, | .mw-header, | ||
. | .vector-header, | ||
.vector-header-container { | |||
min-height: unset !important; | min-height: unset !important; | ||
} | } | ||
/* Center logo | /* Center logo vertically */ | ||
.mw- | .mw-logo, | ||
.mw-logo { | .vector-header .mw-logo { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
| Line 231: | Line 235: | ||
} | } | ||
/* Large logo ( | /* Large logo (overflows header intentionally) */ | ||
.mw-logo img { | .mw-logo img { | ||
height: 135px !important; | height: 135px !important; | ||
| Line 245: | Line 249: | ||
/************************************************* | /************************************************* | ||
Night Mode | Night Mode | ||
*************************************************/ | *************************************************/ | ||