Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 92 additions & 3 deletions public/styles/noscript.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,84 @@
text-rendering: optimizeLegibility;
}

/*
* HelsinkiGroteskPro variable font (font file served from CDN).
* Regular (400), Medium (500), Bold (700), Black (900), each normal and italic.
* Font axes (fvar): wght 200–900, ital 0–1.
*/
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 400;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
Comment thread
jorilindell marked this conversation as resolved.
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 400;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 500;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 500;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 700;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 700;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 900;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 900;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}

html {
--breakpoint-xl: 1248px;
--color-black-5: #f1f1f1;
Expand Down Expand Up @@ -103,9 +181,20 @@ html {

height: 100%;
width: 100%;
font-family: 'HelsinkiGrotesk', Arial, -apple-system, BlinkMacSystemFont,
'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
font-family:
'HelsinkiGrotesk',
Comment thread
jorilindell marked this conversation as resolved.
Arial,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
sans-serif;
}

body {
Expand Down
95 changes: 92 additions & 3 deletions src/assets/styles/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,98 @@
text-rendering: optimizeLegibility;
}

$hel-grotesk: 'HelsinkiGrotesk', Arial, -apple-system, BlinkMacSystemFont,
'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
/*
* HelsinkiGroteskPro variable font (font file served from CDN).
* Regular (400), Medium (500), Bold (700), Black (900), each normal and italic.
* Font axes (fvar): wght 200–900, ital 0–1.
*/
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 400;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
Comment thread
jorilindell marked this conversation as resolved.
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 400;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 500;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 500;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 700;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 700;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: normal;
font-weight: 900;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}
@font-face {
font-display: swap;
font-family: HelsinkiGroteskPro;
font-style: italic;
font-weight: 900;
src: url('https://makasiini.hel.fi/delivery/917fc4ffc37c44d31b143244042e0078/9a677fe2c4414b1a40990971cd4ac24c.woff2')
format('woff2');
text-rendering: optimizeLegibility;
}

$hel-grotesk:
'HelsinkiGrotesk',
Arial,
Comment thread
jorilindell marked this conversation as resolved.
-apple-system,
Comment thread
jorilindell marked this conversation as resolved.
BlinkMacSystemFont,
'Segoe UI',
'Roboto',
'Oxygen',
'Ubuntu',
'Cantarell',
'Fira Sans',
'Droid Sans',
'Helvetica Neue',
sans-serif;
Comment thread
jorilindell marked this conversation as resolved.

// Helsinki Brand Variables
// Do not use these variables directly.
Expand Down
Loading