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 {
--section-prefix: '§ ';
--section-prefix: '';
}
h1::before, h2::before, h3::before, h4::before, h5::before, h6::before {
padding-right: 1ex;
}
main h1 {

View file

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