MediaWiki:Common.css: Difference between revisions
Appearance
Added OverpassMono and made Overpass take effect site-wide, including editor and headers |
Added wordmark styling |
||
| Line 85: | Line 85: | ||
.CodeMirror { | .CodeMirror { | ||
font-family: 'Overpass Mono', monospace !important; | font-family: 'Overpass Mono', monospace !important; | ||
} | |||
/* ========================================================================== | |||
4. VECTOR 2022 WORDMARK STYLING | |||
========================================================================== */ | |||
.mw-logo-container { | |||
font-family: 'Overpass', sans-serif !important; | |||
font-size: 1.35rem; | |||
font-weight: 700; | |||
letter-spacing: -0.01em; | |||
color: var(--color-emphasized, #101418); | |||
text-decoration: none; | |||
} | } | ||
Revision as of 21:14, 17 November 2026
/* CSS placed here will be applied to all skins */
#ca-talk { display:none!important; }
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* ==========================================================================
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 {
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-container {
font-family: 'Overpass', sans-serif !important;
font-size: 1.35rem;
font-weight: 700;
letter-spacing: -0.01em;
color: var(--color-emphasized, #101418);
text-decoration: none;
}