You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

231 lines
4.3 KiB
CSS

5 months ago
@import "images.css";
@import "theatre.css";
@import "stephen.css";
@import "fairleads.css";
5 months ago
:root {
5 months ago
--spot-color-1: #2b33c4;
5 months ago
--baseline: 4mm;
--margin-left: 10mm;
}
5 months ago
@font-face {
font-family: 'Platypi';
5 months ago
src: url('../fonts/Platypi[wght].woff2');
font-weight: 300 800;
5 months ago
font-style: normal;
5 months ago
}
5 months ago
@font-face {
font-family: 'Platypi';
5 months ago
src: url('../fonts/Platypi-Italic[wght].woff2');
font-weight: 300 800;
5 months ago
font-style: italic;
5 months ago
}
5 months ago
@media print{
@page{
size: 130mm 180mm;
marks: crop; /* can also add cross */
bleed: 3mm;
5 months ago
margin: 10mm 25mm 15mm;
5 months ago
print-color-adjust: exact;
5 months ago
@bottom-center {
5 months ago
content: string(title, first);
position: relative;
text-align: left;
font-size: 7pt;
5 months ago
}
5 months ago
}
5 months ago
@page:left {
/* bleed: 3mm 0 3mm 3mm; */
5 months ago
@bottom-left-corner {
5 months ago
font-size: 7pt;
5 months ago
position: relative;
content: counter(page);
5 months ago
margin-left: 10mm;
text-align: left;
5 months ago
}
}
5 months ago
@page:right {
5 months ago
margin-top: 10mm;
margin-bottom: 15mm;
5 months ago
/* bleed: 3mm 3mm 3mm 0; */
@bottom-center {
text-align: right;
5 months ago
}
5 months ago
@bottom-right-corner {
5 months ago
font-size: 7pt;
5 months ago
position: relative;
content: counter(page);
5 months ago
margin-right: 10mm;
text-align: right;
5 months ago
}
}
5 months ago
}
a {
5 months ago
text-decoration: none;
color: #000;
}
5 months ago
.margin-note, .fake-margin-note{
5 months ago
font-size: 7pt;
line-height: 3mm;
5 months ago
display: inline-block;
5 months ago
text-align-last: initial;
box-sizing: border-box;
float: left;
margin: 5mm 5mm 5mm -15mm;
color: var(--spot-color-1);
}
body .pagedjs_left_page .margin-note{
width: 35mm;
}
body .pagedjs_right_page .margin-note{
width: 35mm;
5 months ago
float:right;
margin: 5mm -15mm 5mm 5mm;
}
body .margin-note{
/* This is overriding position absolute in the plugin,
it breaks side notes that are too close to the bottom
of the page which is sad */
5 months ago
position: static;
}
blockquote .margin-note{
width: 45mm;
margin-left: -25mm;
}
.fake-margin-note{
5 months ago
margin: 20mm 0 0;
5 months ago
a{color:var(--spot-color-1)};
h1{font-size: 7pt;}
5 months ago
}
.code pre {
5 months ago
font-size: 0.8em;
line-height: 1.1;
white-space: pre-wrap;
}
5 months ago
blockquote{
margin: var(--baseline) 10mm;
color: var(--spot-color-1);
}
5 months ago
body{
5 months ago
font-family: 'Platypi',serif ;
font-synthesis: none;
5 months ago
line-height: 1.3;
5 months ago
font-size: 9pt;
5 months ago
letter-spacing: -0.1px;
line-height: var(--baseline);
}
h1, h2, h3, h4, h5, h6 {
5 months ago
font-size: 1.2em;
line-height: 1;
}
h1 {
5 months ago
font-size: 3rem;
font-style: italic;
break-before: right;
5 months ago
string-set: title content(text);
5 months ago
}
5 months ago
5 months ago
h2 {
font-size: 1.6em;
}
.h2-no-pagebreak {
font-size: 1.6em;
line-height: 1;
font-style: italic;
break-after: avoid;
}
5 months ago
5 months ago
.reset-margin-notes{
counter-reset: markerNote_marginNote -10;
counter-reset: callNote_marginNote -10;
display: block;
}
h1#colophon {
5 months ago
break-after: unset;
margin-bottom: 25mm;
}
5 months ago
h1#reviews{display: none;}
5 months ago
h2{
break-before: page;
}
h6 {
5 months ago
font-size: 3rem;
break-before: right;
/* background-color: var(--spot-color-1); */
/* color: #fff; */
height: 176mm;
width: 133mm;
5 months ago
/* margin: -13mm 0 0 -30mm;
padding: 86mm 10mm 0; */
5 months ago
text-align: center;
}
5 months ago
#keylogger{
color: var(--spot-color-1);
font-size: 7pt;
line-height: 3mm;
}
sup{
color: var(--spot-color-1);
line-height: 0.1;
font-size: 7pt;
}
ol, ul {
padding: 0;
}
.page-break {
5 months ago
break-after: page;
}
.toc {
margin: 10mm 0 0 -5mm;
width: 90mm;
5 months ago
}
.toc h1{
display: none;
break-after: none;
5 months ago
}
.toc ul {
5 months ago
list-style: none;
padding: 0;
margin: 0;
line-height: 6.9mm;
text-align: center;
5 months ago
}
/* .toc-title:first-of-type, .toc-title:nth-of-type(2), .toc-title:nth-of-type(10){
5 months ago
margin-left: 40mm;
} */
5 months ago
.toc-title{
font-size: 23pt;
5 months ago
display: inline;
5 months ago
}
.toc-title a::after {
5 months ago
content: target-counter(attr(href url), page);
5 months ago
font-size: 9pt;
color: var(--spot-color-1);
5 months ago
padding: 0 0.5rem;
display: inline-block;
line-height: 0;
}
#digital-bodies + blockquote{
margin-right: 0;
}
5 months ago
#bibliography{
5 months ago
font-size: 7pt;
line-height: 3mm;
5 months ago
}