Add spaces to clamp values

This commit is contained in:
Leilukin 2024-04-16 17:10:17 +08:00 committed by Helen Chong
parent 484b0818d1
commit 2d8c1b145c

View File

@ -133,7 +133,7 @@ body {
h1 {
color: var(--clr-main-heading);
font-size: clamp(2rem,1rem + 5vw,3rem);
font-size: clamp(2rem, 1rem + 5vw, 3rem);
border-bottom: 0.18rem solid var(--clr-title-border);
padding-bottom: 0.3em;
margin-bottom: 0.5em;
@ -148,11 +148,11 @@ h1, h2, h3 {
}
h2, .h2 {
font-size: clamp(1.55rem,1rem + 3vw,2.15rem);
font-size: clamp(1.55rem, 1rem + 3vw, 2.15rem);
}
h3, .h3 {
font-size: clamp(1.55rem,1rem + 3vw,1.8rem);
font-size: clamp(1.55rem, 1rem + 3vw, 1.8rem);
}
h2:has(+ *[class]), .h2:has(+ *[class]),