walter-boente_book-collection/css/style.css
2026-01-19 22:14:03 +01:00

427 lines
No EOL
8 KiB
CSS

@charset "UTF-8";
:root {
--font: "Edgar", sans-serif;
--font-title: "Heliotrope 3 Caps", sans-serif;
--font-sans: "Heliotrope 4", sans-serif;
--font-size: 12px;
--baseline: 16px;
--indent: 26px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
color: currentColor;
}
body {
-webkit-font-smoothing: antialiased; /* Chrome, Safari, iOS */
-moz-osx-font-smoothing: grayscale; /* Firefox macOS */
text-rendering: optimizeLegibility; /* meilleure lisibilité, ligatures, kerning */
font-feature-settings: "liga" 1; /* active les ligatures si la police les supporte */
font-family: var(--font);
font-size: var(--font-size);
line-height: var(--baseline);
}
@media print {
@page {
size: 134mm 205mm;
margin-top: 67px;
margin-bottom: 10mm;
margin-left: 10mm;
margin-right: 10mm;
bleed: 6mm;
marks: crop;
}
@page :left {
margin-left: 12mm;
margin-right: 32mm;
@top-left {
content: counter(page);
}
}
@page :right {
margin-left: 32mm;
margin-right: 12mm;
@top-right {
content: counter(page);
}
@top-left {
content: "Höchstpersönlichkeit";
font-variant-caps: small-caps;
letter-spacing: 0.05em;
}
}
@page :first {
@top-left-corner {
content: none;
}
@top-left {
content: none;
}
@top-center {
content: none;
}
@top-right {
content: none;
}
@top-right-corner {
content: none;
}
@left-top {
content: none;
}
@left-middle {
content: none;
}
@left-bottom {
content: none;
}
@right-top {
content: none;
}
@right-middle {
content: none;
}
@right-bottom {
content: none;
}
@bottom-left-corner {
content: none;
}
@bottom-left {
content: none;
}
@bottom-center {
content: none;
}
@bottom-right {
content: none;
}
@bottom-right-corner {
content: none;
}
}
@page :blank {
@top-left-corner {
content: none;
}
@top-left {
content: none;
}
@top-center {
content: none;
}
@top-right {
content: none;
}
@top-right-corner {
content: none;
}
@left-top {
content: none;
}
@left-middle {
content: none;
}
@left-bottom {
content: none;
}
@right-top {
content: none;
}
@right-middle {
content: none;
}
@right-bottom {
content: none;
}
@bottom-left-corner {
content: none;
}
@bottom-left {
content: none;
}
@bottom-center {
content: none;
}
@bottom-right {
content: none;
}
@bottom-right-corner {
content: none;
}
}
}
#section__content {
-moz-column-break-before: right;
break-before: right;
}
sup {
line-height: 0;
}
hr {
border: none;
height: var(--baseline);
}
a {
color: currentColor;
text-decoration: none;
}
p {
text-align: justify;
orphans: 2;
widows: 2;
}
p, li {
-webkit-hyphens: auto;
hyphens: auto;
hyphenate-limit-chars: 7 3 4;
hyphenate-limit-lines: 2;
hyphenate-limit-zone: 8%;
word-spacing: -0.004em;
}
ol[type="1"] {
list-style-type: none;
position: relative;
-moz-column-break-after: avoid;
break-after: avoid;
position: absolute;
left: calc(var(--indent) * -3);
}
ol[type="1"]::before {
content: attr(start);
font-family: var(--font-sans);
font-size: 0.6rem;
color: #999;
display: block;
padding: 0px 2px;
border: 1px solid #efefef;
min-width: 1.5ch;
display: flex;
justify-content: center;
}
.pagedjs_left_page ol[type="1"] {
left: inherit;
right: calc(var(--indent) * -3);
}
p + p,
ol[type="1"] + p {
text-indent: calc(var(--indent) * 0.5);
}
blockquote {
padding-left: var(--indent);
margin-top: calc(var(--baseline) * 1);
margin-bottom: calc(var(--baseline) * 1);
}
blockquote p {
font-style: italic;
}
blockquote p em {
font-style: normal;
}
blockquote u {
font-variant: small-caps;
text-decoration: none;
}
blockquote + ol + p {
text-indent: 0px;
}
.these::before {
content: "---";
}
.these::after {
content: "---";
}
.these::before, .these::after {
display: flex;
justify-content: center;
}
#section__content {
counter-reset: h1;
}
#section__content h1 {
counter-increment: h1 1;
counter-reset: h2;
}
#section__content h1::before {
content: counter(h1, upper-alpha);
}
#section__content h2 {
counter-increment: h2 1;
counter-reset: h3;
}
#section__content h2::before {
content: counter(h2, upper-roman);
}
#section__content h3 {
counter-increment: h3 1;
counter-reset: h4;
}
#section__content h3::before {
content: counter(h3);
}
#section__content h4 {
counter-increment: h4 1;
counter-reset: h5;
}
#section__content h4::before {
content: counter(h4, lower-alpha) ". ";
}
#section__content h5 {
counter-increment: h5 1;
counter-reset: h6;
}
#section__content h5::before {
content: counter(h5, lower-alpha) counter(h5, lower-alpha) ". ";
}
#section__content h1, #section__content h2, #section__content h3 {
-moz-column-break-inside: avoid;
break-inside: avoid;
-moz-column-break-after: avoid;
break-after: avoid;
/* hack for avoiding break-after */
margin-bottom: calc(var(--baseline) * -3);
}
#section__content h1::after, #section__content h2::after, #section__content h3::after {
content: "";
display: block;
height: calc(var(--baseline) * 3);
}
#section__content h1 + ol + p,
#section__content h2 + ol + p,
#section__content h3 + ol + p,
#section__content h4 + ol + p,
#section__content h5 + ol + p,
#section__content h6 + ol + p {
text-indent: 0;
}
#section__content h1 {
font-family: var(--font-title);
font-weight: normal;
font-size: 1.5rem;
line-height: calc(var(--baseline) * 1.4);
text-align: center;
position: relative;
margin-top: calc(var(--baseline) * 3 - 3px);
padding-bottom: calc(var(--baseline) * 1);
padding-left: 1ch;
padding-right: 1ch;
}
#section__content h1::before {
display: block;
font-size: 1rem;
}
#section__content h1:first-of-type {
margin-top: 3px !important;
}
#section__content h2 {
font-family: var(--font-title);
font-weight: normal;
font-size: 1.3rem;
line-height: calc(var(--baseline) * 1.2);
text-align: right;
padding-left: 3ch;
position: relative;
margin-top: calc(var(--baseline) * 1 + 9px);
padding-bottom: calc(var(--baseline) * 1);
}
#section__content h2::before {
position: absolute;
left: 0;
}
#section__content h3 {
font-family: var(--font-sans);
font-weight: normal;
font-size: 1rem;
line-height: calc(var(--baseline) * 1);
text-align: right;
padding-left: 3ch;
position: relative;
margin-top: calc(var(--baseline) * 1 + 9px);
padding-bottom: calc(var(--baseline) * 1);
}
#section__content h3::before {
position: absolute;
left: 0;
}
#section__content h4 {
font-family: var(--font-sans);
font-weight: normal;
font-size: 0.8rem;
line-height: calc(var(--baseline) * 1);
text-align: right;
padding-left: 3ch;
position: relative;
margin-top: calc(var(--baseline) * 0.5);
margin-bottom: calc(var(--baseline) * 0.5);
font-weight: 500;
}
#section__content h5 {
font-family: var(--font-sans);
font-weight: normal;
font-size: 0.7rem;
line-height: calc(var(--baseline) * 1);
position: relative;
margin-top: calc(var(--baseline) * 0.75);
margin-bottom: calc(var(--baseline) * 0.25);
}
[data-id=section__content][data-split-from] > :first-child {
margin-top: 0;
}
@page {
@footnote {
float: bottom;
}
}
.pagedjs_footnote_content {
padding-top: calc(var(--baseline) * 1);
}
.inline-note {
float: footnote;
font-size: 9px;
line-height: calc(var(--baseline) * 0.9);
padding-left: var(--indent);
position: relative;
font-weight: 100;
}
.inline-note::marker {
display: none;
content: "";
}
[data-counter-note]::before {
content: attr(data-counter-note) ".";
position: absolute;
left: 0px;
}
[data-footnote-call] {
font-size: 9px;
}
#section__list-of-abbr {
display: none;
color: red;
}/*# sourceMappingURL=style.css.map */