mirror of
https://github.com/matrix-org/matrix.org.git
synced 2026-01-16 23:13:50 +00:00
fix: use major third scale
This commit is contained in:
parent
49cc8dee5d
commit
276bc22b27
1 changed files with 6 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue