MediaWiki:Common.css: Difference between revisions
m Font change Tag: Reverted |
Changed watermark size |
||
| (17 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
#ca-talk { display:none!important; } | #ca-talk { display:none!important; } | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
body { font-family: | |||
content h1 { font-family: | /* ========================================================================== | ||
1. FONT DEFINITIONS (@font-face) | |||
========================================================================== */ | |||
/* Overpass Regular */ | |||
@font-face { | |||
font-family: 'Overpass'; | |||
src: url('/resources/fonts/Overpass-Regular.woff2') format('woff2'), | |||
url('/resources/fonts/Overpass-Regular.woff') format('woff'); | |||
font-weight: 400; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
/* Overpass Italic */ | |||
@font-face { | |||
font-family: 'Overpass'; | |||
src: url('/resources/fonts/Overpass-Italic.woff2') format('woff2'), | |||
url('/resources/fonts/Overpass-Italic.woff') format('woff'); | |||
font-weight: 400; | |||
font-style: italic; | |||
font-display: swap; | |||
} | |||
/* Overpass Bold */ | |||
@font-face { | |||
font-family: 'Overpass'; | |||
src: url('/resources/fonts/Overpass-Bold.woff2') format('woff2'), | |||
url('/resources/fonts/Overpass-Bold.woff') format('woff'); | |||
font-weight: 700; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
/* Overpass Mono Regular */ | |||
@font-face { | |||
font-family: 'Overpass Mono'; | |||
src: url('/resources/fonts/OverpassMono-Regular.woff2') format('woff2'), | |||
url('/resources/fonts/OverpassMono-Regular.woff') format('woff'); | |||
font-weight: 400; | |||
font-style: normal; | |||
font-display: swap; | |||
} | |||
/* ========================================================================== | |||
2. GLOBAL & HEADING TYPOGRAPHY | |||
========================================================================== */ | |||
/* Apply Overpass site-wide */ | |||
body { | |||
font-family: 'Overpass', sans-serif; | |||
} | |||
/* Override default serif headings with Overpass */ | |||
h1, | |||
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6, | |||
.mw-body h1, | |||
.mw-body h2, | |||
.mw-body-content h1, | |||
.mw-body-content h2, | |||
.mw-first-heading, | |||
#firstHeading | |||
.vector-sticky-header-context-bar-primary, | |||
.vector-sticky-header-context-bar-primary span, | |||
.vector-sticky-header .mw-page-title-main { | |||
font-family: 'Overpass', sans-serif !important; | |||
} | |||
/* ========================================================================== | |||
3. EDITOR & MONOSPACED TYPOGRAPHY | |||
========================================================================== */ | |||
/* Apply Overpass Mono to the editor and code blocks */ | |||
#wpTextbox1, | |||
textarea, | |||
pre, | |||
code, | |||
tt, | |||
.mw-code, | |||
.CodeMirror { | |||
font-family: 'Overpass Mono', monospace !important; | |||
} | |||
/* ========================================================================== | |||
4. VECTOR 2022 WORDMARK STYLING | |||
========================================================================== */ | |||
.mw-logo-wordmark { | |||
font-family: 'Overpass', sans-serif !important; | |||
font-size: 1.50rem; | |||
font-weight: 700; | |||
line-height: 1; | |||
letter-spacing: -0.01em; | |||
color: var(--color-emphasized, #101418); | |||
text-decoration: none; | |||
} | |||