diff options
| Commit | 836a649bb467deba3cae53aba5f1ea679cbe41c4 (patch) | |
|---|---|---|
| Author | 2022-11-22 20:01:58 +0200 | |
| Committer | 2022-11-22 20:01:58 +0200 | |
| Files | 304c80125e31c5b1302ced8b050cc08f2df857da /src/styles.css | |
| syndamia.com-836a649bb467deba3cae53aba5f1ea679cbe41c4.tar syndamia.com-836a649bb467deba3cae53aba5f1ea679cbe41c4.tar.gz syndamia.com-836a649bb467deba3cae53aba5f1ea679cbe41c4.zip | ||
| Parent | def39c1a62a2bf924fa20cc8fa51cbc216be4aee (diff) | |
[general] Made general changes to improve loading efficiency
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; } |