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.

242 lines
4.5 KiB
CSS

/* @import url('https://pad.xpub.nl/p/sixx-print-css/export/txt'); */
5 months ago
@import "images.css"; /* Using a string */
5 months ago
:root {
5 months ago
/* --spot-color-1: #53018e; */
5 months ago
--spot-color-1: #00f;
5 months ago
--baseline: 4mm;
--margin-left: 10mm;
}
5 months ago
@font-face {
font-family: 'Platypi';
src: url('../fonts/webfonts/Platypi-Regular.woff2');
5 months ago
font-style: normal;
5 months ago
}
5 months ago
@font-face {
font-family: 'Platypi';
src: url('../fonts/webfonts/Platypi-Italic.woff2');
<<<<<<< HEAD
font-weight: italic;
5 months ago
}
@media print {
@page {
=======
5 months ago
font-style: italic;
5 months ago
}
notes{
position: note(sidenotes);
}
5 months ago
@media print{
@page{
>>>>>>> 55ed7a48c770886295d8b817569fea3813c769ed
5 months ago
size: 130mm 180mm;
marks: crop; /* can also add cross */
bleed: 3mm;
5 months ago
margin: 25mm;
5 months ago
print-color-adjust: exact;
5 months ago
margin-top: 10mm;
margin-bottom: 15mm;
@bottom-center {
5 months ago
content: string(title, first);
position: relative;
text-align: left;
font-size: 7pt;
<<<<<<< HEAD
}
5 months ago
@left-top {
content: element(sidenote, all-once);
padding: 5mm;
5 months ago
}
5 months ago
@note-area {
content: element(sidenotes, all-once);
float: top right;
float-reference: page;
width: 42mm;
margin-right: -30mm;
}
=======
5 months ago
}
>>>>>>> 55ed7a48c770886295d8b817569fea3813c769ed
5 months ago
}
5 months ago
@page:left {
/* bleed: 3mm 0 3mm 3mm; */
@bottom-left {
5 months ago
font-size: 7pt;
5 months ago
top: -3mm;
position: relative;
content: counter(page);
5 months ago
width: 5mm;
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 {
5 months ago
font-size: 7pt;
5 months ago
top: -3mm;
position: relative;
content: counter(page);
5 months ago
width: 5mm;
5 months ago
}
}
5 months ago
}
a {
5 months ago
text-decoration: none;
color: #000;
}
<<<<<<< HEAD
.sidenote {
5 months ago
position: note(sidenote);
margin-bottom: 10px;
text-align: left;
5 months ago
}
.margin-note {
=======
5 months ago
.margin-note{
>>>>>>> 55ed7a48c770886295d8b817569fea3813c769ed
5 months ago
font-size: 7pt;
line-height: 3mm;
text-align: left;
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;
5 months ago
}
.code pre {
5 months ago
font-size: 0.8em;
line-height: 1.1;
white-space: pre-wrap;
}
<<<<<<< HEAD
#contenteo {
font-family: 'Platypi-Regular', 'platypi';
=======
5 months ago
body{
5 months ago
font-family: 'Platypi-Regular','platypi' ;
>>>>>>> 55ed7a48c770886295d8b817569fea3813c769ed
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;
5 months ago
string-set: title content(text);
5 months ago
}
h1 {
5 months ago
font-size: 1.8rem;
break-after: page;
5 months ago
/* margin: 0; */
/* padding: 0; */
5 months ago
}
h1#colophon {
5 months ago
break-after: unset;
margin-bottom: 25mm;
}
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;
}
ol, ul {
padding: 0;
}
.page-break {
5 months ago
break-after: page;
}
section {
5 months ago
break-after: page;
}
.section {
5 months ago
break-before: left;
page: section;
}
::selection {
5 months ago
background-color: var(--spot-color-1);
color: #ccc;
}
.toc {
5 months ago
break-before: right;
}
.toc ul {
5 months ago
list-style: none;
padding: 0;
margin: 0;
}
<<<<<<< HEAD
.toc-title {
5 months ago
break-before: none;
break-after: none;
=======
5 months ago
.toc-title{
5 months ago
font-size: 24pt;
font-weight: medium;
line-height: 8mm;
display: inline;
>>>>>>> 55ed7a48c770886295d8b817569fea3813c769ed
5 months ago
}
.toc-title a::after {
5 months ago
content: target-counter(attr(href url), page);
<<<<<<< HEAD
5 months ago
float: right;
}
=======
5 months ago
font-size: 9pt;
color: var(--spot-color-1);
padding: 0 1rem;
}
>>>>>>> 55ed7a48c770886295d8b817569fea3813c769ed