Adjust heading sizes

This commit is contained in:
Helen Chong 2024-04-15 14:03:18 +08:00
parent 1e9192b65a
commit 97206f4cf4
1 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ body {
h1 {
color: var(--clr-main-heading);
font-size: 2.2rem;
font-size: clamp(2rem,1rem + 5vw,3rem);
border-bottom: 0.18rem solid var(--clr-title-border);
padding-bottom: 0.3em;
margin-bottom: 0.5em;
@ -137,11 +137,11 @@ h1 {
h2, h3, h4, h5, h6 {
color: var(--clr-sub-heading);
line-height: 1.5;
}
h2 {
font-size: 1.7rem;
h2, h3 {
font-size: clamp(1.55rem,1rem + 3vw,2.15rem);
line-height: 1.2;
}
hr {