495 lines
No EOL
9.7 KiB
CSS
495 lines
No EOL
9.7 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Ovo&display=swap");
|
|
@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: 'Routed Gothic', sans-serif;
|
|
--font: 'Wagram Slab', serif;
|
|
--mono: 'Selectric Mono', monospace;
|
|
--mono: 'Ivory Mono', monospace;
|
|
--mono: 'Baskemo Sans', monospace;
|
|
--sans: 'Routed Gothic', serif;
|
|
--title: 'HNoailles Times Triplex', sans-serif;
|
|
--red: #9B0000;
|
|
--green:#009B00;
|
|
--green-light:#009b0025;
|
|
--blue: #00009B;
|
|
--indent: 7mm;
|
|
--font-size: 12px;
|
|
--baseline: 18px;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-font-smoothing: antialiased;
|
|
-o-font-smoothing: antialiased;
|
|
}
|
|
|
|
a {
|
|
color: currentColor;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font);
|
|
font-size: var(--font-size);
|
|
line-height: var(--baseline);
|
|
}
|
|
|
|
@media print {
|
|
@page {
|
|
size: 165mm 240mm;
|
|
margin-top: 16mm;
|
|
margin-bottom: 20mm;
|
|
bleed: 6mm;
|
|
marks: crop;
|
|
}
|
|
@page :left {
|
|
margin-left: 18mm;
|
|
margin-right: 26mm;
|
|
@bottom-center {
|
|
content: counter(page);
|
|
font-family: var(--sans);
|
|
font-size: 20px;
|
|
vertical-align: bottom;
|
|
padding-bottom: 5mm;
|
|
width: 10mm;
|
|
}
|
|
@top-left {
|
|
content: string(author);
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
}
|
|
@top-center {
|
|
content: string(type);
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
@page :right {
|
|
margin-left: 26mm;
|
|
margin-right: 18mm;
|
|
@bottom-center {
|
|
content: counter(page);
|
|
font-family: var(--sans);
|
|
font-size: 20px;
|
|
vertical-align: bottom;
|
|
padding-bottom: 5mm;
|
|
width: 10mm;
|
|
text-align: right;
|
|
}
|
|
@top-left {
|
|
content: string(title);
|
|
font-family: var(--mono);
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
/*p{
|
|
background: salmon;
|
|
}*/
|
|
.chapter {
|
|
-moz-column-break-before: right;
|
|
break-before: right;
|
|
page: chapter;
|
|
}
|
|
@page chapter:first {
|
|
@top-left {
|
|
content: none;
|
|
}
|
|
}
|
|
}
|
|
[data-type=ovo] {
|
|
font-family: "Ovo", serif;
|
|
}
|
|
|
|
[data-type=literata] {
|
|
font-family: "Literata", serif;
|
|
}
|
|
|
|
[data-type=vollkorn] {
|
|
font-family: "Vollkorn", serif;
|
|
}
|
|
|
|
[data-type=timezone] {
|
|
font-family: "HAL Timezone", serif;
|
|
}
|
|
|
|
[data-type=timezone-mono] {
|
|
font-family: "HAL Timezone Mono", monospace;
|
|
}
|
|
|
|
[data-type=selectric] {
|
|
font-family: "Selectric", serif;
|
|
}
|
|
|
|
[data-type=selectric-mono] {
|
|
font-family: "Selectric Mono", monospace;
|
|
}
|
|
|
|
[data-type=es-face] {
|
|
font-family: "ESFace", serif;
|
|
}
|
|
|
|
[data-type=ivory] {
|
|
font-family: "Ivory", serif;
|
|
}
|
|
|
|
[data-type=ivory-mono] {
|
|
font-family: "Ivory Mono", serif;
|
|
}
|
|
|
|
[data-type=necto-mono] {
|
|
font-family: "NectoMono", monospace;
|
|
}
|
|
|
|
[data-type=old-round] {
|
|
font-family: "OldRound", serif;
|
|
}
|
|
|
|
[data-type=old-round-hover] {
|
|
font-family: "OldRound Hover", serif;
|
|
}
|
|
|
|
[data-type=satoshi] {
|
|
font-family: "Satoshi", sans-serif;
|
|
}
|
|
|
|
[data-type=redaction] {
|
|
font-family: "Redaction", monospace;
|
|
}
|
|
|
|
[data-type=h-noailles-futura-simplex] {
|
|
font-family: "HNoailles Futura Simplex", sans-serif;
|
|
}
|
|
|
|
[data-type=h-noailles-futura-duplex] {
|
|
font-family: "HNoailles Futura Duplex", sans-serif;
|
|
}
|
|
|
|
[data-type=h-noailles-futura-triplex] {
|
|
font-family: "HNoailles Futura Triplex", sans-serif;
|
|
}
|
|
|
|
[data-type=h-noailles-times-simplex] {
|
|
font-family: "HNoailles Times Simplex", serif;
|
|
}
|
|
|
|
[data-type=h-noailles-times-duplex] {
|
|
font-family: "HNoailles Times Duplex", serif;
|
|
}
|
|
|
|
[data-type=h-noailles-times-triplex] {
|
|
font-family: "HNoailles Times Triplex", serif;
|
|
}
|
|
|
|
[data-type=adelphe-floreal] {
|
|
font-family: "Adelphe Floreal", serif;
|
|
}
|
|
|
|
[data-type=Adelphe-fructidor] {
|
|
font-family: "Adelphe Fructidor", serif;
|
|
}
|
|
|
|
[data-type=wagram] {
|
|
font-family: "Wagram", serif;
|
|
}
|
|
|
|
[data-type=wagram-slab] {
|
|
font-family: "Wagram Slab", serif;
|
|
}
|
|
|
|
[data-type=wagram-mono-slab] {
|
|
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;
|
|
}
|
|
|
|
[data-type=baskemo-sans] {
|
|
font-family: "Baskemo Sans", serif;
|
|
}
|
|
|
|
#type-specimen {
|
|
background-color: #cfcfcf;
|
|
}
|
|
#type-specimen .type {
|
|
font-family: sans-serif;
|
|
grid-column: span 2;
|
|
font-weight: bold;
|
|
}
|
|
#type-specimen .specimen {
|
|
width: 1200px;
|
|
height: 680px;
|
|
border: 1px solid #999;
|
|
background-color: white;
|
|
margin: 30px;
|
|
padding: 30px;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 30px;
|
|
}
|
|
#type-specimen p:first-of-type {
|
|
text-align: justify;
|
|
hyphens: auto;
|
|
margin-bottom: 1em;
|
|
}
|
|
#type-specimen p {
|
|
font-size: 16px;
|
|
}
|
|
#type-specimen .title {
|
|
font-size: 32px;
|
|
line-height: 1.1;
|
|
max-width: 22ch;
|
|
margin-bottom: 30px;
|
|
}
|
|
#type-specimen .content {
|
|
line-height: 1.3;
|
|
}
|
|
#type-specimen .title-bold {
|
|
font-weight: bold;
|
|
}
|
|
#type-specimen .title-normal {
|
|
font-weight: normal;
|
|
}
|
|
#type-specimen .title-italic {
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
}
|
|
#type-specimen .title-light {
|
|
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;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
[data-type=selectric] .title-bold,
|
|
[data-type=selectric-mono] .title-bold,
|
|
[data-type=timezone] .title-bold,
|
|
[data-type=timezone-mono] .title-bold {
|
|
font-weight: normal !important;
|
|
}
|
|
|
|
[data-type=selectric-mono] .content p {
|
|
letter-spacing: -0.01 rem;
|
|
white-space: 0.2ch;
|
|
}
|
|
|
|
[data-type=es-face] .title-bold {
|
|
font-weight: normal !important;
|
|
font-style: italic;
|
|
}
|
|
|
|
[data-type=redaction] .title-bold {
|
|
font-family: "Redaction 50";
|
|
font-weight: normal !important;
|
|
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;
|
|
hyphenate-limit-chars: 8 3;
|
|
position: relative;
|
|
letter-spacing: 0.01rem;
|
|
}
|
|
.chapter p + p {
|
|
text-indent: var(--indent);
|
|
}
|
|
.chapter h3 {
|
|
margin-top: calc(var(--baseline) * 1.5);
|
|
margin-bottom: calc(var(--baseline) * 0.5);
|
|
text-align: center;
|
|
font-weight: normal;
|
|
font-family: var(--mono);
|
|
text-transform: uppercase;
|
|
color: var(--blue);
|
|
max-width: 18ch;
|
|
letter-spacing: 0.05rem;
|
|
color: black;
|
|
-webkit-text-decoration: underline 1px;
|
|
text-decoration: underline 1px;
|
|
text-underline-offset: 2px;
|
|
}
|
|
.chapter blockquote {
|
|
font-family: var(--mono);
|
|
padding-left: var(--indent);
|
|
margin-top: calc(var(--baseline) * 1);
|
|
margin-bottom: calc(var(--baseline) * 1);
|
|
}
|
|
.chapter > :first-child {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
.pagedjs_area {
|
|
position: relative;
|
|
}
|
|
|
|
.pagedjs_footnote {
|
|
font-family: var(--sans);
|
|
line-height: 1.3;
|
|
font-size: 12px;
|
|
font-weight: 200;
|
|
text-indent: -14mm;
|
|
padding-left: 14mm;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.pagedjs_footnotes::marker {
|
|
color: red;
|
|
}
|
|
|
|
.pagedjs_footnote[data-footnote-call] {
|
|
font-size: 12px;
|
|
font-family: var(--sans);
|
|
text-indent: 0px;
|
|
margin-left: 2px;
|
|
}
|
|
.pagedjs_footnote[data-footnote-call]::after {
|
|
font-variant-position: normal;
|
|
content: attr(data-counter-footnote-increment) "}";
|
|
}
|
|
.pagedjs_footnote[data-footnote-call]::before {
|
|
content: "{";
|
|
}
|
|
|
|
[data-footnote-marker]::marker {
|
|
content: "{" counter(footnote-marker) "} ";
|
|
}
|
|
|
|
.chapter-header {
|
|
margin-top: calc(var(--baseline) * 2);
|
|
margin-bottom: calc(var(--baseline) * 3);
|
|
--color: black;
|
|
}
|
|
|
|
.chapter-header h2 {
|
|
string-set: title content(text);
|
|
}
|
|
|
|
.chapter-header .author {
|
|
string-set: author content(text);
|
|
}
|
|
|
|
.chapter-header .type {
|
|
string-set: type content(text);
|
|
}
|
|
|
|
.chapter-header h2 {
|
|
font-size: 46px;
|
|
line-height: 1.1;
|
|
font-family: var(--font);
|
|
font-family: var(--mono);
|
|
color: var(--blue);
|
|
margin-bottom: calc(var(--baseline) * 1);
|
|
text-align: left;
|
|
font-weight: normal;
|
|
color: var(--color);
|
|
text-align: center;
|
|
}
|
|
|
|
.chapter-header .type {
|
|
margin-bottom: calc(var(--baseline) * 1);
|
|
display: none;
|
|
}
|
|
|
|
.chapter-header .bio {
|
|
margin-top: calc(var(--baseline) * 3);
|
|
font-family: var(--sans);
|
|
hyphens: none;
|
|
line-height: 1.3;
|
|
font-size: 12px;
|
|
}
|
|
.chapter-header .bio .name {
|
|
text-indent: 0;
|
|
text-align: left;
|
|
font-weight: normal;
|
|
color: var(--color);
|
|
}
|
|
.chapter-header .bio .description {
|
|
text-indent: -14mm;
|
|
padding-left: 14mm;
|
|
text-align: left;
|
|
font-weight: normal;
|
|
color: var(--color);
|
|
hyphens: none;
|
|
}
|
|
|
|
.chapter-header .author {
|
|
left: 0px !important;
|
|
font-size: 26px;
|
|
line-height: 0.9;
|
|
font-weight: normal;
|
|
line-height: 1;
|
|
font-family: var(--mono);
|
|
text-align: center;
|
|
text-indent: 0;
|
|
color: var(--color);
|
|
margin-top: calc(var(--baseline) * 3);
|
|
-webkit-text-decoration: underline 1px;
|
|
text-decoration: underline 1px;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.item-decor {
|
|
font-family: var(--sans);
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
position: absolute;
|
|
}
|
|
|
|
.pagedjs_left_page .item-decor {
|
|
left: -12mm;
|
|
}
|
|
|
|
.pagedjs_right_page .item-decor {
|
|
right: -12mm;
|
|
}/*# sourceMappingURL=style.css.map */ |