From d04f7568da45e6e6e9eb0e3647efeded149e87c9 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 26 Sep 2023 20:49:44 +0000 Subject: [PATCH] lighthouse improvements --- article.scss | 1 + default.scss | 1 + input.scss | 1 + styles.css | 1 + tests/app/index.php | 4 ++-- tests/app/navigations.php | 2 +- 6 files changed, 7 insertions(+), 3 deletions(-) diff --git a/article.scss b/article.scss index 89c5217..0a9eab2 100755 --- a/article.scss +++ b/article.scss @@ -95,6 +95,7 @@ article { code { font-family: var(--font-family); + font-display: swap; font-size: 0.8rem; color: #23222d; background: #f4f4f4; diff --git a/default.scss b/default.scss index 0e4f5ca..d65bc31 100755 --- a/default.scss +++ b/default.scss @@ -4,6 +4,7 @@ pre { font-family: var(--font-family); + font-display: swap; background: #f4f4f4; border: 1px solid #ddd; padding: 1rem; diff --git a/input.scss b/input.scss index 3d876bc..5db523d 100755 --- a/input.scss +++ b/input.scss @@ -1,5 +1,6 @@ input, select, textarea, .textarea, option { font-family: var(--font-family); + font-display: swap; font-weight: 300; } diff --git a/styles.css b/styles.css index 305ce04..a9b5849 100755 --- a/styles.css +++ b/styles.css @@ -3135,6 +3135,7 @@ article { color: inherit; } article code { font-family: var(--font-family); + font-display: swap; font-size: 0.8rem; color: #23222d; background: #f4f4f4; diff --git a/tests/app/index.php b/tests/app/index.php index 1bb01c1..25007fa 100755 --- a/tests/app/index.php +++ b/tests/app/index.php @@ -40,7 +40,7 @@