128 lines
2.2 KiB
CSS
128 lines
2.2 KiB
CSS
@charset "utf-8";
|
|
|
|
@page{
|
|
size: A5;
|
|
margin: 10mm 15mm 20mm 15mm;
|
|
|
|
@bottom-center{
|
|
content: counter(page);
|
|
font-family: abordage;
|
|
font-size: 150%;
|
|
}
|
|
}
|
|
|
|
@page :first {
|
|
@bottom-center {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
@font-face {
|
|
font-family: abordage;
|
|
src: url(https://chatty-pub-files.hackersanddesigners.nl/files/2/99/nMPuQi6bsXWzzHQcKzByuHnk/abordage-regular.woff);
|
|
}
|
|
|
|
@font-face {
|
|
font-family: Director-Regular;
|
|
src: url(https://chatty-pub-files.hackersanddesigners.nl/files/2/d2/T7cPNlPHYfJD7uGerSbUl2zH/Director-Regular.otf);
|
|
}
|
|
|
|
|
|
@font-face {
|
|
font-family: Latitude;
|
|
src: url(https://chatty-pub-files.hackersanddesigners.nl/files/2/f8/52Q5ce2-rtPtoRRQpZrwp0X_/Latitude-Regular.otf);
|
|
}
|
|
|
|
body{
|
|
font-family: Latitude;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
color: #822b01;
|
|
--paged-layout: booklet;
|
|
}
|
|
|
|
/* ------------------------------------ cover */
|
|
|
|
@page:first {
|
|
color: white;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
filter: hue-rotate(17deg);
|
|
}
|
|
|
|
.cover{
|
|
break-after: always;
|
|
font-family: abordage;
|
|
margin-top: 50px;
|
|
padding: 15px;
|
|
background: #822b01;
|
|
background-clip: border-box;
|
|
|
|
}
|
|
|
|
.cover h1#title {
|
|
font-family: abordage;
|
|
font-size: 500%;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
.cover h2 {
|
|
font-family: abordage;
|
|
font-size: 200%;
|
|
}
|
|
|
|
/* ------------------------------------ main */
|
|
|
|
|
|
h1 {
|
|
font-family: abordage;
|
|
font-size: 500%;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
section#main pre{
|
|
color: black;
|
|
}
|
|
|
|
.main h2 {
|
|
font-family: abordage;
|
|
font-size: 180%;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
blockquote{
|
|
margin-right: 0;
|
|
font-family: abordage;
|
|
font-size: 140%;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
/*
|
|
Images are always grayscale in the main content and
|
|
are alone on a page
|
|
*/
|
|
.main img {
|
|
display: block;
|
|
filter: grayscale(100%);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 15px;
|
|
margin-bottom: 20px;
|
|
width: 100%;
|
|
page-break-after: always;
|
|
page-break-before: always;
|
|
}
|
|
|
|
/*
|
|
*** alone on a line in markdown will be turned into a <hr>
|
|
we use this a way to force a page break, and hide the hr itself.
|
|
*/
|
|
|
|
hr {
|
|
break-after: page;
|
|
border: none;
|
|
margin: 0;
|
|
height: 0;
|
|
}
|
|
|