walter-boente_book-collection/css/style.css

524 lines
9.9 KiB
CSS
Raw Normal View History

2026-01-19 22:14:03 +01:00
@charset "UTF-8";
:root {
2026-04-09 19:37:52 +02:00
--font: 'Moulin', sans-serif;
--font-serif: 'Moulin', sans-serif;
2026-04-09 21:52:21 +02:00
--font-quote: 'Louize', sans-serif;
2026-04-09 19:37:52 +02:00
--font-sans: 'Basis Grotesque Pro', sans-serif;
2026-04-09 21:52:21 +02:00
--font-size: 12px;
--fs-small: 9.8px;
--baseline: 18px;
2026-01-19 22:14:03 +01:00
--indent: 26px;
2026-04-09 21:52:21 +02:00
--fs-num: 12px;
2026-01-19 22:14:03 +01:00
}
* {
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 {
2026-01-20 22:37:15 +01:00
size: 176mm 240mm;
2026-04-09 21:52:21 +02:00
margin-top: 6mm;
margin-bottom: 18mm;
2026-01-19 22:14:03 +01:00
}
@page :left {
2026-04-09 21:52:21 +02:00
margin-left: 6mm;
margin-right: 12mm;
2026-01-19 23:14:58 +01:00
@bottom-left {
2026-01-19 22:14:03 +01:00
content: counter(page);
2026-04-09 19:37:52 +02:00
font-family: var(--font-sans);
2026-01-19 23:14:58 +01:00
font-size: var(--fs-num);
2026-04-09 19:37:52 +02:00
text-align: left;
2026-04-09 21:52:21 +02:00
width: 10mm;
2026-04-09 19:37:52 +02:00
}
@bottom-center {
content: "Höchstpersönlichkeit";
font-family: var(--font-sans);
font-size: var(--fs-num);
text-align: left;
2026-01-19 22:14:03 +01:00
}
}
@page :right {
2026-04-09 21:52:21 +02:00
margin-left: 12mm;
margin-right: 6mm;
2026-04-09 19:37:52 +02:00
@bottom-left {
content: string(chapterCount);
font-family: var(--font-sans);
font-size: var(--fs-num);
text-align: left;
2026-04-09 21:52:21 +02:00
width: 10mm;
2026-04-09 19:37:52 +02:00
}
@bottom-center {
content: string(chapter);
font-family: var(--font-sans);
font-size: var(--fs-num);
2026-01-20 19:05:58 +01:00
text-align: left;
2026-01-19 22:14:03 +01:00
}
2026-04-09 21:52:21 +02:00
@bottom-right {
content: counter(page);
font-family: var(--font-sans);
font-size: var(--fs-num);
text-align: right;
}
2026-01-19 22:14:03 +01:00
}
@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;
}
}
2026-04-09 19:37:52 +02:00
@page chapter {
2026-04-09 21:52:21 +02:00
margin-left: 6mm;
margin-right: 6mm;
2026-04-09 19:37:52 +02:00
@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;
}
}
2026-01-19 22:14:03 +01:00
}
#section__content {
-moz-column-break-before: right;
break-before: right;
}
2026-04-09 19:37:52 +02:00
.page-break {
-moz-column-break-before: page;
break-before: page;
}
#section__content {
-moz-columns: 2;
columns: 2;
2026-04-09 21:52:21 +02:00
-moz-column-gap: 4mm;
column-gap: 4mm;
2026-04-09 19:37:52 +02:00
-moz-column-fill: auto;
column-fill: auto;
}
#section__content h1 {
-moz-column-break-before: left;
break-before: left;
-moz-column-break-after: page;
break-after: page;
page: chapter;
}
#section__content h1 .h1-count {
string-set: chapterCount content(text);
}
#section__content h1 .h1-text {
string-set: chapter content(text);
}
2026-01-19 22:14:03 +01:00
sup {
line-height: 0;
}
2026-03-09 23:11:46 +01:00
.smallcaps {
font-variant: small-caps;
}
2026-01-19 22:14:03 +01:00
hr {
border: none;
height: var(--baseline);
}
a {
color: currentColor;
text-decoration: none;
}
p {
text-align: justify;
orphans: 2;
widows: 2;
2026-04-10 11:24:39 +02:00
margin-left: 10mm;
2026-01-19 22:14:03 +01:00
}
p, li {
2026-03-09 23:11:46 +01:00
hyphens: auto;
2026-01-19 22:14:03 +01:00
hyphenate-limit-chars: 7 3 4;
hyphenate-limit-lines: 2;
hyphenate-limit-zone: 8%;
word-spacing: -0.004em;
}
2026-04-10 11:46:11 +02:00
.wrapper-indent {
color: red;
}
.wrapper-indent > p:first-of-type {
text-indent: 5mm;
}
2026-01-19 22:14:03 +01:00
blockquote {
2026-04-09 21:52:21 +02:00
font-family: var(--font-quote);
}
2026-01-20 13:32:39 +01:00
2026-04-09 22:10:24 +02:00
ul {
color: red;
2026-01-19 22:14:03 +01:00
}
2026-04-09 22:03:28 +02:00
.p-these {
font-weight: 500;
2026-04-10 11:24:39 +02:00
margin-bottom: calc(var(--baseline) * 0.5);
2026-04-09 22:03:28 +02:00
}
.p-these strong {
text-transform: uppercase;
display: inline-block;
min-width: 20mm;
font-weight: bold;
font-size: var(--fs-small);
letter-spacing: 0.05rem;
}
.p-these-last {
2026-01-20 19:05:58 +01:00
margin-bottom: calc(var(--baseline) * 1);
2026-01-19 22:14:03 +01:00
}
2026-01-19 23:37:32 +01:00
ol[type="1"] {
list-style-type: none;
position: relative;
-moz-column-break-after: avoid;
break-after: avoid;
2026-04-09 22:28:24 +02:00
width: 10mm;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
2026-01-19 23:37:32 +01:00
}
2026-01-20 22:37:15 +01:00
ol[type="1"]::after {
2026-01-19 23:37:32 +01:00
content: attr(start);
2026-04-09 21:52:21 +02:00
display: block;
position: absolute;
2026-01-20 22:37:15 +01:00
font-size: var(--fs-small);
2026-04-09 21:52:21 +02:00
opacity: 0.5;
2026-01-19 23:37:32 +01:00
}
2026-04-10 11:24:39 +02:00
ol[type="1"].ol-clone {
-moz-column-break-before: column;
break-before: column;
-moz-column-break-after: avoid;
break-after: avoid;
top: 0;
left: 81mm;
}
2026-04-09 19:37:52 +02:00
#section__content h1 {
-moz-column-span: all;
column-span: all;
2026-04-09 21:52:21 +02:00
height: 215mm;
2026-01-20 13:32:39 +01:00
}
2026-04-09 21:52:21 +02:00
#section__content h2::before, #section__content h3::before, #section__content h4::before, #section__content h5::before, #section__content h6::before {
2026-01-20 21:30:25 +01:00
content: attr(data-counter);
2026-01-20 19:05:58 +01:00
}
2026-04-09 19:37:52 +02:00
#section__content h2, #section__content h3, #section__content h4 {
2026-01-19 22:14:03 +01:00
-moz-column-break-inside: avoid;
break-inside: avoid;
-moz-column-break-after: avoid;
break-after: avoid;
2026-01-20 21:12:05 +01:00
text-wrap: balance;
2026-01-19 22:14:03 +01:00
/* hack for avoiding break-after */
margin-bottom: calc(var(--baseline) * -3);
}
2026-04-09 19:37:52 +02:00
#section__content h2::after, #section__content h3::after, #section__content h4::after {
2026-01-19 22:14:03 +01:00
content: "";
display: block;
height: calc(var(--baseline) * 3);
}
2026-01-20 19:05:58 +01:00
#section__content h5, #section__content h6 {
-moz-column-break-inside: avoid;
break-inside: avoid;
-moz-column-break-after: avoid;
break-after: avoid;
2026-01-20 21:12:05 +01:00
text-wrap: balance;
2026-01-20 19:05:58 +01:00
/* hack for avoiding break-after */
margin-bottom: calc(var(--baseline) * -2);
}
#section__content h5::after, #section__content h6::after {
content: "";
display: block;
height: calc(var(--baseline) * 2);
}
2026-01-19 22:14:03 +01:00
#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;
}
2026-04-09 19:37:52 +02:00
#section__content h1 {
font-weight: 200;
2026-04-09 21:52:21 +02:00
font-size: 115px;
line-height: 0.9;
2026-04-09 19:37:52 +02:00
hyphens: auto;
-moz-column-break-inside: avoid;
break-inside: avoid;
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: center;
}
#section__content h1 span {
display: block;
}
2026-01-19 22:14:03 +01:00
#section__content h2 {
2026-04-09 21:52:21 +02:00
font-size: 22px;
font-weight: 200;
2026-01-19 23:14:58 +01:00
text-transform: uppercase;
2026-04-09 21:52:21 +02:00
text-align: center;
line-height: calc(var(--baseline) * 1.4);
margin-top: 4mm;
padding-bottom: 4mm;
hyphens: auto;
2026-01-19 22:14:03 +01:00
}
#section__content h2::before {
2026-04-09 21:52:21 +02:00
display: block;
2026-01-19 22:14:03 +01:00
}
#section__content h3 {
2026-01-19 23:14:58 +01:00
font-weight: 500;
2026-04-09 21:52:21 +02:00
font-size: 1em;
line-height: calc(var(--baseline) * 0.75);
2026-01-19 22:14:03 +01:00
position: relative;
2026-04-09 21:52:21 +02:00
margin-top: 4mm;
padding-bottom: 4mm;
padding-left: 10mm;
text-align: center;
2026-01-19 22:14:03 +01:00
}
#section__content h3::before {
2026-04-09 21:52:21 +02:00
display: block;
2026-01-19 22:14:03 +01:00
}
#section__content h4 {
2026-01-19 23:14:58 +01:00
font-weight: 500;
2026-04-09 21:52:21 +02:00
font-size: 1em;
line-height: calc(var(--baseline) * 0.75);
2026-01-19 22:14:03 +01:00
position: relative;
2026-04-09 21:52:21 +02:00
margin-top: calc(var(--baseline) * 1);
padding-bottom: calc(var(--baseline) * 0.5);
padding-left: 20mm;
}
#section__content h4::before {
display: block;
position: absolute;
left: 10mm;
2026-01-19 22:14:03 +01:00
}
#section__content h5 {
2026-04-09 21:52:21 +02:00
font-weight: normal;
font-size: 1em;
2026-04-09 22:03:28 +02:00
line-height: calc(var(--baseline) * 0.75);
2026-01-19 22:14:03 +01:00
position: relative;
2026-04-09 21:52:21 +02:00
margin-top: calc(var(--baseline) * 1);
2026-01-19 23:14:58 +01:00
padding-bottom: calc(var(--baseline) * 0.25);
2026-04-09 21:52:21 +02:00
padding-left: 10mm;
text-indent: 10mm;
}
#section__content h5::before {
display: block;
position: absolute;
left: 0;
2026-01-19 22:14:03 +01:00
}
2026-01-20 19:05:58 +01:00
#section__content h6 {
2026-04-09 21:52:21 +02:00
font-weight: normal;
font-size: 1em;
2026-04-09 22:03:28 +02:00
line-height: calc(var(--baseline) * 0.75);
2026-04-09 21:52:21 +02:00
position: relative;
margin-top: calc(var(--baseline) * 1);
padding-left: 10mm;
text-indent: 10mm;
}
#section__content h6::before {
display: block;
position: absolute;
left: 0;
2026-01-20 19:05:58 +01:00
}
2026-01-19 22:14:03 +01:00
[data-id=section__content][data-split-from] > :first-child {
margin-top: 0;
}
2026-03-09 23:11:46 +01:00
#section__list-of-abbr {
display: none;
color: red;
2026-01-19 22:14:03 +01:00
}
2026-03-09 23:11:46 +01:00
.container-following-note {
2026-04-09 21:52:21 +02:00
font-family: var(--font-sans);
2026-01-20 22:37:15 +01:00
font-size: var(--fs-small);
2026-04-09 21:52:21 +02:00
line-height: calc(var(--baseline) * 0.75);
2026-03-09 23:11:46 +01:00
position: relative;
2026-04-09 21:52:21 +02:00
margin-top: calc(var(--baseline) * 0.25);
hyphens: auto;
hyphenate-limit-chars: 7 3 4;
hyphenate-limit-lines: 2;
hyphenate-limit-zone: 8%;
word-spacing: -0.004em;
text-align: justify;
2026-01-19 22:14:03 +01:00
}
2026-01-20 22:37:15 +01:00
2026-04-09 21:52:21 +02:00
.following-note_marker::after {
content: ". ";
2026-01-19 22:14:03 +01:00
}
2026-01-20 22:37:15 +01:00
2026-03-09 23:11:46 +01:00
.following-note_call {
2026-04-09 21:52:21 +02:00
font-family: var(--font-sans);
2026-01-20 21:12:05 +01:00
font-size: var(--fs-small);
2026-03-09 23:11:46 +01:00
line-height: 1;
2026-01-20 22:37:15 +01:00
position: relative;
2026-03-09 23:11:46 +01:00
top: -4px;
2026-01-19 22:14:03 +01:00
}/*# sourceMappingURL=style.css.map */