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.

266 lines
5.0 KiB
CSS

2 years ago
/* @import url('https://pad.xpub.nl/p/sixx-print-css/export/txt') */
:root{
/* --spot-color-1: #53018e; */
--spot-color-1: #000;
--baseline: 5mm;
--margin-left: 10mm;
}
@font-face {
font-family: 'Consolation';
src: local('Consolation'),
2 years ago
url('./fonts/Consolation014.woff') format('opentype');
2 years ago
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Simlish';
2 years ago
src: url('./fonts/immajer-Simlish.woff') format('opentype');
font-weight: normal;
font-style: normal;
}
2 years ago
@font-face {
font-family: 'worksans';
2 years ago
src: url('./fonts/worksans/WorkSans-Regular.woff') format('opentype');
2 years ago
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'worksans';
2 years ago
src: url('./fonts/worksans/WorkSans-Bold.woff') format('opentype');
2 years ago
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'worksans';
2 years ago
src: url('./fonts/worksans/WorkSans-Italic.woff') format('opentype');
2 years ago
font-weight: normal;
font-style: oblique;
}
@font-face {
font-family: 'worksans';
2 years ago
src: url('./fonts/worksans/WorkSans-Bold.woff') format('opentype');
2 years ago
font-weight: bold;
font-style: oblique;
}
@media print{
@page{
size: 130mm 180mm;
marks: crop cross;
bleed: 3mm;
2 years ago
margin: 10mm;
print-color-adjust: exact;
2 years ago
}
@page:left {
margin-right: 30mm;
2 years ago
/* bleed: 3mm 0 3mm 3mm; */
2 years ago
@bottom-left {
font-family: 'worksans';
font-size: 9px;
top: -3mm;
position: relative;
content: counter(page);
}
2 years ago
}
@page:right {
margin-left: 30mm;
2 years ago
/* bleed: 3mm 3mm 3mm 0; */
2 years ago
@bottom-right {
font-family: 'worksans';
font-size: 9px;
top: -3mm;
position: relative;
right:0mm;
content: counter(page);
}
/* @left-top {
font-family: 'worksans';
font-size: 9px;
overflow-x: visible;
transform: rotate(90deg);
content: "DOCUMENTATION OF GAMES AND RITUALS, KICK OFF SESSIONS";
} */
2 years ago
}
}
a{
text-decoration: none;
color: #000;
}
blockquote{
margin-left: 0;
margin-right: 0;
}
2 years ago
.centered-image, .centered-text{
display: flex;
align-items: center;
/* justify-content: center; */
}
.centered-image figure{
margin: 0 0 0 30mm;
width: 90mm;
}
.centered-text > *{
width: 100%;
text-align: center;
}
2 years ago
.code pre{
font-size: 0.8em;
line-height: 1.1;
white-space: pre-wrap;
}
2 years ago
#contenteo{
font-family: 'worksans';
line-height: 1.3;
font-size: 12px;
letter-spacing: -0.1px;
line-height: var(--baseline);
}
figure{
margin: 5mm 0;
}
2 years ago
.full-image, .centered-image, .centered-text{
break-before: right;
height: 186mm;
width: 133mm;
margin: -13mm 0 0 -30mm;
position: relative;
}
.full-image figure{
margin: 0;
}
.full-image figcaption{
position: absolute;
bottom: 15mm;
left: 30mm;
z-index: 10;
padding-right: 20mm;
}
.white-caption + figcaption{
color: #fff;
}
.full-image img{
2 years ago
height: 186mm;
width: 133mm;
object-fit: cover;
}
img{
width: 100%;
}
h1,h2,h3,h4,h5,h6{
text-transform: uppercase;
font-family: 'Consolation';
font-size: 1.2em;
2 years ago
line-height: 1;
2 years ago
/* color: var(--spot-color-1); */
2 years ago
}
h1{
font-size: 1.8rem;
2 years ago
break-after: page;
/* background-color: var(--spot-color-1); */
2 years ago
color: #fff;
2 years ago
/* height: 190mm;
width: 133mm; */
margin: 0;
padding: 0;
}
h1#colophon{
break-after: unset;
margin-bottom: 25mm;
2 years ago
}
h6{
font-size: 3rem;
break-before: right;
/* background-color: var(--spot-color-1); */
/* color: #fff; */
2 years ago
height: 176mm;
width: 133mm;
margin: -13mm 0 0 -30mm;
padding: 86mm 10mm 0;
text-align: center;
}
2 years ago
ol, ul{padding: 0;}
div#licence ol, div#licence ul{
padding-left: 5mm;
}
.page-break{
break-after: page;
}
2 years ago
section{
break-after: page;
}
2 years ago
.section{
break-before: left;
2 years ago
page: section;
}
@media print{
@page section:first {
margin: 10mm;
margin-right: 20mm;
background-color: black;
color: white;
}
}
2 years ago
#section-5 h3, #section-21 h3{
break-before: page;
}
2 years ago
::selection{
background-color: var(--spot-color-1);
color: #ccc;
}
.simlish{
font-family: 'Simlish';
}
2 years ago
.small-images figure{
margin: 1mm;
}
.small-images figcaption{
margin-top: -2mm;
}
.small-images img{
width: 70mm;
}
.toc{
break-before: right;
}
.toc ul{
list-style: none;
padding: 0;
margin: 0;
}
.toc-title{
break-before: none;
break-after: none;
}
.toc-title a::after{
content: target-counter(attr(href url), page);
float: right;
2 years ago
}
2 years ago
#worry-dolls figcaption{display: none;}
2 years ago
#worry-dolls img{
2 years ago
break-before: page;
2 years ago
display: block;
position: relative;
top: 20mm;
left: 50mm;
2 years ago
width: 10mm;
2 years ago
}
.yt-tarot-images{
margin-top: 29.5mm;
2 years ago
}