2018-05-25 10:17:29 +08:00
|
|
|
/*
|
|
|
|
* Nunito.
|
|
|
|
* Includes extended Latin and Vietnamese character sets
|
2019-01-31 18:43:06 +08: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 23:59:08 +08:00
|
|
|
* https://fonts.googleapis.com/css?family=Nunito:400,400i,600,600i,700,700i&subset=latin-ext,vietnamese
|
2019-01-31 18:43:06 +08:00
|
|
|
*
|
2019-01-31 18:51:26 +08: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 10:17:29 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
|
|
|
|
*/
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nunito';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2019-01-31 18:43:06 +08:00
|
|
|
src: url('$(res)/fonts/Nunito/Nunito-Regular.ttf') format('truetype');
|
2018-05-25 10:17:29 +08:00
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nunito';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
2019-01-31 18:43:06 +08:00
|
|
|
src: url('$(res)/fonts/Nunito/Nunito-SemiBold.ttf') format('truetype');
|
2018-05-25 10:17:29 +08:00
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Nunito';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
2019-01-31 18:43:06 +08:00
|
|
|
src: url('$(res)/fonts/Nunito/Nunito-Bold.ttf') format('truetype');
|
2018-05-25 10:17:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Fira Mono
|
|
|
|
* Used for monospace copy, i.e. code
|
|
|
|
*/
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Fira Mono';
|
2019-01-01 07:22:40 +08:00
|
|
|
src: url('$(res)/fonts/Fira_Mono/FiraMono-Regular.ttf') format('truetype');
|
2018-05-25 10:17:29 +08:00
|
|
|
font-weight: 400;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Fira Mono';
|
2019-01-01 07:22:40 +08:00
|
|
|
src: url('$(res)/fonts/Fira_Mono/FiraMono-Bold.ttf') format('truetype');
|
2018-05-25 10:17:29 +08:00
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|