From 319680bcf843cfb4232fac0f6da0572136b40ff8 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 2 Jun 2022 20:09:05 +0200 Subject: Fix fonts --- assets/scss/_fonts.scss | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'assets/scss/_fonts.scss') diff --git a/assets/scss/_fonts.scss b/assets/scss/_fonts.scss index 700ebdb..9334caa 100644 --- a/assets/scss/_fonts.scss +++ b/assets/scss/_fonts.scss @@ -2,11 +2,31 @@ @font-face { font-family: "Cormorant Garamond"; font-style: normal; - font-weight: 700; + font-weight: 600; font-display: swap; - src: local("Cormorant Garamond Bold"), - local("CormorantGaramond-Bold"), - url(/assets/fonts/cormorant-garamond.woff2) format("woff2"); + src: local("Cormorant Garamond SemiBold"), + local("CormorantGaramond-SemiBold"), + url(/assets/fonts/cormorant-garamond-semibold.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +@font-face { + font-family: "Cormorant Garamond"; + font-style: italic; + font-weight: 100; /* 300 */ + font-display: swap; + src: local("Cormorant Garamond LightItalic"), + local("CormorantGaramond-LightItalic"), + url(/assets/fonts/cormorant-garamond-lightitalic.woff2) format("woff2"); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +@font-face { + font-family: "Cormorant Garamond"; + font-style: normal; + font-weight: 100; /* 300 */ + font-display: swap; + src: local("Cormorant Garamond Light"), + local("CormorantGaramond-Light"), + url(/assets/fonts/cormorant-garamond-light.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } -- cgit v1.2.3