MediaWiki:Gadget-typographyRefresh.css
- In other languages
Note: After saving, you have to bypass your browser's cache to see the changes.
Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the Shift key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
@font-face {
font-family: 'Adjusted Arial Fallback';
src: local(Arial);
size-adjust: 107.0596%;
ascent-override: 90.4869%;
descent-override: 22.5554%;
line-gap-override: 0%;
}
@font-face {
font-family: InterVariable;
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url('filepath://InterVariable MCW.woff2') format('woff2');
}
@font-face {
font-family: InterVariable;
font-style: italic;
font-weight: 100 900;
font-display: swap;
src: url('filepath://InterVariable-Italic MCW.woff2') format('woff2');
}
body {
--font-family-sans-serif: Inter, 'Adjusted Arial Fallback', sans-serif;
font-family: var(--font-family-sans-serif) !important;
letter-spacing: -0.006em;
}
@supports (font-variation-settings: normal) {
body {
--font-family-sans-serif: InterVariable, 'Adjusted Arial Fallback', sans-serif;
}
}
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2:not(#mw-toc-heading) {
font-family: var(--font-family-sans-serif);
border: none;
}
h1 {
/* progressive enhancement in case :has is not supported */
font-weight: 850;
}
@supports selector(:has(*)) {
h1 {
font-weight: var(--font-family-sans-serif);
}
h1:not(:has(#firstHeadingTitle)) {
font-weight: 850;
}
}
h1 #firstHeadingTitle,
h1 .mw-page-title-main {
font-weight: 850;
}
.mw-body-content h2 {
font-weight: 700;
}
.mw-body h1,
h1 .mw-page-title-namespace,
h1 .mw-page-title-separator {
font-weight: 450;
}
.hatnote {
background-color: #00000005;
border-bottom: 1px solid #0003;
font-weight: 350;
}
.tocnumber,
table.wikitable:not([data-description='History']) {
font-variant-numeric: tabular-nums;
}
.notaninfobox > .infobox-title {
font-family: 'Minecraft', var(--font-family-sans-serif);
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li {
font-size: 0.73em;
}