lang/style/page.css
2020-10-30 07:57:02 +01:00

102 lines
1.2 KiB
CSS

@import url(fonts/muller/muller.css);
@import url(fonts/charis/charis.css);
@import url(fonts/pragmatapro/pragmatapro.css);
@import url(counters.css);
:root {
--root-col: hsl(0deg, 2%, 19%);
--fg-col: hsl(336deg, 17%, 11%);
--bg-col: hsl(40deg, 91%, 98%);
--link-col: hsl(355deg, 52%, 48%);
--ipa-font: Charis;
}
:root {
background: var(--root-col);
font-family: Muller;
font-size: 18pt;
height: 100vh;
}
body {
background: url(paper.png), var(--bg-col);
background-blend-mode: multiply;
color: var(--fg-col);
max-width: 42em;
min-height: 100%;
margin: 0 auto;
padding: 1em 2em 3em;
box-sizing: border-box;
}
header {
text-align: center;
}
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: 200%;
font-weight: 200;
}
h2 {
font-size: 180%;
font-weight: 200;
}
h3 {
font-size: 160%;
font-weight: 200;
}
h4 {
font-size: 140%;
font-weight: 300;
}
h5 {
font-size: 120%;
font-weight: 300;
}
h6 {
font-size: 100%;
font-weight: 400;
}
a {
color: var(--link-col);
}
b, strong {
font-weight: 600;
}
ul li {
list-style: '— ';
}
.ipa, .lang {
font-family: var(--ipa-font);
}
.lang {
font-weight: 500;
}