2025-02-15 10:19:38 +01:00
|
|
|
* {
|
2025-03-09 20:58:44 +01:00
|
|
|
box-sizing: border-box;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
2025-04-19 12:23:57 +02:00
|
|
|
|
2025-02-15 10:19:38 +01:00
|
|
|
body,
|
|
|
|
html {
|
2025-03-09 20:58:44 +01:00
|
|
|
margin: 0 0;
|
|
|
|
padding: 0 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article:not(article article) {
|
2025-03-09 20:58:44 +01:00
|
|
|
max-width: var(--article-w);
|
|
|
|
margin-right: 150px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-right: var(--footnote-w);
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article header {
|
2025-03-09 20:58:44 +01:00
|
|
|
padding-right: 0;
|
|
|
|
margin-right: calc(var(--footnote-w) * -1);
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article header {
|
2025-03-09 20:58:44 +01:00
|
|
|
min-height: 32mm;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
2025-04-19 12:23:57 +02:00
|
|
|
aside+section p:first-child {
|
2025-03-09 20:58:44 +01:00
|
|
|
margin-top: 0;
|
2025-02-16 13:52:06 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.media--pcb {
|
2025-03-09 20:58:44 +01:00
|
|
|
width: 70mm;
|
2025-02-16 13:52:06 +01:00
|
|
|
}
|
2025-04-19 12:23:57 +02:00
|
|
|
|
2025-02-15 10:19:38 +01:00
|
|
|
dialog {
|
2025-03-09 20:58:44 +01:00
|
|
|
max-width: var(--main-w);
|
|
|
|
height: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
border: none;
|
|
|
|
overflow: hidden;
|
|
|
|
outline: none;
|
|
|
|
background-color: transparent;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0 0;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dialog img {
|
2025-03-09 20:58:44 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: contain;
|
|
|
|
max-height: calc(100svh - 2rem);
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dialog::backdrop {
|
2025-03-09 20:58:44 +01:00
|
|
|
background-color: transparent;
|
|
|
|
transition: 0.2s linear;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dialog[open]::backdrop {
|
2025-03-09 20:58:44 +01:00
|
|
|
background-color: black;
|
|
|
|
opacity: 0.5;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
sup li:before,
|
|
|
|
li[count]:before {
|
2025-03-09 20:58:44 +01:00
|
|
|
display: inline;
|
|
|
|
float: left;
|
|
|
|
margin-right: 1ch;
|
|
|
|
font-weight: bold;
|
|
|
|
content: attr("count");
|
|
|
|
content: " [" attr(count) "]";
|
|
|
|
color: var(--accent);
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
2025-04-20 19:59:35 +02:00
|
|
|
|
|
|
|
.footnote-back {
|
2025-04-19 12:23:57 +02:00
|
|
|
display: none;
|
|
|
|
}
|
2025-04-20 19:59:35 +02:00
|
|
|
|
2025-03-09 20:58:44 +01:00
|
|
|
li[count],
|
|
|
|
aside:not(.footnotes):not(aside aside) {
|
|
|
|
float: right;
|
|
|
|
clear: right;
|
|
|
|
width: var(--footnote-w);
|
|
|
|
margin-right: calc((var(--footnote-w) * -1));
|
|
|
|
padding-left: var(--gap);
|
|
|
|
margin-bottom: 1em;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
2025-02-16 13:52:06 +01:00
|
|
|
li[count] {
|
2025-03-09 20:58:44 +01:00
|
|
|
margin-top: -1em;
|
2025-02-15 10:19:38 +01:00
|
|
|
}
|
|
|
|
|
2025-03-09 20:58:44 +01:00
|
|
|
.list--frontpage {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
grid-gap: 1rem;
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0 0;
|
2025-02-16 13:52:06 +01:00
|
|
|
}
|
2025-02-15 10:19:38 +01:00
|
|
|
|
2025-04-20 19:59:35 +02:00
|
|
|
article table tr, .csl-entry {
|
2025-04-12 11:07:56 +02:00
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
2025-03-14 20:04:30 +01:00
|
|
|
|
|
|
|
.grid p {
|
|
|
|
display: grid;
|
|
|
|
margin-right: -100px;
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
gap: 1rem;
|
|
|
|
break-before: page;
|
|
|
|
}
|
2025-04-19 12:23:57 +02:00
|
|
|
|
2025-04-20 23:04:44 +02:00
|
|
|
figure {
|
2025-04-20 19:59:35 +02:00
|
|
|
counter-increment: figure-counter;
|
2025-04-19 12:23:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
article figure:has(.img--fullpage) {
|
|
|
|
margin-right: calc(var(--footnote-w) * -1);
|
|
|
|
clear: both;
|
|
|
|
margin-top: 2rem;
|
|
|
|
margin-bottom: 0;
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
break-before: page;
|
|
|
|
break-after: page;
|
|
|
|
height: 100%;
|
|
|
|
height: calc(var(--pagedjs-pagebox-height)/2);
|
|
|
|
margin-top: calc(var(--pagedjs-margin-top) * -1);
|
|
|
|
margin-right: calc(var(--pagedjs-margin-right) * -1);
|
|
|
|
margin-bottom: calc(var(--pagedjs-margin-bottom) * -1);
|
|
|
|
margin-left: calc(var(--pagedjs-margin-left) * -1);
|
|
|
|
width: calc(var(--pagedjs-pagebox-width));
|
|
|
|
break-inside: avoid;
|
|
|
|
}
|
|
|
|
|
|
|
|
article figure:has(.img--fullpage) img {
|
|
|
|
position: absolute;
|
|
|
|
height: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
article figure:has(.img--fullpage) figcaption {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
bottom: calc(var(--pagedjs-pagebox-height)*-0.5 + var(--pagedjs-margin-bottom));
|
|
|
|
left: var(--pagedjs-margin-left);
|
|
|
|
padding: 1mm 2mm;
|
|
|
|
background: white;
|
|
|
|
font-size: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
article figure img {
|
|
|
|
object-fit: cover;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
article figure figcaption {
|
|
|
|
padding-top: 8px;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption:before {
|
|
|
|
content: "fig " counter(figure-counter) ". ";
|
|
|
|
opacity: .5
|
|
|
|
}
|
2025-04-20 19:59:35 +02:00
|
|
|
|
|
|
|
.image-list {
|
|
|
|
break-inside: avoid;
|
|
|
|
break-before: page;
|
|
|
|
break-after: page;
|
|
|
|
width: calc(100% + var(--footnote-w));
|
|
|
|
margin-right: calc(var(--footnote-w) * -1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-list figure {
|
|
|
|
display: flex;
|
|
|
|
gap: 2rem;
|
|
|
|
margin-top: 0;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.image-list img {
|
|
|
|
max-width: calc(100% - var(--footnote-w) + 2rem);
|
|
|
|
}
|