2018-05-25 02:17:29 +00:00
|
|
|
/*
|
|
|
|
* Nunito.
|
|
|
|
* Includes extended Latin and Vietnamese character sets
|
2019-01-31 10:43:06 +00:00
|
|
|
* Current URLs are taken from
|
|
|
|
* https://github.com/alexeiva/NunitoFont/releases/tag/v3.500
|
|
|
|
* ...in order to include cyrillic.
|
|
|
|
*
|
|
|
|
* Previously, they were
|
2018-12-31 15:59:08 +00:00
|
|
|
* https://fonts.googleapis.com/css?family=Nunito:400,400i,600,600i,700,700i&subset=latin-ext,vietnamese
|
2019-01-31 10:43:06 +00:00
|
|
|
*
|
2019-01-31 10:51:26 +00:00
|
|
|
* We explicitly do not include Nunito's italic variants, as they are not italic enough
|
|
|
|
* and it's better to rely on the browser's built-in obliquing behaviour.
|
2018-05-25 02:17:29 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
|
|
|
|
*/
|
|
|
|
@font-face {
|
2019-05-19 14:23:43 +00:00
|
|
|
font-family: 'Nunito';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: url('$(res)/fonts/Nunito/Nunito-Regular.ttf') format('truetype');
|
2018-05-25 02:17:29 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
2019-05-19 14:23:43 +00:00
|
|
|
font-family: 'Nunito';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
|
|
|
src: url('$(res)/fonts/Nunito/Nunito-SemiBold.ttf') format('truetype');
|
2018-05-25 02:17:29 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
2019-05-19 14:23:43 +00:00
|
|
|
font-family: 'Nunito';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
|
|
|
src: url('$(res)/fonts/Nunito/Nunito-Bold.ttf') format('truetype');
|
2018-05-25 02:17:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Fira Mono
|
|
|
|
* Used for monospace copy, i.e. code
|
|
|
|
*/
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Fira Mono';
|
2018-12-31 23:22:40 +00:00
|
|
|
src: url('$(res)/fonts/Fira_Mono/FiraMono-Regular.ttf') format('truetype');
|
2018-05-25 02:17:29 +00:00
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Fira Mono';
|
2018-12-31 23:22:40 +00:00
|
|
|
src: url('$(res)/fonts/Fira_Mono/FiraMono-Bold.ttf') format('truetype');
|
2018-05-25 02:17:29 +00:00
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
2019-05-19 14:23:43 +00:00
|
|
|
|
|
|
|
/* a COLR/CPAL version of Twemoji used for consistent cross-browser emoji
|
|
|
|
* taken from https://github.com/mozilla/twemoji-colr
|
|
|
|
* using the fix from https://github.com/mozilla/twemoji-colr/issues/50 to
|
|
|
|
* work on macOS
|
|
|
|
*/
|
|
|
|
@font-face {
|
|
|
|
font-family: "Twemoji Mozilla";
|
|
|
|
src: url('$(res)/fonts/Twemoji_Mozilla/TwemojiMozilla.woff2') format('woff2');
|
|
|
|
}
|