Adjust heading size

This commit is contained in:
Helen Chong 2024-04-15 14:24:40 +08:00
parent 2dd63ea370
commit 83660b9359
1 changed files with 9 additions and 1 deletions

View File

@ -140,11 +140,19 @@ h2, h3, h4, h5, h6 {
} }
h2, h3 { h2, h3 {
font-size: clamp(1.55rem,1rem + 3vw,2.15rem);
line-height: 1.2; line-height: 1.2;
margin-bottom: 0.4em; margin-bottom: 0.4em;
} }
h2 {
font-size: clamp(1.55rem,1rem + 3vw,2.15rem);
}
h3 {
font-size: clamp(1.55rem,1rem + 3vw,1.8rem);
}
hr { hr {
border: 0.05rem solid var(--clr-title-border); border: 0.05rem solid var(--clr-title-border);
} }