mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-15 18:40:05 +00:00
8b45de3e5d
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
20 lines
448 B
Plaintext
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;
|
|
} |