CSS: Improve the font weight and size of code in headings.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira-Emma Hopwood 2024-02-07 16:51:19 +00:00
parent 46a885f1cd
commit 406b7e86d9
1 changed files with 13 additions and 1 deletions

View File

@ -186,17 +186,28 @@ h1 {
margin-bottom: 1.5rem;
}
h1 code {
font-size: 2.25rem;
font-weight: 300;
}
h2 {
font-size: 2.125rem;
margin-bottom: 1.125rem;
}
h2 code {
font-size: 1.9rem;
font-weight: 300;
}
h3 {
font-size: 1.85rem;
}
h3 code {
font-size: 1.5rem;
font-size: 1.65rem;
font-weight: 300;
}
h4 {
@ -205,6 +216,7 @@ h4 {
h4 code {
font-size: 1.35rem;
font-weight: 200;
}
h5 {