MediaWiki:Common.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}