diff options
| author | Dennis Fink | 2026-08-08 19:22:01 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-08-08 19:22:01 +0200 |
| commit | fcb40a5d76c477190000f2ead11e4ddae6c273ba (patch) | |
| tree | c3ac5a5a01680d3a5ebd2d5a0136da51fb63d024 /assets/static/css/style.css | |
| parent | 9d242b4df99e7c0ca4c29633d739478cd8015d5d (diff) | |
| download | dennisfink.me-fcb40a5d76c477190000f2ead11e4ddae6c273ba.tar.gz dennisfink.me-fcb40a5d76c477190000f2ead11e4ddae6c273ba.zip | |
Improve heading line spacing
This slightly increases heading line heights so multi-line headings have more
breathing room.
It also normalizes the `h3` margin rule, keeping its vertical spacing consistent
with the other heading styles.
Diffstat (limited to '')
| -rw-r--r-- | assets/static/css/style.css | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/assets/static/css/style.css b/assets/static/css/style.css index 7237509..0a05435 100644 --- a/assets/static/css/style.css +++ b/assets/static/css/style.css @@ -183,7 +183,7 @@ TYPOGRAPHY h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; - line-height: 1; + line-height: 1.1; margin: 0 0 0.5rem 0; } @@ -191,7 +191,7 @@ h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; font-weight: 500; - line-height: 1; + line-height: 1.15; margin: 1rem 0; } @@ -199,8 +199,8 @@ h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-style: italic; font-weight: 400; - line-height: 1; - margin-bottom: 1rem; + line-height: 1.2; + margin: 1rem 0; } /* --- Body text --- */ |
