2025-02-15 10:19:38 +01:00
|
|
|
body {
|
|
|
|
font-size: var(--font-size-base);
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta [data-generated-date] {
|
|
|
|
position: running(generatedDate);
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta [data-publication-title] {
|
|
|
|
position: running(publicationTitle);
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta [data-chapter-title] {
|
|
|
|
position: running(chapterTitle);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@page {
|
|
|
|
size: A5;
|
|
|
|
margin: 13mm 8mm;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@page :left {
|
|
|
|
@bottom-left {
|
|
|
|
content: "page " counter(page);
|
|
|
|
}
|
|
|
|
|
|
|
|
@top-left {
|
|
|
|
content: element(publicationTitle);
|
|
|
|
font-size: var(--font-size-base);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@top-right {
|
|
|
|
content: element(generatedDate);
|
|
|
|
font-size: var(--font-size-base);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@page: blank {
|
|
|
|
@top-left {
|
|
|
|
content: "blank " counter(page);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@page :right {
|
|
|
|
@top-right {
|
|
|
|
content: element(chapterTitle);
|
|
|
|
font-size: var(--font-size-base);
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
@bottom-right {
|
2025-03-01 16:38:05 +01:00
|
|
|
content: counter(page);
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@page cover {
|
|
|
|
background: var(--accent);
|
|
|
|
margin-top: auto;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
header {
|
|
|
|
position: absolute;
|
|
|
|
margin: 0 0;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate3d(0, -50%, 0px);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@top-right {
|
|
|
|
content: "coverttt";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@page front {
|
|
|
|
background: lightgrey;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@top-right {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@bottom-right {
|
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
header {
|
|
|
|
position: absolute;
|
|
|
|
margin: 0 0;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate3d(0, -50%, 0px);
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.header--meta {
|
|
|
|
display: none;
|
|
|
|
}
|
2025-03-01 16:38:05 +01:00
|
|
|
|
|
|
|
[data-subchapter-title] {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
article:has([data-chapter-title]), article:has([data-subchapter-title]) {
|
|
|
|
break-before: page;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
.page--cover {
|
|
|
|
page: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
[template-type="front"] {
|
|
|
|
page: front;
|
|
|
|
counter-reset: page;
|
|
|
|
}
|
|
|
|
|
2025-02-16 13:52:06 +01:00
|
|
|
[template-type="circuit"] {
|
|
|
|
page: circuit;
|
|
|
|
/* break-before: page;*/
|
|
|
|
}
|
|
|
|
|
2025-02-15 10:19:38 +01:00
|
|
|
|
|
|
|
.header-section-number {
|
|
|
|
display: none;
|
|
|
|
}
|