diff options
| author | William Hergès <william@herges.fr> | 2025-10-03 21:27:52 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-03 21:27:52 +0200 |
| commit | 5f3172fc89ef4fbba6b0678c6891c626ee5c8483 (patch) | |
| tree | 3daacab27040eacdc1ab5e0855b8308d09261999 /frontend/scss/general.scss | |
| parent | 1ac68485cbe91ef9636195bfb287b820600c47fb (diff) | |
feat(frontend): text more readable
Diffstat (limited to 'frontend/scss/general.scss')
| -rw-r--r-- | frontend/scss/general.scss | 11 |
1 files changed, 10 insertions, 1 deletions
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; } |
