mediawiki-skins-Citizen/resources/skins.citizen.styles.fonts/skins.citizen.styles.fonts.less
alistair3149 8b45de3e5d Use variant fonts instead
Switch to use variant fonts which allows for more customization and possibly animation. I didn't subset the unicode range since we need i18n support
2020-08-12 12:59:56 -04:00

20 lines
448 B
Plaintext

// Font-face stylesheet
// Directory of hosted font
@font-directory: 'fonts/';
@font-face {
font-family: 'Roboto';
src: url( '@{font-directory}RobotoVF.woff2' ) format( 'woff2-variations' );
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
src: url( '@{font-directory}Roboto-ItalicVF.woff2' ) format( 'woff2-variations' );
font-weight: normal;
font-style: italic;
font-display: swap;
}