From 5f3172fc89ef4fbba6b0678c6891c626ee5c8483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Fri, 3 Oct 2025 21:27:52 +0200 Subject: feat(frontend): text more readable --- frontend/scss/general.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'frontend/scss/general.scss') diff --git a/frontend/scss/general.scss b/frontend/scss/general.scss index efc447c..bc15cf5 100644 --- a/frontend/scss/general.scss +++ b/frontend/scss/general.scss @@ -8,7 +8,7 @@ body { } body * { - line-height: 1.4em; + line-height: var(--line-height); } main, article { @@ -18,8 +18,13 @@ main, article { h1, h2, h3 { font-weight: 500; + line-height: var(--line-height-smaller); margin-bottom: 0.5rem; + + & > a { + line-height: var(--line-height-smaller); + } } h1 { @@ -52,6 +57,10 @@ a { } } +nav > a { + line-height: var(--line-height-smaller); +} + em, cite { font-style: italic; } -- cgit v1.2.3