walter-boente_book-collection/css/style.css

465 lines
9.2 KiB
CSS
Raw Normal View History

2026-01-19 22:14:03 +01:00
@charset "UTF-8";
:root {
--font: "Edgar", sans-serif;
2026-01-19 23:14:58 +01:00
--font-title: "Allium Rounded", sans-serif;
--font-sans: "Allium Rounded", sans-serif;
--font-size: 11px;
--fs-num: 14px;
2026-01-19 22:14:03 +01:00
--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;
2026-01-19 23:14:58 +01:00
margin-top: 36px;
margin-bottom: 20mm;
2026-01-19 22:14:03 +01:00
}
@page :left {
2026-01-19 23:14:58 +01:00
margin-left: 22mm;
margin-right: 22mm;
@bottom-left {
2026-01-19 22:14:03 +01:00
content: counter(page);
2026-01-19 23:14:58 +01:00
font-family: var(--font-title);
font-weight: 500;
font-size: var(--fs-num);
2026-01-19 22:14:03 +01:00
}
}
@page :right {
margin-left: 32mm;
2026-01-19 23:14:58 +01:00
margin-right: 22mm;
@bottom-right {
2026-01-19 22:14:03 +01:00
content: counter(page);
2026-01-19 23:14:58 +01:00
font-family: var(--font-title);
font-weight: 500;
font-size: var(--fs-num);
2026-01-19 22:14:03 +01:00
}
2026-01-19 23:14:58 +01:00
@bottom-left {
2026-01-19 22:14:03 +01:00
content: "Höchstpersönlichkeit";
2026-01-19 23:14:58 +01:00
font-family: var(--font-title);
font-weight: normal;
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;
}
}
}
#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;
}
p + p,
ol[type="1"] + p {
text-indent: calc(var(--indent) * 0.5);
}
blockquote {
2026-01-19 23:37:32 +01:00
padding-left: calc(var(--indent) * 1);
font-size: 9px;
line-height: calc(var(--baseline) * 0.75);
margin-top: calc(var(--baseline) * 0.5);
margin-bottom: calc(var(--baseline) * 0.5);
2026-01-19 22:14:03 +01:00
}
2026-01-20 13:32:39 +01:00
2026-01-19 22:14:03 +01:00
blockquote + ol + p {
text-indent: 0px;
}
.these::before {
content: "---";
}
.these::after {
content: "---";
}
.these::before, .these::after {
display: flex;
justify-content: center;
}
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;
position: absolute;
left: calc(var(--indent) * -1.5 - 0.5ch);
}
ol[type="1"]::before {
content: attr(start);
font-size: 0.6rem;
color: #999;
display: block;
2026-01-20 13:32:39 +01:00
height: var(--baseline);
padding-right: 1ch;
border-right: 1px solid #efefef;
2026-01-19 23:37:32 +01:00
}
2026-01-20 13:32:39 +01:00
/*
ol[type="1"]{
list-style-type: none;
position: relative;
break-after: avoid;
position: absolute;
left: calc(var(--indent)*-1.5 - 0.5ch);
&::before{
content: attr(start);
font-family: var(--font-title);
font-weight: 500;
font-size: 0.6rem;
color: #999;
display: block;
padding: 0px 2px;
// border: 1px solid #efefef;
min-width: 20px;
justify-content: center;
}
2026-01-19 23:37:32 +01:00
}
2026-01-20 13:32:39 +01:00
.pagedjs_page_content::before{
--color: #efefef;
--size: 20px;
content: "";
display: block;
height: 100%;
width: var(--size);
position: absolute;
left: calc(var(--indent)*-1 - var(--size));
background: linear-gradient(transparent 0%, transparent calc(var(--baseline) - 1px), var(--color) calc(var(--baseline) - 1px), var(--color) var(--baseline)), transparent;
background-size: 100% var(--baseline);
background-repeat: repeat-y;
2026-01-19 23:37:32 +01:00
2026-01-20 13:32:39 +01:00
}
*/
2026-01-19 22:14:03 +01:00
#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);
2026-01-19 23:37:32 +01:00
font-size: 1.4rem;
2026-01-19 23:14:58 +01:00
font-weight: 500;
text-transform: uppercase;
2026-01-19 22:14:03 +01:00
line-height: calc(var(--baseline) * 1.4);
text-align: center;
position: relative;
2026-01-19 23:14:58 +01:00
margin-top: calc(var(--baseline) * 2 - 3px);
2026-01-19 22:14:03 +01:00
padding-bottom: calc(var(--baseline) * 1);
padding-left: 1ch;
padding-right: 1ch;
}
#section__content h1::before {
display: block;
2026-01-19 23:14:58 +01:00
font-size: var(--fs-num);
2026-01-19 22:14:03 +01:00
}
#section__content h1:first-of-type {
margin-top: 3px !important;
}
#section__content h2 {
font-family: var(--font-title);
2026-01-19 23:14:58 +01:00
font-size: 1.1rem;
font-weight: 500;
text-transform: uppercase;
2026-01-19 22:14:03 +01:00
line-height: calc(var(--baseline) * 1.2);
position: relative;
2026-01-19 23:14:58 +01:00
margin-top: calc(var(--baseline) * 1 + 6px);
2026-01-19 22:14:03 +01:00
padding-bottom: calc(var(--baseline) * 1);
2026-01-19 23:14:58 +01:00
padding-right: 2ch;
2026-01-19 22:14:03 +01:00
}
#section__content h2::before {
2026-01-19 23:14:58 +01:00
display: block;
font-size: var(--fs-num);
2026-01-19 23:37:32 +01:00
padding-left: var(--indent);
2026-01-19 22:14:03 +01:00
}
#section__content h3 {
2026-01-19 23:14:58 +01:00
font-family: var(--font-title);
font-weight: 500;
2026-01-19 22:14:03 +01:00
font-size: 1rem;
line-height: calc(var(--baseline) * 1);
2026-01-19 23:14:58 +01:00
padding-right: calc(var(--indent) * 2);
2026-01-19 22:14:03 +01:00
position: relative;
2026-01-19 23:14:58 +01:00
margin-top: calc(var(--baseline) * 1 + 4px);
padding-bottom: calc(var(--baseline) * 0.75);
2026-01-19 22:14:03 +01:00
}
#section__content h3::before {
2026-01-19 23:37:32 +01:00
display: block;
font-size: var(--fs-num);
padding-left: var(--indent);
2026-01-19 22:14:03 +01:00
}
#section__content h4 {
2026-01-19 23:14:58 +01:00
font-family: var(--font-title);
font-weight: 500;
font-size: 0.9rem;
2026-01-19 22:14:03 +01:00
line-height: calc(var(--baseline) * 1);
2026-01-19 23:14:58 +01:00
padding-left: calc(var(--indent) * 1);
padding-right: calc(var(--indent) * 2);
2026-01-19 22:14:03 +01:00
position: relative;
2026-01-19 23:14:58 +01:00
margin-top: calc(var(--baseline) * 1 + 4px);
padding-bottom: calc(var(--baseline) * 0.75);
2026-01-19 22:14:03 +01:00
}
#section__content h5 {
2026-01-19 23:14:58 +01:00
font-family: var(--font-title);
font-weight: 500;
font-size: 0.8rem;
2026-01-19 22:14:03 +01:00
line-height: calc(var(--baseline) * 1);
2026-01-19 23:14:58 +01:00
padding-left: calc(var(--indent) * 1);
2026-01-19 22:14:03 +01:00
position: relative;
2026-01-19 23:14:58 +01:00
margin-top: calc(var(--baseline) * 1 + 4px);
padding-bottom: calc(var(--baseline) * 0.25);
2026-01-19 22:14:03 +01:00
}
[data-id=section__content][data-split-from] > :first-child {
margin-top: 0;
}
@page {
@footnote {
float: bottom;
2026-01-19 23:14:58 +01:00
footnote-policy: auto;
2026-01-19 22:14:03 +01:00
}
}
.pagedjs_footnote_content {
padding-top: calc(var(--baseline) * 1);
}
.inline-note {
float: footnote;
2026-01-19 23:14:58 +01:00
footnote-policy: auto;
2026-01-19 22:14:03 +01:00
font-size: 9px;
2026-01-19 23:14:58 +01:00
line-height: calc(var(--baseline) * 0.8);
2026-01-19 22:14:03 +01:00
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;
}
2026-01-20 13:32:39 +01:00
.footnote-ref {
font-family: var(--font-title);
line-height: 0;
font-size: 9px;
font-weight: 500;
}
2026-01-19 22:14:03 +01:00
#section__list-of-abbr {
display: none;
color: red;
}/*# sourceMappingURL=style.css.map */