lang/style/page.css

203 lines
2.6 KiB
CSS
Raw Normal View History

2020-08-18 04:33:25 -04:00
@import url(fonts/muller/muller.css);
2020-10-30 02:56:57 -04:00
@import url(fonts/charis/charis.css);
@import url(fonts/pragmatapro/pragmatapro.css);
2020-08-18 04:33:25 -04:00
@import url(counters.css);
:root {
2020-11-04 13:06:04 -05:00
--root-col: hsl(30deg, 5%, 26%);
2020-08-18 04:33:25 -04:00
--fg-col: hsl(336deg, 17%, 11%);
--bg-col: hsl(40deg, 91%, 98%);
2020-08-18 12:47:03 -04:00
--link-col: hsl(355deg, 52%, 48%);
2020-10-30 02:56:57 -04:00
--ipa-font: Charis;
2020-08-18 04:33:25 -04:00
}
:root {
background: var(--root-col);
font-family: Muller;
2020-11-04 13:06:04 -05:00
font-size: 15pt;
2020-08-18 04:33:25 -04:00
height: 100vh;
}
body {
background: url(paper.png), var(--bg-col);
background-blend-mode: multiply;
color: var(--fg-col);
2020-11-04 13:06:04 -05:00
box-shadow: 0 0 5em var(--fg-col);
2020-08-18 04:33:25 -04:00
2020-11-04 13:06:04 -05:00
max-width: 50em;
2020-08-18 04:33:25 -04:00
min-height: 100%;
margin: 0 auto;
padding: 1em 2em 3em;
box-sizing: border-box;
}
2020-08-18 12:47:03 -04:00
header {
text-align: center;
}
header h1 {
font-size: 350%;
font-weight: 100;
margin-top: 0;
2020-08-18 04:33:25 -04:00
}
2020-08-18 12:47:03 -04:00
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.25em;
2020-08-18 04:33:25 -04:00
}
h1 {
2020-08-18 12:47:03 -04:00
font-size: 200%;
font-weight: 200;
2020-08-18 04:33:25 -04:00
}
h2 {
2020-08-18 12:47:03 -04:00
font-size: 180%;
font-weight: 200;
2020-08-18 04:33:25 -04:00
}
h3 {
2020-08-18 12:47:03 -04:00
font-size: 160%;
font-weight: 200;
2020-08-18 04:33:25 -04:00
}
h4 {
2020-08-18 12:47:03 -04:00
font-size: 140%;
font-weight: 300;
2020-08-18 04:33:25 -04:00
}
h5 {
2020-08-18 12:47:03 -04:00
font-size: 120%;
font-weight: 300;
2020-08-18 04:33:25 -04:00
}
h6 {
font-size: 100%;
2020-08-18 12:47:03 -04:00
font-weight: 400;
2020-08-18 04:33:25 -04:00
}
a {
color: var(--link-col);
}
2020-08-18 12:47:03 -04:00
b, strong {
font-weight: 600;
}
ul li {
list-style: '— ';
}
2020-11-04 13:06:04 -05:00
table {
margin: auto;
border-spacing: 0;
border-top: 2px solid var(--root-col);
border-bottom: 2px solid var(--root-col);
}
th {
font-weight: 500;
border-bottom: 1px solid var(--root-col);
}
td, th {
padding: 0 0.5em;
vertical-align: text-bottom;
}
code {
font-family: PragmataPro;
font-size: 90%;
}
pre {
width: min-content;
margin: auto;
}
2020-08-18 04:33:25 -04:00
.ipa, .lang {
2020-10-30 02:56:57 -04:00
font-family: var(--ipa-font);
}
.lang {
font-weight: 500;
2020-08-18 04:33:25 -04:00
}
2020-11-04 13:06:04 -05:00
.abbr {
font-size: 70%;
font-weight: 500;
}
#toc > h2 {
font-size: 120%;
font-weight: 300;
}
#toc > ul {
columns: 2;
margin-left: 2em;
margin-right: 2em;
}
figure {
text-align: center;
}
figure table {
display: inline-table;
margin: 0.5em 0.5em;
}
.gloss {
border: none;
text-align: left;
}
.gloss-lang, .gloss-pron, .gloss-split {
font-family: var(--ipa-font);
line-height: 115%;
}
figure ul {
text-align: left;
margin-left: 5em;
margin-right: 5em;
columns: 2;
}
figure li {
break-inside: avoid;
}
dt { font-weight: 500; float: left; clear: left; }
dd { margin-left: 4em; }
dt {
break-after: avoid;
}
dd {
break-before: avoid;
}
.twocol {
columns: 2;
}
.threecol {
columns: 3;
}
.twocol :first-child, .threecol :first-child {
margin-top: 0;
}
footer {
border-top: 1px solid var(--root-col);
width: 80%;
margin: 2em auto 1em;
padding-top: 0.5em;
font-size: 80%;
font-weight: 500;
text-align: center;
}