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;
}
+1 -1
View File
@@ -50,7 +50,7 @@ form[role="search"]:not(.header-search-form) {
#site-search-input {
width: 100%;
padding: var(--space-2xs) var(--space-s);
padding-left: calc(18px + var(--space-l));
padding-left: calc(18px + var(--space-m));
border: 1px solid var(--accent-primary);
border-radius: var(--radius);
background: var(--bg-primary);
-4
View File
@@ -82,10 +82,6 @@
margin-bottom: 0;
}
.page-content > article :where(h1, h2, h3) {
margin: 1.5em 0 0.5em 0;
}
.page-content > article a {
color: inherit;
text-decoration: none;