|
| 1 | +/* Adapted from https://fonts.googleapis.com/css?family=Lato:400,400i,700,900 */ |
| 2 | +/* Borrowed from webapp lato.css */ |
| 3 | + |
| 4 | +/* latin */ |
| 5 | +@font-face { |
| 6 | + font-family: 'Lato'; |
| 7 | + font-style: italic; |
| 8 | + font-weight: 400; |
| 9 | + src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/LatoLatin-Italic.woff2) format('woff2'); |
| 10 | + /* |
| 11 | + If the font isn't downloaded, show nothing for about 100ms then display |
| 12 | + the fallback font (if it still isn't downloaded). |
| 13 | + More details: |
| 14 | + https://css-tricks.com/almanac/properties/f/font-display/ |
| 15 | + */ |
| 16 | + font-display: fallback; |
| 17 | +} |
| 18 | + |
| 19 | +/* latin */ |
| 20 | +@font-face { |
| 21 | + font-family: 'Lato'; |
| 22 | + font-style: normal; |
| 23 | + font-weight: 400; |
| 24 | + src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/LatoLatin-Regular.woff2) format('woff2'); |
| 25 | + font-display: fallback; |
| 26 | +} |
| 27 | + |
| 28 | +/* latin */ |
| 29 | +@font-face { |
| 30 | + font-family: 'Lato'; |
| 31 | + font-style: normal; |
| 32 | + font-weight: 700; |
| 33 | + src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/LatoLatin-Bold.woff2) format('woff2'); |
| 34 | + font-display: fallback; |
| 35 | +} |
| 36 | + |
| 37 | +/* latin */ |
| 38 | +@font-face { |
| 39 | + font-family: 'Lato'; |
| 40 | + font-style: normal; |
| 41 | + font-weight: 900; |
| 42 | + src: local('Lato Black'), local('Lato-Black'), url(../fonts/LatoLatin-Black.woff2) format('woff2'); |
| 43 | + font-display: fallback; |
| 44 | +} |
| 45 | + |
| 46 | +/* non-latin (cyrillic, hungarian, serbian) */ |
| 47 | +@font-face { |
| 48 | + font-family: 'Lato'; |
| 49 | + font-style: italic; |
| 50 | + font-weight: 400; |
| 51 | + src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/Lato-Italic.woff2) format('woff2'); |
| 52 | + unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F; |
| 53 | + font-display: fallback; |
| 54 | +} |
| 55 | + |
| 56 | +@font-face { |
| 57 | + font-family: 'Lato'; |
| 58 | + font-style: normal; |
| 59 | + font-weight: 400; |
| 60 | + src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/Lato-Regular.woff2) format('woff2'); |
| 61 | + unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F; |
| 62 | + font-display: fallback; |
| 63 | +} |
| 64 | + |
| 65 | +@font-face { |
| 66 | + font-family: 'Lato'; |
| 67 | + font-style: normal; |
| 68 | + font-weight: 700; |
| 69 | + src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/Lato-Bold.woff2) format('woff2'); |
| 70 | + unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F; |
| 71 | + font-display: fallback; |
| 72 | +} |
| 73 | + |
| 74 | +@font-face { |
| 75 | + font-family: 'Lato'; |
| 76 | + font-style: normal; |
| 77 | + font-weight: 900; |
| 78 | + src: local('Lato Black'), local('Lato-Black'), url(../fonts/Lato-Black.woff2) format('woff2'); |
| 79 | + unicode-range: U+0400-04FF, U+0500-052F, U+2DE0-2DFF, U+A640-A69F, U+1D00-1D7F; |
| 80 | + font-display: fallback; |
| 81 | +} |
| 82 | + |
| 83 | +/* Latin Extended (e.g. vietnamese) */ |
| 84 | +@font-face { |
| 85 | + font-family: 'Lato'; |
| 86 | + font-style: italic; |
| 87 | + font-weight: 400; |
| 88 | + src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/LatoLatinExtended-Italic.woff2) format('woff2'); |
| 89 | + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
| 90 | + font-display: fallback; |
| 91 | +} |
| 92 | + |
| 93 | +@font-face { |
| 94 | + font-family: "Lato"; |
| 95 | + font-weight: 400; |
| 96 | + src: url("../fonts/LatoLatinExtended-Regular.woff2"); |
| 97 | + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
| 98 | + font-display: fallback; |
| 99 | +} |
| 100 | + |
| 101 | +@font-face { |
| 102 | + font-family: "Lato"; |
| 103 | + font-weight: 700; |
| 104 | + src: url("../fonts/LatoLatinExtended-Bold.woff2"); |
| 105 | + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
| 106 | + font-display: fallback; |
| 107 | +} |
| 108 | + |
| 109 | +@font-face { |
| 110 | + font-family: "Lato"; |
| 111 | + font-weight: 900; |
| 112 | + src: url("../fonts/LatoLatinExtended-Black.woff2"); |
| 113 | + unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; |
| 114 | + font-display: fallback; |
| 115 | +} |
0 commit comments