test impressions

This commit is contained in:
Julie Blanc 2026-02-23 22:28:14 +01:00
parent f01a1ed6f8
commit 2b2d787054
56 changed files with 722 additions and 139 deletions

View file

@ -2,16 +2,15 @@
@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: 'Wagram Slab', serif;
--mono: 'Selectric Mono', monospace;
--note: 'HNoailles Times Triplex', serif;
--font: "Wagram Slab", serif;
--mono: "Selectric Mono", monospace;
--note: "Routed Gothic", serif;
--red: #9B0000;
--green:#009B00;
--green-light:#009b0025;
--blue: #00009B;
--red: black;
--green:#009B00;
--green-light:#009b0025;
--green:black;
--blue: black;
}
@ -29,8 +28,8 @@ a {
}
body {
--font-size: 11px;
--baseline: 18px;
--font-size: 12px;
--baseline: 17px;
font-family: var(--font);
font-size: var(--font-size);
line-height: var(--baseline);
@ -41,6 +40,8 @@ body {
size: 165mm 240mm;
margin-top: 10mm;
margin-bottom: 20mm;
bleed: 6mm;
marks: crop;
}
@page :left {
margin-left: 35mm;
@ -48,32 +49,35 @@ body {
@bottom-left-corner {
content: counter(page);
font-family: var(--mono);
font-size: 14px;
font-size: 10px;
text-align: left;
padding-left: 10mm;
}
@bottom-left {
content: string(author);
font-family: var(--mono);
font-size: 10px;
}
@bottom-center {
content: string(type);
font-family: var(--mono);
font-size: 10px;
}
}
@page :right {
margin-left: 40mm;
margin-right: 25mm;
margin-left: 30mm;
margin-right: 35mm;
@bottom-right-corner {
content: counter(page);
font-family: var(--mono);
font-size: 14px;
font-size: 10px;
text-align: right;
padding-right: 10mm;
}
@bottom-left {
content: string(title);
font-family: var(--mono);
font-size: 10px;
}
}
/*p{
@ -188,6 +192,27 @@ body {
font-family: "Wagram Mono Slab", monospace;
}
[data-type=routed-gothic-wide] {
font-family: "Routed Gothic Wide", sans-serif;
}
[data-type=routed-gothic] {
font-family: "Routed Gothic", sans-serif;
}
[data-type=routed-gothic-narrow] {
font-family: "Routed Gothic Narrow", sans-serif;
}
[data-type=cheltenham] {
font-family: "ITC Cheltenham", serif;
}
[data-type=cheltenham-light] {
font-family: "ITC Cheltenham", serif;
font-weight: 200;
}
#type-specimen {
background-color: #cfcfcf;
}
@ -210,7 +235,8 @@ body {
}
#type-specimen p:first-of-type {
text-align: justify;
hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
margin-bottom: 1em;
}
#type-specimen p {
@ -239,6 +265,11 @@ body {
font-weight: 300 !important;
font-style: normal;
}
#type-specimen .title-uppercase {
font-weight: normal;
text-transform: uppercase;
letter-spacing: 0.01rem;
}
[data-type=ovo] .title {
font-weight: normal;
@ -268,45 +299,30 @@ body {
font-style: italic;
}
[data-type=routed-gothic] .title-bold,
[data-type=routed-gothic-narrow] .title-bold,
[data-type=routed-gothic-wide] .title-bold {
font-weight: normal !important;
}
[data-type=cheltenham-light] .title, [data-type=cheltenham-light] p {
font-weight: 200 !important;
}
.chapter p {
text-align: justify;
hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
position: relative;
color: var(--blue);
}
.chapter p + p {
left: 14mm;
text-indent: 7mm;
}
.chapter p + p + p {
left: 7mm;
}
.chapter .inline-note {
color: var(--green);
float: left;
clear: both;
width: 50mm;
text-align: left;
hyphens: none;
margin-right: 1ch;
margin-right: -20mm;
position: relative;
left: -25mm;
text-align: right;
font-family: var(--note);
line-height: 1.2;
}
.chapter .pagedjs_floatnote_marker,
.chapter .pagedjs_floatnote_call {
color: var(--green);
font-weight: bold;
padding-left: 0.25ch;
line-height: 0;
font-size: 9px;
font-family: var(--font);
}
.chapter .pagedjs_floatnote_marker {
text-align: left;
}
.chapter h3 {
margin-top: calc(var(--baseline) * 1.5);
margin-bottom: calc(var(--baseline) * 0.5);
@ -336,20 +352,37 @@ body {
position: relative;
}
.item-decor {
font-family: var(--font);
font-weight: 400;
font-size: 12px;
position: absolute;
.inline-note {
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;
line-height: 1.2;
}
.inline-note .body_note {
padding-top: 5px;
}
.pagedjs_left_page .item-decor {
left: -30mm;
.pagedjs_floatnote_marker,
.pagedjs_floatnote_call {
color: var(--green);
padding-left: 0.25ch;
line-height: 0;
font-size: 9px;
}
.pagedjs_right_page .item-decor {
right: -20mm;
.pagedjs_floatnote_marker {
text-align: left;
}
.chapter-header {
@ -375,6 +408,7 @@ body {
color: var(--blue);
margin-bottom: calc(var(--baseline) * 1);
text-align: center;
font-weight: normal;
}
.chapter-header .type {
@ -384,7 +418,8 @@ body {
.chapter-header .type,
.chapter-header .bio {
font-family: var(--mono);
hyphens: none;
-webkit-hyphens: none;
hyphens: none;
font-size: 9px;
line-height: 1.2;
left: 0px !important;
@ -400,6 +435,22 @@ body {
font-size: 38px;
line-height: 1;
font-family: var(--note);
font-weight: bold;
font-weight: normal;
text-align: center;
}
.item-decor {
font-family: var(--font);
font-weight: 400;
font-size: 12px;
position: absolute;
color: var(--green);
}
.pagedjs_left_page .item-decor {
left: -26mm;
}
.pagedjs_right_page .item-decor {
right: -26mm;
}/*# sourceMappingURL=style.css.map */