2020-06-29 15:30:06 +02:00
|
|
|
/*
|
|
|
|
* Nunito.
|
|
|
|
* Includes extended Latin and Vietnamese character sets
|
|
|
|
* Current URLs are taken from
|
|
|
|
* https://github.com/alexeiva/NunitoFont/releases/tag/v3.500
|
|
|
|
* ...in order to include cyrillic.
|
|
|
|
*
|
|
|
|
* Previously, they were
|
|
|
|
* https://fonts.googleapis.com/css?family=Nunito:400,400i,600,600i,700,700i&subset=latin-ext,vietnamese
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2022-07-27 15:39:29 +02:00
|
|
|
/* Grab the other fonts from the current theme, so we can override to Inter */
|
|
|
|
/* in custom fonts if needed. */
|
2022-07-15 15:53:23 +02:00
|
|
|
@import "../../light/css/_fonts.pcss";
|
2022-05-09 08:55:28 +02:00
|
|
|
|
2022-07-27 15:39:29 +02:00
|
|
|
/* Nunito as the default, for old time's sake on legacy themes. */
|
2020-06-29 15:30:06 +02:00
|
|
|
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
|
|
|
|
*/
|
|
|
|
@font-face {
|
2022-12-12 12:24:14 +01:00
|
|
|
font-family: "Nunito";
|
2020-07-14 18:39:14 +02:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2022-12-12 12:24:14 +01:00
|
|
|
src: url("$(res)/fonts/Nunito/Nunito-Regular.ttf") format("truetype");
|
2020-06-29 16:08:50 +02:00
|
|
|
}
|
|
|
|
@font-face {
|
2022-12-12 12:24:14 +01:00
|
|
|
font-family: "Nunito";
|
2020-07-14 18:39:14 +02:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 600;
|
2022-12-12 12:24:14 +01:00
|
|
|
src: url("$(res)/fonts/Nunito/Nunito-SemiBold.ttf") format("truetype");
|
2020-06-29 16:08:50 +02:00
|
|
|
}
|
|
|
|
@font-face {
|
2022-12-12 12:24:14 +01:00
|
|
|
font-family: "Nunito";
|
2020-07-14 18:39:14 +02:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
2022-12-12 12:24:14 +01:00
|
|
|
src: url("$(res)/fonts/Nunito/Nunito-Bold.ttf") format("truetype");
|
2020-06-29 15:30:06 +02:00
|
|
|
}
|