101 lines
1.2 KiB
CSS
101 lines
1.2 KiB
CSS
|
body {
|
||
|
font-family: "Fira Sans";
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
h1,
|
||
|
h2,
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6 {
|
||
|
margin: 0 0;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
[template-type="front"] h1 {
|
||
|
font-size: 48px;
|
||
|
}
|
||
|
h1 {
|
||
|
font-weight: bold;
|
||
|
font-size: 32px;
|
||
|
margin: 0 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
h1,
|
||
|
h2,
|
||
|
h3 {
|
||
|
line-height: 125%;
|
||
|
}
|
||
|
h3 {
|
||
|
}
|
||
|
article {
|
||
|
line-height: 1.5;
|
||
|
}
|
||
|
li p {
|
||
|
margin: 0 0;
|
||
|
}
|
||
|
article h2, article h3, article h4, article h5 {
|
||
|
margin-top: .5rem;
|
||
|
}
|
||
|
a,
|
||
|
a[visited] {
|
||
|
color: var(--accent);
|
||
|
}
|
||
|
a p {
|
||
|
color: var(--text);
|
||
|
}
|
||
|
ul {
|
||
|
padding-left: 2ch;
|
||
|
}
|
||
|
|
||
|
figure {
|
||
|
margin: 2rem 0;
|
||
|
}
|
||
|
article img {
|
||
|
border: 1px solid red;
|
||
|
max-width: 100%;
|
||
|
|
||
|
}
|
||
|
ins {
|
||
|
font-family: monospace;
|
||
|
text-decoration: none;
|
||
|
font-size: 70%;
|
||
|
background: color-mix(in srgb, LawnGreen 15%, transparent);
|
||
|
padding: 4px;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
ins p {
|
||
|
display: inline;
|
||
|
}
|
||
|
sup li, article li:has(.footnote-back), li[count] {
|
||
|
list-style: none;
|
||
|
}
|
||
|
ins::before {
|
||
|
content: "+ ";
|
||
|
color: LawnGreen;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
[template-type="front"] h2 {
|
||
|
font-size: 20px;
|
||
|
font-style: italic;
|
||
|
font-weight: light;
|
||
|
}
|
||
|
sup:has(li),
|
||
|
article li:has(.footnote-back),
|
||
|
.footnote {
|
||
|
font-family: monospace;
|
||
|
font-size: 80%;
|
||
|
line-height: 1.5;
|
||
|
}
|
||
|
.csl-entry {
|
||
|
margin-top: 1rem;
|
||
|
}
|
||
|
|
||
|
sup li p, article li:has(.footnote-back) p {
|
||
|
margin-top: 0;
|
||
|
}
|
||
|
|
||
|
p {
|
||
|
break-inside: avoid;
|
||
|
}
|