mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 15:21:22 +02:00
stretch heading scale (h1→step-5, h3→step-1) + reduce heading bottom margin (space-l → space-m)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user