MediaWiki:Common.css: Difference between revisions

self-host Nunito font instead of Google Fonts
(try using Nunito font, if it works well, then we'll self-host)
(self-host Nunito font instead of Google Fonts)
Line 1:
/* CSS placed here will be applied to all skins */
 
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
/* Apply [https://fonts.google.com/specimen/Nunito Nunito] to body text */
/* @import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap'); */
 
/* latin */
@font-face {
font-family: 'Nunito';
font-style: italic;
font-weight: 200 1000;
font-display: swap;
src: url(https://static.miraheze.org/chicorywiki/e/ee/Nunito-Italic-VariableFont_wght.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
 
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 200 1000;
font-display: swap;
src: url(https://static.miraheze.org/chicorywiki/a/aa/Nunito-VariableFont_wght.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
 
body.skin-vector {
font-family: "Nunito", sans-serif;
}
 
Line 49 ⟶ 70:
font-style: normal;
font-display: swap;
 
/* Fix ugly formatting on https://www.mediawiki.org/wiki/Extension:ArticleToCategory2 */
.ns-14 table[width="423"] {
float: none;
width: auto;
}