fix: use major third scale

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

View file

@ -31,33 +31,30 @@ h5 {
line-height: 1.3;
}
// These headlines are using a "minor third" type scale (scaling factor is 1.2)
// These headlines are using a "major third" type scale (scaling factor is 1.25) - h6 is not usable
h1 {
margin-top: 0;
font-size: 2.986rem;
font-size: 3.0517rem;
}
h2 {
font-size: 2.488rem;
font-size: 2.4414rem;
margin-block: 2rem .5rem;
}
h3 {
font-size: 2.074rem;
font-size: 1.9531rem;
margin-block: 1.5rem .5rem;
}
h4 {
font-size: 1.728rem;
font-size: 1.5625rem;
}
h5 {
font-size: 1.44rem;
font-size: 1.25rem;
}
h6 {
font-size: 1.2rem;
}
h2+h3 {
margin-block-start: 1rem;