From 836a649bb467deba3cae53aba5f1ea679cbe41c4 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 22 Nov 2022 20:01:58 +0200 Subject: [general] Made general changes to improve loading efficiency --- src/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index 6f55703..573a04a 100644 --- a/src/styles.css +++ b/src/styles.css @@ -634,12 +634,14 @@ dd code { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-Bold.ttf); font-weight: bold; + font-display: swap; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-ExtraBold.ttf); font-weight: 800; + font-display: swap; } @font-face { @@ -647,6 +649,7 @@ dd code { src: url(/fonts/open-sans/OpenSans-Italic.ttf); font-weight: normal; font-style: italic; + font-display: swap; } @font-face { @@ -654,6 +657,7 @@ dd code { src: url(/fonts/open-sans/OpenSans-BoldItalic.ttf); font-weight: bold; font-style: italic; + font-display: swap; } @font-face { @@ -661,12 +665,14 @@ dd code { src: url(/fonts/open-sans/OpenSans-ExtraBoldItalic.ttf); font-weight: 800; font-style: italic; + font-display: swap; } @font-face { font-family: 'Open Sans'; src: url(/fonts/open-sans/OpenSans-Semibold.ttf); font-weight: 600; + font-display: swap; } @font-face { @@ -674,4 +680,5 @@ dd code { src: url(/fonts/open-sans/OpenSans-SemiboldItalic.ttf); font-weight: 600; font-style: italic; + font-display: swap; } -- cgit v1.3.1-23-gd82d