124 lines
1.4 KiB
CSS
Raw Normal View History

2025-02-15 10:19:38 +01:00
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%;
}
2025-02-16 13:52:06 +01:00
header.sm h2 {
font-weight: normal;
}
article header h2 {
font-weight:normal;
}
2025-02-15 10:19:38 +01:00
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);
}
2025-03-01 16:38:05 +01:00
a p, a figcaption {
2025-02-15 10:19:38 +01:00
color: var(--text);
}
ul {
padding-left: 2ch;
}
figure {
margin: 2rem 0;
}
article img {
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;
}
2025-03-01 16:38:05 +01:00
sup li, li[count] {
2025-02-15 10:19:38 +01:00
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),
2025-03-01 16:38:05 +01:00
article li[count],
aside:not(aside aside), figcaption,
2025-02-15 10:19:38 +01:00
.footnote {
font-family: monospace;
font-size: 80%;
line-height: 1.5;
}
2025-03-01 16:38:05 +01:00
figcaption {
line-height: 1.1;
}
2025-02-15 10:19:38 +01:00
.csl-entry {
margin-top: 1rem;
}
sup li p, article li:has(.footnote-back) p {
margin-top: 0;
}
2025-03-01 16:38:05 +01:00
aside hr {
display: none;
}
2025-02-16 13:52:06 +01:00
2025-02-15 10:19:38 +01:00
p {
break-inside: avoid;
2025-03-01 16:38:05 +01:00
}
article ol {
padding-left: 2ch;
margin-top: .5em;
margin-bottom: .5em;
2025-02-15 10:19:38 +01:00
}