fix: use type scale for headline sizes

This commit is contained in:
Moritz Stückler 2025-08-27 16:33:44 +02:00
parent f0b4ca1049
commit 49cc8dee5d
No known key found for this signature in database

View file

@ -31,27 +31,32 @@ h5 {
line-height: 1.3;
}
// These headlines are using a "minor third" type scale (scaling factor is 1.2)
h1 {
margin-top: 0;
font-size: 2.441rem;
font-size: 2.986rem;
}
h2 {
font-size: 1.953rem;
font-size: 2.488rem;
margin-block: 2rem .5rem;
}
h3 {
font-size: 1.563rem;
font-size: 2.074rem;
margin-block: 1.5rem .5rem;
}
h4 {
font-size: 1.25rem;
font-size: 1.728rem;
}
h5 {
font-size: 0.8rem;
font-size: 1.44rem;
}
h6 {
font-size: 1.2rem;
}
h2+h3 {