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.

244 lines
3.9 KiB
CSS

:root{
/* --spot-color-1: #53018e; */
--spot-color-1: #60f;
}
@font-face {
font-family: 'Consolation';
src: local('Consolation'),
url('./00-booklet/fonts/Consolation014.woff') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Simlish';
src: url('./00-booklet/fonts/immajer-Simlish.woff') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'worksans';
src: url('./00-booklet/fonts/worksans/WorkSans-Regular.woff') format('opentype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'worksans';
src: url('./00-booklet/fonts/worksans/WorkSans-Bold.woff') format('opentype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'worksans';
src: url('./00-booklet/fonts/worksans/WorkSans-Italic.woff') format('opentype');
font-weight: normal;
font-style: oblique;
}
@font-face {
font-family: 'worksans';
src: url('./00-booklet/fonts/worksans/WorkSans-Bold.woff') format('opentype');
font-weight: bold;
font-style: oblique;
}
body{
font-family: worksans;
background-color: #000;
color: #fff;
max-width: 40rem;
margin: 2rem auto;
line-height: 1.3;
letter-spacing: 0.1px;
}
img{
width: 100%;
margin: 1rem 0;
z-index: -3;
}
::selection{
background-color: var(--spot-color-1);
color: #fff;
}
body {
background: #000;
background: rgba(0, 0, 0, 1);
color: #fff;
overflow-x: hidden;
}
a{
text-decoration: none;
color: var(--spot-color-1);
}
blockquote{
margin-left: 0;
margin-right: 0;
}
.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;
}
.code pre{
font-size: 0.8em;
line-height: 1.1;
white-space: pre-wrap;
}
figure{
margin: 0;
}
.full-image, .centered-image, .centered-text{
height: 20rem;
width: 100%;
/* margin: -13mm 0 0 -30mm; */
position: relative;
}
.full-image figure{
margin: 0;
}
.full-image figcaption{
z-index: 10;
}
.white-caption + figcaption{
color: #fff;
}
.full-image img{
object-fit: cover;
}
img{
width: 100%;
}
h1,h2,h3,h4,h5,h6{
text-transform: uppercase;
padding-top: 0rem;
font-family: 'Consolation';
font-size: 3.5em;
line-height: 0.8;
}
h1{
font-size: 1.8rem;
break-after: page;
color: #fff;
margin: 0;
padding: 0;
}
h1#colophon{
break-after: unset;
margin-bottom: 25mm;
}
h2{
color: var(--spot-color-1);
}
h6{
font-size: 3rem;
break-before: right;
/* background-color: var(--spot-color-1); */
/* color: #fff; */
height: 176mm;
width: 133mm;
margin: -13mm 0 0 -30mm;
padding: 86mm 10mm 0;
text-align: center;
}
li{
list-style: none;
color: #fff;
}
ol, ul{padding: 0;}
div#licence ol, div#licence ul{
padding-left: 5mm;
}
.page-break{
break-after: page;
}
section{
break-after: page;
}
.section{
break-before: left;
}
@media print{
@page section:first {
margin: 10mm;
margin-right: 20mm;
background-color: black;
color: white;
}
}
#section-5 h3, #section-21 h3{
break-before: page;
}
::selection{
background-color: var(--spot-color-1);
color: #ccc;
}
.simlish{
font-family: 'Simlish';
}
.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;
}
#worry-dolls figcaption{display: none;}
#worry-dolls img{
break-before: page;
display: block;
position: relative;
top: 20mm;
left: 50mm;
width: 10mm;
}
.yt-tarot-images{
margin-top: 29.5mm;
}
@media only screen and (max-width: 767px) {
body{
max-width: calc(100% - 2rem);
margin: 2rem 1rem;
}
}