MediaWiki:Common.css: Difference between revisions
Appearance
Added wordmark styling |
Changed font size |
||
| Line 91: | Line 91: | ||
========================================================================== */ | ========================================================================== */ | ||
.mw-logo- | .mw-logo-wordmark { | ||
font-family: 'Overpass', sans-serif !important; | font-family: 'Overpass', sans-serif !important; | ||
font-size: | font-size: 2.35rem; | ||
font-weight: 700; | font-weight: 700; | ||
letter-spacing: -0. | line-height: 1; | ||
letter-spacing: -0.02em; | |||
color: var(--color-emphasized, #101418); | color: var(--color-emphasized, #101418); | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Revision as of 21:16, 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-wordmark {
font-family: 'Overpass', sans-serif !important;
font-size: 2.35rem;
font-weight: 700;
line-height: 1;
letter-spacing: -0.02em;
color: var(--color-emphasized, #101418);
text-decoration: none;
}