style tweaks

This commit is contained in:
Rhiannon Morris 2020-08-18 18:47:03 +02:00
parent d88c4c14b3
commit c9932faeb8
2 changed files with 35 additions and 19 deletions

View file

@ -1,5 +1,9 @@
:root { :root {
--section-prefix: '§ '; --section-prefix: '';
}
h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
padding-right: 1ex;
} }
main h1 { main h1 {

View file

@ -7,8 +7,7 @@
--root-col: hsl(0deg, 2%, 19%); --root-col: hsl(0deg, 2%, 19%);
--fg-col: hsl(336deg, 17%, 11%); --fg-col: hsl(336deg, 17%, 11%);
--bg-col: hsl(40deg, 91%, 98%); --bg-col: hsl(40deg, 91%, 98%);
--link-col: hsl(188deg, 39%, 26%); --link-col: hsl(355deg, 52%, 48%);
--head-col: hsl(355deg, 52%, 48%);
} }
:root { :root {
@ -34,49 +33,62 @@ body {
} }
h1, h2, h3, h4, h5, h6 { header {
color: var(--head-col); text-align: center;
margin: 1.5em 0 0.5em;
} }
h1::before, h2::before, h3::before, h4::before, h5::before, h6::before { header h1 {
padding-right: 2ex; font-size: 350%;
font-weight: 100;
margin-top: 0;
}
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.25em;
} }
h1 { h1 {
font-size: 130%; font-size: 200%;
font-weight: 800; font-weight: 200;
} }
h2 { h2 {
font-size: 120%; font-size: 180%;
font-weight: 800; font-weight: 200;
} }
h3 { h3 {
font-size: 100%; font-size: 160%;
font-weight: 800; font-weight: 200;
} }
h4 { h4 {
font-size: 100%; font-size: 140%;
font-weight: 700; font-weight: 300;
} }
h5 { h5 {
font-size: 100%; font-size: 120%;
font-weight: 600; font-weight: 300;
} }
h6 { h6 {
font-size: 100%; font-size: 100%;
font-weight: 500; font-weight: 400;
} }
a { a {
color: var(--link-col); color: var(--link-col);
} }
b, strong {
font-weight: 600;
}
ul li {
list-style: '— ';
}
.ipa, .lang { .ipa, .lang {
font-family: Andika; font-family: Andika;