Tools for generating the Volumetric Regimes book https://volumetricregimes.xyz/ (wiki-to-print, using Paged.js)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

190 lines
4.3 KiB

:root{
--font-size: 12px;
--line-height: 18px;
--small-font-size: 10px;
--small-line-height: 15px;
--h2-font-size: 21px;
--h2-line-height: 27px;
--first-indent: 7mm;
--second-indent: 20mm;
}
@font-face{
font-family: "bitter";
src: url(../fonts/Bitter-Medium.ttf);
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: "bitter";
src: url(../fonts/Bitter-MediumItalic.ttf);
font-weight: normal;
font-style: italic;
}
@font-face{
font-family: "bitter";
src: url(../fonts/Bitter-Bold.ttf);
font-weight: bold;
font-style: normal;
}
@font-face{
font-family: "bitter";
src: url(../fonts/Bitter-BoldItalic.ttf);
font-weight: bold;
font-style: italic;
}
@font-face{
font-family: "bitter_semi";
src: url(../fonts/Bitter-SemiBold.ttf);
font-weight: normal;
font-style: normal;
}
/* general */
body{
font-family: "bitter";
font-size: var(--font-size);
line-height: var(--line-height);
letter-spacing: 0.01em;
hyphens: auto;
}
@page{
size: 324.6mm 229mm; /* Based on calculations: 323.4, based on canvas template: 324.6 ....... */
orientation: landscape;
background: linear-gradient(180deg, #3741ea, #c0c1e7);
margin: 0;
padding: 0;
color: white;
bleed: 3mm;
/*marks: crop;*/
}
div.cover,
div.spine,
div.backcover{
position: relative;
display: inline-block;
height: 229mm;
vertical-align: top;
}
div.cover,
div.backcover{
width: 152mm;
/*border: 1px solid green;*/
}
div.cover,
div.cover ul li,
div.backcover b{
font-size: var(--h2-font-size);
font-family: "bitter_semi";
line-height: var(--h2-line-height);
letter-spacing: 0.025em;
color: white;
font-weight: bold;
}
div.cover{
padding: 6mm 27mm 0 41mm;
/* margin-top: 17mm, margin-left: 41mm */
}
div.cover p.title,
div.backcover p.title{
width: 300px;
hyphens: none;
}
div.backcover p.title + p{
margin-top: -0.75mm !important;
}
div.cover ul{
padding: 0;
margin: 1.5em 0 !important;
}
div.cover ul li{
margin-bottom: 0.1em !important;
list-style: none;
}
p#multi{
position: absolute;
top: 29mm;
right: 5mm;
width: 150mm;
z-index: 1;
}
div.backcover{
padding: 8mm 21mm 0 42mm;
/* margin-top: 17mm, margin-left: 42mm */
}
div.backcover b{
margin-left: 0;
}
div.backcover p{
margin-bottom: var(--line-height);
}
div.backcover p:first-of-type{
margin-bottom: 9px !important;
}
div.backcover div.barcode img{
position: absolute;
width: 45mm;
right: 14mm; /* margin-right: 14mm */
bottom: 16mm; /* margin-bottom: 16mm */
}
div.backcover div.logo-ohp img{
position: absolute;
width: 50mm;
left: 12mm; /* margin-left: 12mm */
bottom: 17mm; /* margin-bottom: 19mm */
}
div.spine{
position: relative;
width: 19.4mm; /* size of the spine mentioned in template */
}
div.spine p#title{
position: absolute;
top: 25mm;
transform: rotate(90deg);
transform-origin: 8% -4%;
width: 229mm;
height: 15mm;
font-size: var(--h2-font-size);
font-family: "bitter_semi";
line-height: var(--h2-line-height);
letter-spacing: 0.025em;
padding-top: 1mm;
/*border: 1px solid lime;*/
}
div.spine p#multi-small {
position: absolute;
top: 114mm;
width: 18mm;
height: auto;
margin: 0 0.7mm;
padding: 0;
}
div.spine p#logo {
position: absolute;
bottom: 12mm;
width: 9mm;
height: auto;
margin: 0 5.2mm;
padding: 0;
}
div.backcover p#logo-title img,
div.spine p#multi-small img,
div.spine p#multi img,
div.spine p#logo img{
width: 100%;
}
a,
a:visited,
a:active,
a:hover{
color: inherit;
text-decoration: none;
page-break-inside: avoid;
}