diff --git a/publication/assets/styles/layout.css b/publication/assets/styles/layout.css
index 3413d23..4b6f9da 100644
--- a/publication/assets/styles/layout.css
+++ b/publication/assets/styles/layout.css
@@ -121,7 +121,7 @@ figure {
counter-increment: figure-counter;
}
-article figure:has(.img--fullpage) {
+article figure:has(.img--fullpage), figure:has(.img--fullpage) {
margin-right: calc(var(--footnote-w) * -1);
clear: both;
margin-top: 2rem;
@@ -140,12 +140,14 @@ article figure:has(.img--fullpage) {
break-inside: avoid;
}
-article figure:has(.img--fullpage) img {
+
+article figure:has(.img--fullpage) img, figure:has(.img--fullpage) img {
position: absolute;
- height: 200%;
+ height: 200% !important;
+ transform: scale(1.01);
}
-article figure:has(.img--fullpage) figcaption {
+article figure:has(.img--fullpage) figcaption, figure:has(.img--fullpage) figcaption {
position: absolute;
z-index: 2;
bottom: calc(var(--pagedjs-pagebox-height)*-0.5 + var(--pagedjs-margin-bottom));
diff --git a/publication/assets/styles/paged.css b/publication/assets/styles/paged.css
index 4242997..26931a2 100644
--- a/publication/assets/styles/paged.css
+++ b/publication/assets/styles/paged.css
@@ -1,7 +1,12 @@
-:root {
- --print-margin-x: 8mm;
+
+@page {
+ size: A5;
+ margin: 13mm 10mm;
}
+.pagedjs_area:has(.img--fullpage) {
+ height: 200%;
+}
body {
font-size: var(--font-size-base);
}
@@ -37,20 +42,25 @@ body {
counter-reset: page;
}
+[template-type="back"] {
+ page: front;
+ counter-reset: page;
+}
+
[template-type="circuit"] {
page: circuit;
break-before: page;
}
-
-@page {
- size: A5;
- margin: 13mm var(--print-margin-x);
- /* marks: crop cross; */
+@page:right {
+ margin-left: 16mm;
}
+
@page:left {
+ margin-right: 16mm;
+
@bottom-left {
content: counter(page);
}
@@ -123,7 +133,7 @@ body {
@page image {
margin-top: auto;
position: relative;
- margin: var(--print-margin-x) var(--print-margin-x);
+ margin: 13mm 13mm;
header {
position: absolute;
@@ -202,10 +212,6 @@ body {
font-size: 8px;
max-width: calc(100% - 4mm);
}
-
- @top-right {
- content: "imaaagggee";
- }
}
@page imagespread {
@@ -244,12 +250,26 @@ body {
}
}
-article:has([data-chapter-title]), article:has([data-subchapter-title]) {
- break-before: page;
+@page back {
+ background: pink;
+ position: relative;
+
+ @top-right {
+ content: none;
+ }
+
+ @top-left {
+ content: none;
+ }
+
+ @bottom-right {
+ content: none;
+ }
+
}
-.table-wide {
- /* break-before: page; */
+article:has([data-chapter-title]), article:has([data-subchapter-title]) {
+ break-before: page;
}
article>*:first-of-type:is(table) {
diff --git a/publication/assets/styles/table.css b/publication/assets/styles/table.css
index 3bc3f9a..30c5b1e 100644
--- a/publication/assets/styles/table.css
+++ b/publication/assets/styles/table.css
@@ -1,4 +1,4 @@
-table {
+ table {
border-spacing: 0px;
}
thead {
diff --git a/publication/assets/styles/typography.css b/publication/assets/styles/typography.css
index 4841360..900a074 100644
--- a/publication/assets/styles/typography.css
+++ b/publication/assets/styles/typography.css
@@ -1,4 +1,4 @@
-:root {
+ :root {
--font-family: "Fira Sans", sans-serif;
--font-family-mono: "Fira Mono", serif;
}
@@ -55,6 +55,10 @@ h6 {
font-weight: bold;
}
+article>*:first-child {
+ margin-top: 0;
+}
+
h2 {
font-size: 1.3em;
}
@@ -239,19 +243,19 @@ h7 + ul {
margin-top: 0;
}
-/*** Works on common browsers ***/
+
::selection {
background-color: var(--accent);
color: black;
}
-/*** Mozilla based browsers ***/
+
::-moz-selection {
background-color: var(--accent);
color: black;
}
-/***For Other Browsers ***/
+
::-o-selection {
background-color: var(--accent);
color: black;
@@ -262,7 +266,7 @@ h7 + ul {
color: black;
}
-/*** For Webkit ***/
+
::-webkit-selection {
background-color: var(--accent);
color: black;
diff --git a/publication/chapters/-1-intro.html b/publication/chapters/-1-intro.html
index e1be96a..4303743 100644
--- a/publication/chapters/-1-intro.html
+++ b/publication/chapters/-1-intro.html
@@ -134,9 +134,7 @@
-