119 lines
1.4 KiB
CSS
119 lines
1.4 KiB
CSS
:root {
|
|
--muted: #666;
|
|
}
|
|
|
|
body {
|
|
max-width: 70ch;
|
|
margin: 0 auto;
|
|
padding: 2rem 1.25rem;
|
|
line-height: 1.5;
|
|
font-family: Georgia, "Iowan Old Style", Palatino, serif;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-size: inherit;
|
|
margin: 1.5rem 0 0.5rem;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0 0 1.5rem;
|
|
}
|
|
|
|
h3 {
|
|
font-style: italic;
|
|
font-weight: normal;
|
|
}
|
|
|
|
p {
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
a {
|
|
color: black;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--muted);
|
|
}
|
|
|
|
nav {
|
|
margin-bottom: 2rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
dt:not(:first-child) {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
dd {
|
|
margin: 0;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
figure {
|
|
margin: 1.5rem 0;
|
|
width: fit-content;
|
|
max-width: 100%;
|
|
}
|
|
|
|
figcaption {
|
|
font-style: italic;
|
|
color: var(--muted);
|
|
margin-top: 0.4rem;
|
|
text-align: center;
|
|
}
|
|
|
|
pre {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
pre:has(> code) {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
hr {
|
|
border: 0;
|
|
border-top: 1px solid var(--muted);
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.anchor {
|
|
text-decoration: none;
|
|
margin-right: 0.3em;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.anchor:hover {
|
|
color: black;
|
|
}
|
|
|
|
.notes {
|
|
display: grid;
|
|
grid-template-columns: minmax(2.5rem, min-content) 1fr;
|
|
gap: 0.5rem 0.75rem;
|
|
margin: 1.5rem 0;
|
|
}
|
|
|
|
.notes .meta {
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.notes p { margin: 0; }
|
|
.notes p + p { margin-top: 0.5rem; }
|
|
|
|
.notes--dialogue .meta {
|
|
text-align: right;
|
|
font-style: italic;
|
|
}
|