mirror of
https://github.com/matrix-org/matrix.org.git
synced 2026-01-16 23:13:50 +00:00
fix: use type scale for headline sizes
This commit is contained in:
parent
f0b4ca1049
commit
49cc8dee5d
1 changed files with 10 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue