walter-boente_book-collection/css/style.css
2026-01-21 11:29:21 +01:00

413 lines
No EOL
8.4 KiB
CSS

@charset "UTF-8";
:root {
--font: "Edgar", sans-serif;
--font-title: "Moulin", sans-serif;
--w-title: normal;
--font-sans: "Moulin", sans-serif;
--font-sans-txt: "Moulin", sans-serif;
--font-size: 12px;
--fs-small-q: 11px;
--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: 35px;
margin-bottom: 20mm;
margin-left: 10mm;
margin-right: 10mm;
}
@page :left {
margin-left: 12mm;
margin-right: 32mm;
@bottom-left {
content: counter(page);
font-family: var(--font-title);
font-size: 11px;
}
}
@page :right {
margin-left: 32mm;
margin-right: 12mm;
@bottom-right {
content: counter(page);
font-family: var(--font-title);
font-size: 11px;
}
@bottom-left {
content: "Höchstpersönlichkeit";
font-family: var(--font-title);
font-size: 11px;
}
}
@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) * -2);
}
ol[type="1"]::before {
content: attr(start);
font-family: var(--font-sans-txt);
font-size: 9px;
color: #999;
display: block;
padding: 0px 2px;
border: 1px solid #cfcfcf;
min-width: 1.5ch;
display: flex;
justify-content: center;
}
.pagedjs_left_page ol[type="1"] {
left: inherit;
right: calc(var(--indent) * -2);
}
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);
font-family: var(--font-sans-txt);
font-size: var(--fs-small-q);
line-height: calc(var(--baseline) * 0.9);
}
blockquote .inline-note::after {
font-family: var(--font);
line-height: 0;
font-size: var(--font-size) !important;
}
.these + ol + p,
blockquote + ol + p {
text-indent: 0px;
}
.these {
margin-bottom: var(--baseline);
padding-left: var(--indent);
border-left: 4px solid #efefef;
}
#section__content h1, #section__content h2, #section__content h3 {
text-wrap: balance;
}
#section__content h1::before, #section__content h2::before, #section__content h3::before {
content: attr(data-counter);
}
#section__content h4, #section__content h5, #section__content h6 {
text-wrap: balance;
}
#section__content h4::before, #section__content h5::before, #section__content h6::before {
content: attr(data-counter) ". ";
}
#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 h4, #section__content h5, #section__content h6 {
-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) * -2);
}
#section__content h4::after, #section__content h5::after, #section__content h6::after {
content: "";
display: block;
height: calc(var(--baseline) * 2);
}
#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);
text-transform: uppercase;
font-weight: var(--w-title);
font-size: 1.3rem;
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);
text-transform: uppercase;
font-weight: var(--w-title);
font-size: 1.1rem;
line-height: calc(var(--baseline) * 1.2);
text-align: right;
padding-left: 4ch;
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: var(--w-title);
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: var(--w-title);
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);
padding: calc(var(--baseline) * 0.5);
}
#section__content h5 {
font-family: var(--font-sans);
font-weight: var(--w-title);
font-size: 0.7rem;
line-height: calc(var(--baseline) * 1);
position: relative;
margin-top: calc(var(--baseline) * 0.75);
padding-bottom: calc(var(--baseline) * 0.25);
}
[data-id=section__content][data-split-from] > :first-child {
margin-top: 0;
}
@page {
@footnote {
float: bottom;
max-height: 90%;
}
}
.pagedjs_footnote_content {
padding-top: calc(var(--baseline) * 1);
}
.inline-note {
float: footnote;
font-size: 9.5px;
line-height: 12.8px;
padding-left: var(--indent);
position: relative;
}
.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 */