This commit is contained in:
Julie Blanc 2026-02-23 23:30:33 +01:00
parent 811558f4d8
commit 31bb24548f
19 changed files with 189 additions and 110 deletions

View file

@ -2,9 +2,10 @@
@import url("https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap");
:root {
--font: "ITC Cheltenham", serif;
--font: "Routed Gothic", sans-serif;
--mono: "Selectric Mono", monospace;
--note: "Routed Gothic", serif;
--title: "HNoailles Times Triplex", sans-serif;
--red: #9B0000;
--green:#009B00;
--green-light:#009b0025;
@ -31,8 +32,6 @@ a {
}
body {
--font-size: 14px;
--baseline: 20px;
font-family: var(--font);
font-size: var(--font-size);
line-height: var(--baseline);
@ -42,17 +41,19 @@ body {
@page {
size: 165mm 240mm;
margin-top: 10mm;
margin-bottom: 20mm;
margin-bottom: 60mm;
bleed: 6mm;
marks: crop;
}
@page :left {
margin-left: 25mm;
margin-right: 25mm;
margin-left: 18mm;
margin-right: 26mm;
@bottom-left-corner {
content: counter(page);
font-family: var(--mono);
font-size: 10px;
vertical-align: bottom;
padding-bottom: 5mm;
text-align: left;
padding-left: 10mm;
}
@ -60,20 +61,26 @@ body {
content: string(author);
font-family: var(--mono);
font-size: 10px;
vertical-align: bottom;
padding-bottom: 5mm;
}
@bottom-center {
content: string(type);
font-family: var(--mono);
font-size: 10px;
vertical-align: bottom;
padding-bottom: 5mm;
}
}
@page :right {
margin-left: 25mm;
margin-right: 25mm;
margin-left: 26mm;
margin-right: 18mm;
@bottom-right-corner {
content: counter(page);
font-family: var(--mono);
font-size: 10px;
vertical-align: bottom;
padding-bottom: 5mm;
text-align: right;
padding-right: 10mm;
}
@ -81,6 +88,8 @@ body {
content: string(title);
font-family: var(--mono);
font-size: 10px;
vertical-align: bottom;
padding-bottom: 5mm;
}
}
/*p{
@ -313,6 +322,10 @@ body {
}
.chapter p {
text-align: justify;
-webkit-hyphens: auto;
hyphens: auto;
hyphenate-limit-chars: 8 3;
position: relative;
color: var(--blue);
font-weight: 200;
@ -325,7 +338,8 @@ body {
margin-top: calc(var(--baseline) * 1.5);
margin-bottom: calc(var(--baseline) * 0.5);
text-align: center;
font-weight: 200;
font-weight: normal;
font-family: var(--mono);
text-transform: uppercase;
color: var(--blue);
max-width: 18ch;
@ -345,37 +359,19 @@ body {
}
.inline-note {
display: none !important;
color: var(--green);
float: left;
clear: both;
width: 46mm;
text-align: left;
-webkit-hyphens: none;
hyphens: none;
margin-right: 1ch;
margin-right: -20mm;
position: relative;
left: -25mm;
text-align: right;
font-family: var(--note);
font-size: 9.5px;
font-size: 10px;
line-height: 1.2;
}
.inline-note .body_note {
padding-top: 5px;
}
.pagedjs_floatnote_marker,
.pagedjs_floatnote_call {
color: var(--green);
padding-left: 0.25ch;
line-height: 0;
font-size: 9px;
}
.pagedjs_floatnote_marker {
text-align: left;
.note-container {
grid-column: center;
grid-row: footer;
width: 100%;
height: calc(100% - 12mm);
-moz-columns: 2;
columns: 2;
-moz-column-fill: auto;
column-fill: auto;
padding-top: 20px;
}
.chapter-header {
@ -395,41 +391,43 @@ body {
}
.chapter-header h2 {
font-size: 38px;
line-height: 1;
font-family: var(--note);
font-size: 42px;
line-height: 0.9;
font-family: var(--title);
color: var(--blue);
margin-bottom: calc(var(--baseline) * 1);
text-align: center;
font-weight: normal;
text-align: left;
font-weight: bold;
padding-right: 3ch;
}
.chapter-header .type {
margin-bottom: calc(var(--baseline) * 1);
}
.chapter-header .type,
.chapter-header .bio {
font-family: var(--mono);
-webkit-hyphens: none;
hyphens: none;
font-size: 9px;
font-size: 11px;
line-height: 1.2;
left: 0px !important;
}
.chapter-header .bio {
margin-top: calc(var(--baseline) * 1);
text-align: left;
text-align: center;
text-indent: 0;
}
.chapter-header .author {
left: 0px !important;
font-size: 38px;
font-size: 26px;
line-height: 1;
font-family: var(--note);
font-weight: normal;
font-family: var(--title);
font-weight: bold;
text-align: center;
text-align: right;
}
.item-decor {
@ -441,9 +439,9 @@ body {
}
.pagedjs_left_page .item-decor {
left: -26mm;
left: -12mm;
}
.pagedjs_right_page .item-decor {
right: -26mm;
right: -12mm;
}/*# sourceMappingURL=style.css.map */