101 lines
1.5 KiB
CSS
Raw Normal View History

2025-02-15 10:19:38 +01:00
* {
box-sizing: border-box;
}
body,
html {
margin: 0 0;
padding: 0 0;
width: 100%;
height: 100%;
}
article:not(article article) {
max-width: var(--article-w);
margin-right: 150px;
margin: 0 auto;
padding-right: var(--footnote-w);
}
article header {
padding-right: 0;
2025-02-16 13:52:06 +01:00
margin-right: calc(var(--footnote-w) * -1);
2025-02-15 10:19:38 +01:00
}
article header {
min-height: 35mm;
}
2025-02-16 13:52:06 +01:00
aside + section p:first-child{
margin-top: 0;
}
.media--pcb {
width: 70mm;
}
2025-02-15 10:19:38 +01:00
dialog {
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;
}
dialog img {
width: 100%;
height: 100%;
object-fit: contain;
max-height: calc(100svh - 2rem);
}
dialog::backdrop {
2025-02-16 13:52:06 +01:00
background-color: transparent;
transition: 0.2s linear;
2025-02-15 10:19:38 +01:00
}
dialog[open]::backdrop {
2025-02-16 13:52:06 +01:00
background-color: black;
opacity: 0.5;
2025-02-15 10:19:38 +01:00
}
sup li:before,
article li:has(.footnote-back):before,
li[count]:before {
display: inline;
float: left;
margin-right: 1ch;
font-weight: bold;
content: attr("count");
content: " [" attr(count) "]";
color: var(--accent);
}
2025-02-16 13:52:06 +01:00
li[count], aside:not(.footnotes) {
2025-02-15 10:19:38 +01:00
float: right;
clear: right;
width: var(--footnote-w);
margin-right: calc((var(--footnote-w) * -1));
2025-02-16 13:52:06 +01:00
padding-left: var(--gap);
2025-02-15 10:19:38 +01:00
margin-bottom: 1em;
}
2025-02-16 13:52:06 +01:00
li[count] {
margin-top: -1em;
2025-02-15 10:19:38 +01:00
}
2025-02-16 13:52:06 +01:00
article:not(article article) {
/* padding-right: var(--footnote-w);;*/
}
2025-02-15 10:19:38 +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
}