Set h4 heading size
This commit is contained in:
parent
50e41d98f1
commit
1b3821847a
|
@ -41,6 +41,10 @@ h3:has(+ *[class]:not(.heading-anchor)), .h3:has(+ *[class]) {
|
|||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h4, .h4 {
|
||||
font-size: var(--sz-h4);
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0.05rem solid var(--clr-title-border);
|
||||
}
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
--sz-h1: clamp(2rem, 1rem + 5vw, 3rem);
|
||||
--sz-h2: clamp(1.55rem, 1rem + 3vw, 2.15rem);
|
||||
--sz-h3: clamp(1.55rem, 1rem + 3vw, 1.8rem);
|
||||
--sz-h4: clamp(1.4rem, 1rem + 3vw, 1.6rem);
|
||||
--sz-paragraph-margin: 1.15em;
|
||||
--sz-main-padding: clamp(1rem, 5%, 4rem);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue