diff options
1 files changed, 7 insertions, 0 deletions
| -rw-r--r-- | src/styles.css | 7 |
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; } |