From 723392b41b540fc851a854f912395075ebd30edb Mon Sep 17 00:00:00 2001 From: Maxi Ferreira Date: Fri, 12 Aug 2022 12:26:28 -0700 Subject: [PATCH] Font display optional --- src/pages/index.astro | 2 +- src/styles/fonts.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index fc7c83e..8145137 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -46,7 +46,7 @@ const permalink = Astro.site.href; } .home-copy p { - font-size: 1.6em; + font-size: 1.4em; } .home-image-container { diff --git a/src/styles/fonts.css b/src/styles/fonts.css index c6f0efb..957ebcc 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: swap; + font-display: optional; 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: swap; + font-display: optional; 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: swap; + font-display: optional; 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,