92 lines
1.7 KiB
CSS
92 lines
1.7 KiB
CSS
:root {
|
|
--bs-body-font-family: Georgia, "Iowan Old Style", "Palatino Linotype",
|
|
"Times New Roman", serif;
|
|
}
|
|
|
|
.v {
|
|
font-size: .7em;
|
|
font-weight: 700;
|
|
vertical-align: super;
|
|
line-height: 0;
|
|
margin-right: .15em;
|
|
color: var(--bs-secondary-color);
|
|
user-select: none;
|
|
}
|
|
|
|
.v:focus-visible {
|
|
outline: 2px solid var(--bs-primary);
|
|
outline-offset: 2px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.chapter-number {
|
|
font-size: 2rem;
|
|
font-weight: 400;
|
|
color: var(--bs-secondary-color);
|
|
margin: 2rem 0 .75rem;
|
|
}
|
|
|
|
.poetry { margin-bottom: 1rem; }
|
|
.poetry .line {
|
|
margin: 0;
|
|
padding-left: 1.5em;
|
|
text-indent: -1.5em;
|
|
}
|
|
.poetry .line[data-indent="2"] { padding-left: 3em; }
|
|
.poetry .line[data-indent="3"] { padding-left: 4.5em; }
|
|
|
|
.d {
|
|
font-style: italic;
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
|
|
.footnotes {
|
|
font-size: .875rem;
|
|
color: var(--bs-secondary-color);
|
|
}
|
|
.footnotes-title { font-size: 1rem; }
|
|
.marker { font-weight: 700; }
|
|
|
|
.noteref,
|
|
.marker { font-variant-emoji: text; }
|
|
|
|
.chapter,
|
|
.v { scroll-margin-top: 4.5rem; }
|
|
|
|
.reference .form-select {
|
|
width: auto;
|
|
padding-right: 2rem;
|
|
}
|
|
|
|
.index ul {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.index .count { display: none; }
|
|
|
|
/* Book-style justified prose: even right margin, hyphenated to keep
|
|
word spacing tight. Poetry, headings and titles stay ragged-right. */
|
|
.book .p,
|
|
.book .m,
|
|
.book .pi,
|
|
.book .ip,
|
|
.book .li,
|
|
.book .ili,
|
|
.footnotes .note {
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
-webkit-hyphens: auto;
|
|
hyphens: auto;
|
|
hyphenate-limit-chars: 6 3 3;
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
.poetry .line,
|
|
.book .sp,
|
|
.book .d {
|
|
text-align: left;
|
|
-webkit-hyphens: manual;
|
|
hyphens: manual;
|
|
}
|