2026-04-09 19:37:52 +02:00
|
|
|
$width: 176mm;
|
|
|
|
|
$height: 240mm;
|
2026-04-16 09:42:55 +02:00
|
|
|
$top: 10mm;
|
2026-04-21 23:05:59 +02:00
|
|
|
$bottom: 19mm;
|
2026-04-16 09:42:55 +02:00
|
|
|
$inside: 20mm;
|
|
|
|
|
$outside: 14mm;
|
2026-04-09 19:37:52 +02:00
|
|
|
$content-h: calc($height - $top - $bottom - 1mm);
|
2026-04-10 11:24:39 +02:00
|
|
|
$content-w: calc($width - $inside - $outside);
|
2026-04-09 21:52:21 +02:00
|
|
|
$gap: 4mm;
|
|
|
|
|
$indent: 10mm;
|
2026-04-16 09:42:55 +02:00
|
|
|
$unit: calc($content-w/7);
|
|
|
|
|
|
|
|
|
|
:root{
|
2026-04-21 15:40:30 +02:00
|
|
|
// --content-w: #{$content-w};
|
2026-04-21 23:05:59 +02:00
|
|
|
--unit: calc(#{$content-w}/7);
|
|
|
|
|
// --unit: 80px;
|
|
|
|
|
--margin-box: -13px;
|
2026-04-16 09:42:55 +02:00
|
|
|
}
|
2026-04-09 19:37:52 +02:00
|
|
|
|
|
|
|
|
|
2026-04-21 23:05:59 +02:00
|
|
|
|
|
|
|
|
|
2026-01-19 22:14:03 +01:00
|
|
|
@media print {
|
|
|
|
|
@page {
|
2026-04-09 19:37:52 +02:00
|
|
|
size: $width $height;
|
|
|
|
|
margin-top: $top;
|
|
|
|
|
margin-bottom: $bottom;
|
2026-04-22 17:50:32 +02:00
|
|
|
bleed: 6mm;
|
|
|
|
|
marks: crop;
|
2026-01-19 22:14:03 +01:00
|
|
|
}
|
|
|
|
|
@page:left {
|
2026-04-09 19:37:52 +02:00
|
|
|
margin-left: $outside;
|
|
|
|
|
margin-right: $inside;
|
2026-04-09 21:52:21 +02:00
|
|
|
|
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-21 23:05:59 +02:00
|
|
|
font-weight: 500;
|
2026-04-09 19:37:52 +02:00
|
|
|
text-align: left;
|
2026-04-09 21:52:21 +02:00
|
|
|
width: $indent;
|
2026-04-21 23:05:59 +02:00
|
|
|
position: relative;
|
|
|
|
|
top: var(--margin-box);
|
2026-04-09 19:37:52 +02:00
|
|
|
}
|
|
|
|
|
@bottom-center {
|
|
|
|
|
content: "Höchstpersönlichkeit";
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: var(--fs-num);
|
2026-04-21 23:05:59 +02:00
|
|
|
font-weight: 500;
|
2026-04-09 19:37:52 +02:00
|
|
|
text-align: left;
|
2026-04-21 23:05:59 +02:00
|
|
|
position: relative;
|
|
|
|
|
top: var(--margin-box);
|
2026-01-19 22:14:03 +01:00
|
|
|
}
|
2026-04-09 19:37:52 +02:00
|
|
|
|
2026-01-19 22:14:03 +01:00
|
|
|
}
|
|
|
|
|
@page:right {
|
2026-04-09 19:37:52 +02:00
|
|
|
margin-left: $inside;
|
|
|
|
|
margin-right: $outside;
|
|
|
|
|
|
2026-04-21 23:05:59 +02:00
|
|
|
// background-image: url('/images/layout-1_2.png');
|
2026-04-16 10:35:30 +02:00
|
|
|
// background-size: 100% 100%;
|
2026-04-16 09:42:55 +02:00
|
|
|
|
2026-04-09 19:37:52 +02:00
|
|
|
@bottom-left {
|
|
|
|
|
content: string(chapterCount);
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: var(--fs-num);
|
2026-04-21 23:05:59 +02:00
|
|
|
font-weight: 500;
|
2026-04-09 19:37:52 +02:00
|
|
|
text-align: left;
|
2026-04-21 23:05:59 +02:00
|
|
|
width: calc(var(--unit)*3);
|
|
|
|
|
padding-left: calc(var(--unit)*2);
|
|
|
|
|
position: relative;
|
|
|
|
|
top: var(--margin-box);
|
2026-04-09 19:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@bottom-center {
|
|
|
|
|
content: string(chapter);
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: var(--fs-num);
|
2026-04-21 23:05:59 +02:00
|
|
|
font-weight: 500;
|
2026-04-09 19:37:52 +02:00
|
|
|
text-align: left;
|
2026-04-21 23:05:59 +02:00
|
|
|
position: relative;
|
|
|
|
|
top: var(--margin-box);
|
|
|
|
|
width: calc(var(--unit)*3.5);
|
2026-01-19 22:14:03 +01:00
|
|
|
}
|
2026-04-09 19:37:52 +02:00
|
|
|
|
2026-04-09 21:52:21 +02:00
|
|
|
@bottom-right {
|
|
|
|
|
content: counter(page);
|
|
|
|
|
font-family: var(--font-sans);
|
|
|
|
|
font-size: var(--fs-num);
|
2026-04-21 23:05:59 +02:00
|
|
|
font-weight: 500;
|
2026-04-09 21:52:21 +02:00
|
|
|
text-align: right;
|
2026-04-21 23:05:59 +02:00
|
|
|
position: relative;
|
|
|
|
|
top: var(--margin-box);
|
2026-04-09 21:52:21 +02:00
|
|
|
}
|
|
|
|
|
|
2026-01-19 22:14:03 +01:00
|
|
|
|
|
|
|
|
}
|
2026-04-21 23:05:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@page chapter:first {
|
2026-01-19 22:14:03 +01: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; }
|
|
|
|
|
}
|
|
|
|
|
@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
|
|
|
|
2026-04-21 23:05:59 +02:00
|
|
|
|
2026-01-19 22:14:03 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2026-04-09 19:37:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
#section__content h1 .h1-count{
|
|
|
|
|
string-set: chapterCount content(text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#section__content h1 .h1-text{
|
|
|
|
|
string-set: chapter content(text);
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-21 23:05:59 +02:00
|
|
|
|
2026-04-21 13:52:57 +02:00
|
|
|
.chapter{
|
2026-04-21 15:40:30 +02:00
|
|
|
page: chapter;
|
|
|
|
|
break-before: page;
|
2026-04-21 13:52:57 +02:00
|
|
|
}
|
2026-04-16 16:00:53 +02:00
|
|
|
|
2026-04-21 13:52:57 +02:00
|
|
|
|