|
75 | 75 | text-rendering: optimizeLegibility; |
76 | 76 | } |
77 | 77 |
|
| 78 | +/* |
| 79 | + * HelsinkiGroteskPro variable font (font file served from CDN). |
| 80 | + * Regular (400), Medium (500), Bold (700), Black (900), each normal and italic. |
| 81 | + * Font axes (fvar): wght 200–900, ital 0–1. |
| 82 | + */ |
| 83 | +@font-face { |
| 84 | + font-display: swap; |
| 85 | + font-family: HelsinkiGroteskPro; |
| 86 | + font-style: normal; |
| 87 | + font-weight: 400; |
| 88 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 89 | + format('woff2'); |
| 90 | + text-rendering: optimizeLegibility; |
| 91 | +} |
| 92 | +@font-face { |
| 93 | + font-display: swap; |
| 94 | + font-family: HelsinkiGroteskPro; |
| 95 | + font-style: italic; |
| 96 | + font-weight: 400; |
| 97 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 98 | + format('woff2'); |
| 99 | + text-rendering: optimizeLegibility; |
| 100 | +} |
| 101 | +@font-face { |
| 102 | + font-display: swap; |
| 103 | + font-family: HelsinkiGroteskPro; |
| 104 | + font-style: normal; |
| 105 | + font-weight: 500; |
| 106 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 107 | + format('woff2'); |
| 108 | + text-rendering: optimizeLegibility; |
| 109 | +} |
| 110 | +@font-face { |
| 111 | + font-display: swap; |
| 112 | + font-family: HelsinkiGroteskPro; |
| 113 | + font-style: italic; |
| 114 | + font-weight: 500; |
| 115 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 116 | + format('woff2'); |
| 117 | + text-rendering: optimizeLegibility; |
| 118 | +} |
| 119 | +@font-face { |
| 120 | + font-display: swap; |
| 121 | + font-family: HelsinkiGroteskPro; |
| 122 | + font-style: normal; |
| 123 | + font-weight: 700; |
| 124 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 125 | + format('woff2'); |
| 126 | + text-rendering: optimizeLegibility; |
| 127 | +} |
| 128 | +@font-face { |
| 129 | + font-display: swap; |
| 130 | + font-family: HelsinkiGroteskPro; |
| 131 | + font-style: italic; |
| 132 | + font-weight: 700; |
| 133 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 134 | + format('woff2'); |
| 135 | + text-rendering: optimizeLegibility; |
| 136 | +} |
| 137 | +@font-face { |
| 138 | + font-display: swap; |
| 139 | + font-family: HelsinkiGroteskPro; |
| 140 | + font-style: normal; |
| 141 | + font-weight: 900; |
| 142 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 143 | + format('woff2'); |
| 144 | + text-rendering: optimizeLegibility; |
| 145 | +} |
| 146 | +@font-face { |
| 147 | + font-display: swap; |
| 148 | + font-family: HelsinkiGroteskPro; |
| 149 | + font-style: italic; |
| 150 | + font-weight: 900; |
| 151 | + src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2') |
| 152 | + format('woff2'); |
| 153 | + text-rendering: optimizeLegibility; |
| 154 | +} |
| 155 | + |
78 | 156 | html { |
79 | 157 | --breakpoint-xl: 1248px; |
80 | 158 | --color-black-5: #f1f1f1; |
@@ -103,9 +181,20 @@ html { |
103 | 181 |
|
104 | 182 | height: 100%; |
105 | 183 | width: 100%; |
106 | | - font-family: 'HelsinkiGrotesk', Arial, -apple-system, BlinkMacSystemFont, |
107 | | - 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', |
108 | | - 'Droid Sans', 'Helvetica Neue', sans-serif; |
| 184 | + font-family: |
| 185 | + 'HelsinkiGrotesk', |
| 186 | + Arial, |
| 187 | + -apple-system, |
| 188 | + BlinkMacSystemFont, |
| 189 | + 'Segoe UI', |
| 190 | + 'Roboto', |
| 191 | + 'Oxygen', |
| 192 | + 'Ubuntu', |
| 193 | + 'Cantarell', |
| 194 | + 'Fira Sans', |
| 195 | + 'Droid Sans', |
| 196 | + 'Helvetica Neue', |
| 197 | + sans-serif; |
109 | 198 | } |
110 | 199 |
|
111 | 200 | body { |
|
0 commit comments