Add display swap (#179)

We should ensure that the text remains visible during webfont load. Further link:
https://web.dev/font-display/
This should be also done for font awesome but I didn't find a way to make it with the load of the font. Maybe we should place this in CSS.
This commit is contained in:
Sascha Moser 2021-02-01 09:09:20 +01:00 committed by GitHub
parent 6fff5900eb
commit daa56f4b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
* (c) Wruczek 2017 - 2019 * (c) Wruczek 2017 - 2019
*/ */
@import url('https://fonts.googleapis.com/css?family=Exo+2'); @import url('https://fonts.googleapis.com/css?family=Exo+2&display=swap');
:root { :root {
--site-background: #1e202f; --site-background: #1e202f;