CSS: tweak heading sizes and spacing.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2021-12-30 10:05:49 +00:00
parent abb898f484
commit cfba8e4c59
1 changed files with 22 additions and 10 deletions

View File

@ -36,7 +36,7 @@ body > section {
max-width: 83.33333%; max-width: 83.33333%;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6, h7, h8 {
margin: 1.875rem 0 1rem; margin: 1.875rem 0 1rem;
} }
@ -46,6 +46,12 @@ h1, h2, h3, h4 {
font-weight: 100; font-weight: 100;
} }
h5, h6, h7, h8 {
font-family: 'robotomedium',Arial,Helvetica Neue,Helvetica,sans-serif;
line-height: 1.5;
font-weight: 125;
}
h1 { h1 {
font-size: 2.5rem; font-size: 2.5rem;
} }
@ -55,7 +61,7 @@ h2 {
} }
h3 { h3 {
font-size: 1.8rem; font-size: 1.85rem;
} }
h3 code { h3 code {
@ -63,24 +69,30 @@ h3 code {
} }
h4 { h4 {
font-size: 1.4rem; font-size: 1.5rem;
} }
h4 code { h4 code {
font-size: 1.3rem; font-size: 1.35rem;
}
h5, h6 {
font-family: 'robotomedium',Arial,Helvetica Neue,Helvetica,sans-serif;
line-height: 1.6;
} }
h5 { h5 {
font-size: 1.25rem; font-size: 1.3rem;
} }
h6 { h6 {
font-size: 1.3rem;
line-height: 1.3;
}
h7 {
font-size: 1.25rem;
line-height: 2.5;
}
h8 {
font-size: 1.2rem; font-size: 1.2rem;
line-height: 2.5;
} }
blockquote { blockquote {