_fonts.pcss (1286B)
1 /* 2 * Nunito. 3 * Includes extended Latin and Vietnamese character sets 4 * Current URLs are taken from 5 * https://github.com/alexeiva/NunitoFont/releases/tag/v3.500 6 * ...in order to include cyrillic. 7 * 8 * Previously, they were 9 * https://fonts.googleapis.com/css?family=Nunito:400,400i,600,600i,700,700i&subset=latin-ext,vietnamese 10 * 11 * We explicitly do not include Nunito's italic variants, as they are not italic enough 12 * and it's better to rely on the browser's built-in obliquing behaviour. 13 */ 14 15 /* Grab the other fonts from the current theme, so we can override to Inter */ 16 /* in custom fonts if needed. */ 17 @import "../../light/css/_fonts.pcss"; 18 19 /* Nunito as the default, for old time's sake on legacy themes. */ 20 /* the 'src' links are relative to the bundle.css, which is in a subdirectory. 21 */ 22 @font-face { 23 font-family: "Nunito"; 24 font-style: normal; 25 font-weight: 400; 26 src: url("/res/fonts/Nunito/Nunito-Regular.ttf") format("truetype"); 27 } 28 @font-face { 29 font-family: "Nunito"; 30 font-style: normal; 31 font-weight: 600; 32 src: url("/res/fonts/Nunito/Nunito-SemiBold.ttf") format("truetype"); 33 } 34 @font-face { 35 font-family: "Nunito"; 36 font-style: normal; 37 font-weight: 700; 38 src: url("/res/fonts/Nunito/Nunito-Bold.ttf") format("truetype"); 39 }