stretch heading scale (h1→step-5, h3→step-1) + reduce heading bottom margin (space-l → space-m)

This commit is contained in:
Pontoporeia
2026-07-06 19:51:20 +02:00
parent 148ffe79f0
commit 0979267c68
5 changed files with 11 additions and 14 deletions
+7 -7
View File
@@ -63,27 +63,27 @@ main * {
/* Global heading scale — used by admin + public pages */
h1 {
font-size: var(--step-4);
font-size: var(--step-5);
}
h2 {
font-size: var(--step-3);
}
h3 {
font-size: var(--step-2);
}
h4 {
font-size: var(--step-1);
}
h5 {
h4 {
font-size: var(--step-0);
}
h6 {
h5 {
font-size: var(--step--1);
}
h6 {
font-size: var(--step--2);
}
:where(h1, h2, h3, h4, h5, h6) {
font-family: var(--font-display);
font-weight: 400;
margin: 0 0 var(--space-l) 0;
margin: 0 0 var(--space-m) 0;
line-height: 1.15;
}