From e03f797d9d14a8980464110691051de79f5a80eb Mon Sep 17 00:00:00 2001 From: Maxi Ferreira Date: Fri, 12 Aug 2022 12:39:20 -0700 Subject: [PATCH] Back to swap --- src/pages/index.astro | 1 + src/styles/fonts.css | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 8145137..8b7bcc1 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -43,6 +43,7 @@ const permalink = Astro.site.href; .home-copy h1 { font-weight: 700; margin-bottom: 0.5em; + line-height: 1.3; } .home-copy p { diff --git a/src/styles/fonts.css b/src/styles/fonts.css index 957ebcc..c6f0efb 100644 --- a/src/styles/fonts.css +++ b/src/styles/fonts.css @@ -3,7 +3,7 @@ font-family: 'Fira Sans'; font-style: normal; font-weight: 700; - font-display: optional; + font-display: swap; src: url(/assets/fonts/va9B4kDNxMZdWfMOD5VnLK3eRhf6Xl7Glw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, @@ -15,7 +15,7 @@ font-family: 'Merriweather'; font-style: normal; font-weight: 400; - font-display: optional; + font-display: swap; src: url(/assets/fonts/u-440qyriQwlOrhSvowK_l5-fCZMdeX3rg.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, @@ -27,7 +27,7 @@ font-family: 'Merriweather'; font-style: normal; font-weight: 700; - font-display: optional; + font-display: swap; src: url(/assets/fonts/u-4n0qyriQwlOrhSvowK_l52xwNZWMf6hPvhPQ.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,