MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
max-width: 1200px; | max-width: 1200px; | ||
margin: 0 auto; | margin: 0 auto; | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.55; | line-height: 1.55; | ||
| Line 23: | Line 21: | ||
} | } | ||
/* HERO */ | /* ============================================================ | ||
HERO | |||
============================================================ */ | |||
.bc-hero { | .bc-hero { | ||
background: linear-gradient(135deg, #226065 0%, #1f4b4f 60%, #17373a 100%); | background: linear-gradient(135deg, #226065 0%, #1f4b4f 60%, #17373a 100%); | ||
border-radius: 16px; | border-radius: 16px; | ||
padding: 22px 22px 18px | padding: 22px 22px 18px; | ||
color: #fff; | color: #fff; | ||
box-shadow: 0 10px 30px rgba(0,0,0,.15); | box-shadow: 0 10px 30px rgba(0,0,0,.15); | ||
| Line 33: | Line 34: | ||
.bc-hero h1 { | .bc-hero h1 { | ||
margin: 0 0 6px | margin: 0 0 6px; | ||
font-size: 28px; | font-size: 28px; | ||
line-height: 1.15; | line-height: 1.15; | ||
} | } | ||
| Line 42: | Line 42: | ||
margin: 0; | margin: 0; | ||
opacity: .92; | opacity: .92; | ||
max-width: 900px; | max-width: 900px; | ||
} | } | ||
| Line 53: | Line 52: | ||
.bc-hero .bc-kicker { | .bc-hero .bc-kicker { | ||
font-size: 13px; | font-size: 13px; | ||
letter-spacing: .06em; | letter-spacing: .06em; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
| Line 60: | Line 59: | ||
} | } | ||
/* Pills */ | /* ============================================================ | ||
Pills | |||
============================================================ */ | |||
.bc-pillrow { | .bc-pillrow { | ||
display: flex; | display: flex; | ||
| Line 69: | Line 71: | ||
.bc-pill { | .bc-pill { | ||
padding: 6px 10px; | padding: 6px 10px; | ||
border-radius: 999px; | border-radius: 999px; | ||
| Line 89: | Line 90: | ||
} | } | ||
/* Cards | /* ============================================================ | ||
Layout / Cards | |||
============================================================ */ | |||
.bc-grid { | .bc-grid { | ||
display: grid; | display: grid; | ||
| Line 116: | Line 120: | ||
border: 1px solid rgba(0,0,0,.08); | border: 1px solid rgba(0,0,0,.08); | ||
border-radius: 14px; | border-radius: 14px; | ||
padding: 16px 16px 14px | padding: 16px 16px 14px; | ||
box-shadow: 0 8px 20px rgba(0,0,0,.06); | box-shadow: 0 8px 20px rgba(0,0,0,.06); | ||
} | } | ||
/* Typography | /* Typography inside cards */ | ||
.bc-card h2 { | .bc-card h2 { | ||
margin: 0 0 10px | margin: 0 0 10px; | ||
font-size: 18px; | font-size: 18px; | ||
line-height: 1.25; | line-height: 1.25; | ||
} | } | ||
.bc-card h3 { | .bc-card h3 { | ||
margin: 14px 0 8px | margin: 14px 0 8px; | ||
font-size: 15px; | font-size: 15px; | ||
line-height: 1.3; | line-height: 1.3; | ||
} | } | ||
.bc-subtle { | .bc-subtle { | ||
color: #555; | color: #555; | ||
font-size: 13px; | font-size: 13px; | ||
} | } | ||
.bc-mini { | .bc-mini { | ||
font-size: 12px; | font-size: 12px; | ||
color: #666; | color: #666; | ||
} | } | ||
/* | /* ============================================================ | ||
Buttons | |||
============================================================ */ | |||
.bc-btngrid { | .bc-btngrid { | ||
display: grid; | display: grid; | ||
| Line 186: | Line 167: | ||
border-radius: 12px; | border-radius: 12px; | ||
border: 1px solid rgba(0,0,0,.10); | border: 1px solid rgba(0,0,0,.10); | ||
background: linear-gradient(180deg, | background: linear-gradient(180deg,#fff 0%,rgba(0,0,0,.02) 100%); | ||
box-shadow: 0 6px 14px rgba(0,0,0,.06); | box-shadow: 0 6px 14px rgba(0,0,0,.06); | ||
text-decoration: none !important; | text-decoration: none !important; | ||
| Line 199: | Line 180: | ||
display: block; | display: block; | ||
font-size: 14px; | font-size: 14px; | ||
} | } | ||
.bc-btn span { | .bc-btn span { | ||
font-size: 12px; | font-size: 12px; | ||
color: #555; | color: #555; | ||
} | } | ||
/* ============================================================ | /* ============================================================ | ||
HEADER LOGO — ICON ONLY, LARGE, TIGHT HEADER | |||
============================================================ */ | ============================================================ */ | ||
/* Hide | /* Hide site name / wordmark */ | ||
.mw-logo-wordmark, | .mw-logo-wordmark, | ||
.mw-logo-tagline { | .mw-logo-tagline { | ||
display: none !important; | |||
} | } | ||
/* Disable click | /* Disable logo click */ | ||
.mw-logo a, | .mw-logo a, | ||
.mw-logo a * { | .mw-logo a * { | ||
pointer-events: none !important; | |||
cursor: default !important; | |||
} | } | ||
/* | /* Header container height (controls header size) */ | ||
.mw-header { | .mw-header { | ||
padding | height: 90px; | ||
padding: 0 !important; | |||
overflow: visible !important; | |||
} | } | ||
/* | /* Prevent internal min-height forcing */ | ||
.mw-header, | .mw-header, | ||
.mw-header-content { | .mw-header-content { | ||
| Line 335: | Line 217: | ||
} | } | ||
/* | /* Center logo vertically in constrained header */ | ||
.mw-header-content, | |||
.mw-logo { | .mw-logo { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
height: 100%; | |||
} | |||
/* Large logo (overflows header intentionally) */ | |||
.mw-logo img { | |||
height: 135px !important; | |||
width: auto; | |||
max-height: none; | |||
} | } | ||
| Line 345: | Line 236: | ||
height: 135px !important; | height: 135px !important; | ||
width: auto; | width: auto; | ||
} | |||
/* ============================================================ | |||
Night Mode Support | |||
============================================================ */ | |||
@media screen { | |||
html.skin-theme-clientpref-night .bc-card { | |||
background-color: #171a1d; | |||
border-color: #3a3a3a; | |||
} | |||
html.skin-theme-clientpref-night .bc-subtle, | |||
html.skin-theme-clientpref-night .bc-mini, | |||
html.skin-theme-clientpref-night .bc-btn span { | |||
color: #cfcfcf; | |||
} | |||
} | } | ||