add maquette-tests
This commit is contained in:
parent
a25f7b6eba
commit
f01a1ed6f8
348 changed files with 42979 additions and 0 deletions
25
maquette-tests/assets/css/base/_body.scss
Normal file
25
maquette-tests/assets/css/base/_body.scss
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-font-smoothing: antialiased;
|
||||
-o-font-smoothing: antialiased
|
||||
}
|
||||
a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
|
||||
// .inline-note{
|
||||
// color: red;
|
||||
// }
|
||||
|
||||
body {
|
||||
--font-size: 11px;
|
||||
--baseline: 18px;
|
||||
font-family: var(--font);
|
||||
font-size: var(--font-size);
|
||||
line-height: var(--baseline);
|
||||
|
||||
}
|
||||
66
maquette-tests/assets/css/base/_layout.scss
Normal file
66
maquette-tests/assets/css/base/_layout.scss
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
@media print{
|
||||
|
||||
@page {
|
||||
size: 165mm 240mm;
|
||||
margin-top: 10mm;
|
||||
margin-bottom: 20mm;
|
||||
|
||||
}
|
||||
|
||||
@page:left{
|
||||
margin-left: 35mm;
|
||||
margin-right: 30mm;
|
||||
@bottom-left-corner{
|
||||
content: counter(page);
|
||||
font-family: var(--mono);
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
padding-left: 10mm;
|
||||
}
|
||||
@bottom-left {
|
||||
content: string(author);
|
||||
font-family: var(--mono);
|
||||
}
|
||||
@bottom-center {
|
||||
content: string(type);
|
||||
font-family: var(--mono);
|
||||
}
|
||||
}
|
||||
|
||||
@page:right{
|
||||
margin-left: 40mm;
|
||||
margin-right: 25mm;
|
||||
@bottom-right-corner{
|
||||
content: counter(page);
|
||||
font-family: var(--mono);
|
||||
font-size: 14px;
|
||||
text-align: right;
|
||||
padding-right: 10mm;
|
||||
}
|
||||
@bottom-left {
|
||||
content: string(title);
|
||||
font-family: var(--mono);
|
||||
}
|
||||
}
|
||||
|
||||
/*p{
|
||||
background: salmon;
|
||||
}*/
|
||||
|
||||
.chapter{
|
||||
break-before: right;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// .pagedjs_left_page .pagedjs_pagebox{
|
||||
|
||||
// background: linear-gradient(180deg, transparent 82%, #00009B 100%)!important;
|
||||
|
||||
// }
|
||||
|
||||
// .pagedjs_right_page .pagedjs_pagebox{
|
||||
|
||||
// background: linear-gradient(180deg, transparent 82%, #00009B 100%)!important;
|
||||
|
||||
// }
|
||||
117
maquette-tests/assets/css/base/_type-specimen.scss
Normal file
117
maquette-tests/assets/css/base/_type-specimen.scss
Normal file
|
|
@ -0,0 +1,117 @@
|
|||
#type-specimen{
|
||||
background-color: #cfcfcf;
|
||||
|
||||
.type{
|
||||
font-family: sans-serif;
|
||||
grid-column: span 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.specimen{
|
||||
|
||||
width: 1200px;
|
||||
height: 680px;
|
||||
border: 1px solid #999;
|
||||
background-color: white;
|
||||
margin: 30px;
|
||||
padding: 30px;
|
||||
overflow: hidden;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 30px;
|
||||
|
||||
}
|
||||
|
||||
p:first-of-type{
|
||||
text-align: justify;
|
||||
hyphens: auto;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
p{
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
|
||||
.title{
|
||||
|
||||
font-size: 32px;
|
||||
line-height: 1.1;
|
||||
max-width: 22ch;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.content{
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.title-bold{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.title-normal{
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.title-italic{
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
.title-light{
|
||||
font-weight: 300!important;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[data-type="ovo"]{
|
||||
.title{
|
||||
font-weight: normal;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
[data-type="literata"]{
|
||||
p{
|
||||
// line-height: 1.2;
|
||||
}
|
||||
}
|
||||
|
||||
[data-type="selectric"],
|
||||
[data-type="selectric-mono"],
|
||||
[data-type="timezone"],
|
||||
[data-type="timezone-mono"]{
|
||||
.title-bold{
|
||||
font-weight: normal!important;
|
||||
}
|
||||
}
|
||||
|
||||
[data-type="selectric-mono"] .content p{
|
||||
letter-spacing: -0.01
|
||||
rem;
|
||||
white-space: 0.2ch;
|
||||
}
|
||||
|
||||
|
||||
[data-type="es-face"]{
|
||||
.title-bold{
|
||||
font-weight: normal!important;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
[data-type="redaction"]{
|
||||
.title-bold{
|
||||
font-family: 'Redaction 50';
|
||||
font-weight: normal!important;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[data-type="h-noailles-times-duplex"]{
|
||||
|
||||
}
|
||||
|
||||
106
maquette-tests/assets/css/base/_type.scss
Normal file
106
maquette-tests/assets/css/base/_type.scss
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
@import url('https://fonts.googleapis.com/css2?family=Ovo&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap');
|
||||
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap');
|
||||
|
||||
[data-type="ovo"]{
|
||||
font-family: "Ovo", serif;
|
||||
|
||||
}
|
||||
|
||||
[data-type="literata"]{
|
||||
font-family: "Literata", serif;
|
||||
|
||||
}
|
||||
|
||||
[data-type="vollkorn"]{
|
||||
font-family: "Literata", serif;
|
||||
}
|
||||
|
||||
|
||||
[data-type="timezone"]{
|
||||
font-family: 'HAL Timezone', serif;
|
||||
}
|
||||
|
||||
[data-type="timezone-mono"]{
|
||||
font-family: 'HAL Timezone Mono', monospace;
|
||||
}
|
||||
|
||||
|
||||
[data-type="selectric"]{
|
||||
font-family: 'Selectric', serif;
|
||||
}
|
||||
|
||||
[data-type="selectric-mono"]{
|
||||
font-family: 'Selectric Mono', monospace;
|
||||
}
|
||||
|
||||
[data-type="es-face"]{
|
||||
font-family: 'ESFace', serif;
|
||||
}
|
||||
|
||||
[data-type="ivory"]{
|
||||
font-family: 'Ivory', serif;
|
||||
}
|
||||
[data-type="ivory-mono"]{
|
||||
font-family: 'Ivory Mono', serif;
|
||||
}
|
||||
[data-type="necto-mono"]{
|
||||
font-family: 'NectoMono', monospace;
|
||||
}
|
||||
|
||||
[data-type="old-round"]{
|
||||
font-family: 'OldRound', serif;
|
||||
}
|
||||
|
||||
[data-type="old-round-hover"]{
|
||||
font-family: 'OldRound Hover', serif;
|
||||
}
|
||||
|
||||
[data-type="satoshi"]{
|
||||
font-family: 'Satoshi', sans-serif;
|
||||
}
|
||||
|
||||
[data-type="redaction"]{
|
||||
font-family: 'Redaction', monospace;
|
||||
}
|
||||
|
||||
[data-type="h-noailles-futura-simplex"]{
|
||||
font-family: 'HNoailles Futura Simplex', sans-serif;
|
||||
}
|
||||
|
||||
[data-type="h-noailles-futura-duplex"]{
|
||||
font-family: 'HNoailles Futura Duplex', sans-serif;
|
||||
}
|
||||
|
||||
[data-type="h-noailles-futura-triplex"]{
|
||||
font-family: 'HNoailles Futura Triplex', sans-serif;
|
||||
}
|
||||
|
||||
[data-type="h-noailles-times-simplex"]{
|
||||
font-family: 'HNoailles Times Simplex', serif;
|
||||
}
|
||||
|
||||
[data-type="h-noailles-times-duplex"]{
|
||||
font-family: 'HNoailles Times Duplex', serif;
|
||||
}
|
||||
|
||||
[data-type="h-noailles-times-triplex"]{
|
||||
font-family: 'HNoailles Times Triplex', serif;
|
||||
}
|
||||
|
||||
[data-type="adelphe-floreal"]{
|
||||
font-family: 'Adelphe Floreal', serif;
|
||||
}
|
||||
[data-type="Adelphe-fructidor"]{
|
||||
font-family: 'Adelphe Fructidor', serif;
|
||||
}
|
||||
|
||||
[data-type="wagram"]{
|
||||
font-family: 'Wagram', serif;
|
||||
}
|
||||
[data-type="wagram-slab"]{
|
||||
font-family: 'Wagram Slab', serif;
|
||||
}
|
||||
[data-type="wagram-mono-slab"]{
|
||||
font-family: 'Wagram Mono Slab', monospace;
|
||||
}
|
||||
19
maquette-tests/assets/css/base/_var.scss
Normal file
19
maquette-tests/assets/css/base/_var.scss
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
:root{
|
||||
|
||||
--font: 'Wagram Slab', serif;
|
||||
// --font: 'HAL Timezone', serif;
|
||||
--mono: 'Selectric Mono', monospace;
|
||||
// --mono: 'HAL Timezone Mono', monospace;
|
||||
--note: 'HNoailles Times Triplex', serif;
|
||||
|
||||
--red: #9B0000;
|
||||
--green:#009B00;
|
||||
--green-light:#009b0025;
|
||||
--blue: #00009B;
|
||||
|
||||
--red: black;
|
||||
--green:#009B00;
|
||||
--green-light:#009b0025;
|
||||
--blue: black;
|
||||
|
||||
}
|
||||
59
maquette-tests/assets/css/modules/_chapter-header.scss
Normal file
59
maquette-tests/assets/css/modules/_chapter-header.scss
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
.chapter-header{
|
||||
// break-after: page;
|
||||
margin-bottom: calc(var(--baseline)*6);
|
||||
}
|
||||
|
||||
.chapter-header h2 {
|
||||
string-set: title content(text);
|
||||
}
|
||||
|
||||
.chapter-header .author {
|
||||
string-set: author content(text);
|
||||
}
|
||||
|
||||
.chapter-header .type {
|
||||
string-set: type content(text);
|
||||
}
|
||||
|
||||
|
||||
.chapter-header h2{
|
||||
font-size: 38px;
|
||||
line-height: 1;
|
||||
font-family: var(--note);
|
||||
color: var(--blue);
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.chapter-header .type{
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
}
|
||||
|
||||
.chapter-header .type,
|
||||
.chapter-header .bio{
|
||||
font-family: var(--mono);
|
||||
// text-align: right;
|
||||
hyphens: none;
|
||||
font-size: 9px;
|
||||
line-height: 1.2;
|
||||
left: 0px!important;
|
||||
|
||||
}
|
||||
|
||||
.chapter-header .bio{
|
||||
margin-top: calc(var(--baseline)*1);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.chapter-header .author{
|
||||
left: 0px!important;
|
||||
font-size: 38px;
|
||||
line-height: 1;
|
||||
font-family: var(--note);
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
// color: var(--green);
|
||||
}
|
||||
|
||||
188
maquette-tests/assets/css/modules/_text.scss
Normal file
188
maquette-tests/assets/css/modules/_text.scss
Normal file
|
|
@ -0,0 +1,188 @@
|
|||
.chapter{
|
||||
|
||||
|
||||
p{
|
||||
text-align: justify;
|
||||
hyphens: auto;
|
||||
position: relative;
|
||||
color: var(--blue);
|
||||
|
||||
|
||||
// &::before{
|
||||
// content: '';
|
||||
// display: inline-block;
|
||||
// width: 8px;
|
||||
// height: 8px;
|
||||
// background-color: var(--blue);
|
||||
// border-radius: 50%;
|
||||
// margin-right: 1ch;
|
||||
// }
|
||||
}
|
||||
|
||||
p + p{
|
||||
left: 14mm;
|
||||
// &::before{
|
||||
// left: -19mm;
|
||||
// }
|
||||
}
|
||||
|
||||
p + p + p{
|
||||
left: 7mm;
|
||||
// &::before{
|
||||
// left: -13mm;
|
||||
// }
|
||||
}
|
||||
|
||||
.inline-note{
|
||||
color: var(--green);
|
||||
// break-inside: avoid;
|
||||
|
||||
float: left;
|
||||
clear: both;
|
||||
width: 50mm;
|
||||
text-align: left;
|
||||
hyphens: none;
|
||||
// font-size: 9px;
|
||||
// line-height: calc(var(--bseline)*0.75);
|
||||
|
||||
// padding-top: calc(var(--baseline)*0.5);
|
||||
// padding-bottom: calc(var(--baseline)*0.5);
|
||||
margin-right: 1ch;
|
||||
margin-right: -20mm;
|
||||
position: relative;
|
||||
left: -25mm;
|
||||
text-align: right;
|
||||
|
||||
font-family: var(--note);
|
||||
line-height: 1.2;
|
||||
|
||||
|
||||
|
||||
}
|
||||
.pagedjs_floatnote_marker,
|
||||
.pagedjs_floatnote_call{
|
||||
color: var(--green);
|
||||
font-weight: bold;
|
||||
padding-left: 0.25ch;
|
||||
line-height: 0;
|
||||
font-size: 9px;
|
||||
font-family: var(--font);
|
||||
}
|
||||
|
||||
|
||||
.pagedjs_floatnote_marker{
|
||||
// float: left;
|
||||
// position: absolute;
|
||||
// left: 0px;
|
||||
// display: block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
h3{
|
||||
margin-top: calc(var(--baseline)*1.5);
|
||||
margin-bottom: calc(var(--baseline)*0.5);
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
text-decoration: underline;
|
||||
font-family: var(--mono);
|
||||
text-transform: uppercase;
|
||||
color: var(--blue);
|
||||
max-width: 18ch;
|
||||
margin-inline: auto;
|
||||
|
||||
// &::before{
|
||||
// content: '';
|
||||
// display: block;
|
||||
// width: 8px;
|
||||
// height: 8px;
|
||||
// border: 1px solid var(--blue);
|
||||
// border-radius: 50%;
|
||||
// margin-right: 1ch;
|
||||
// position: relative;
|
||||
// left: -2ch;
|
||||
|
||||
// }
|
||||
}
|
||||
|
||||
blockquote p{
|
||||
// font-family: var(--mono);
|
||||
}
|
||||
|
||||
blockquote{
|
||||
position: relative;
|
||||
left: 14mm;
|
||||
p{
|
||||
font-size: 16px;
|
||||
line-height: calc(var(--baseline)*1.25);
|
||||
font-weight: 300;
|
||||
|
||||
|
||||
}
|
||||
|
||||
// margin-top: calc(var(--baseline)*2);
|
||||
// margin-bottom: calc(var(--baseline)*2);
|
||||
}
|
||||
|
||||
|
||||
& > :first-child{
|
||||
// background-color: red;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
// .inline-note{
|
||||
// background-color: #e5e5f7;
|
||||
// opacity: 0.8;
|
||||
// background-image: linear-gradient(0deg, white 50%, var(--green-light) 50%);
|
||||
// background-size: 16px 16px;
|
||||
|
||||
|
||||
|
||||
// .body_note{
|
||||
// display: inline;
|
||||
// padding-right: 1ch;
|
||||
// background-color: white;
|
||||
// -webkit-box-decoration-break: clone;
|
||||
// box-decoration-break: clone;
|
||||
|
||||
// position: relative;
|
||||
// top: -4px;
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
// p + p .inline-note::after{
|
||||
// left: -19mm!important;
|
||||
// }
|
||||
|
||||
// p + p + p .inline-note::after{
|
||||
// left: -12mm!important;
|
||||
// }
|
||||
|
||||
|
||||
|
||||
.pagedjs_area{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-decor{
|
||||
font-family: var(--font);
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.pagedjs_left_page .item-decor{
|
||||
left: -30mm;
|
||||
}
|
||||
|
||||
.pagedjs_right_page .item-decor{
|
||||
right: -20mm;
|
||||
}
|
||||
405
maquette-tests/assets/css/style.css
Normal file
405
maquette-tests/assets/css/style.css
Normal file
|
|
@ -0,0 +1,405 @@
|
|||
@import url("https://fonts.googleapis.com/css2?family=Ovo&display=swap");
|
||||
@import url("https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&display=swap");
|
||||
@import url("https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400..900;1,400..900&display=swap");
|
||||
:root {
|
||||
--font: 'Wagram Slab', serif;
|
||||
--mono: 'Selectric Mono', monospace;
|
||||
--note: 'HNoailles Times Triplex', serif;
|
||||
--red: #9B0000;
|
||||
--green:#009B00;
|
||||
--green-light:#009b0025;
|
||||
--blue: #00009B;
|
||||
--red: black;
|
||||
--green:#009B00;
|
||||
--green-light:#009b0025;
|
||||
--blue: black;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-font-smoothing: antialiased;
|
||||
-o-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
a {
|
||||
color: currentColor;
|
||||
}
|
||||
|
||||
body {
|
||||
--font-size: 11px;
|
||||
--baseline: 18px;
|
||||
font-family: var(--font);
|
||||
font-size: var(--font-size);
|
||||
line-height: var(--baseline);
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
size: 165mm 240mm;
|
||||
margin-top: 10mm;
|
||||
margin-bottom: 20mm;
|
||||
}
|
||||
@page :left {
|
||||
margin-left: 35mm;
|
||||
margin-right: 30mm;
|
||||
@bottom-left-corner {
|
||||
content: counter(page);
|
||||
font-family: var(--mono);
|
||||
font-size: 14px;
|
||||
text-align: left;
|
||||
padding-left: 10mm;
|
||||
}
|
||||
@bottom-left {
|
||||
content: string(author);
|
||||
font-family: var(--mono);
|
||||
}
|
||||
@bottom-center {
|
||||
content: string(type);
|
||||
font-family: var(--mono);
|
||||
}
|
||||
}
|
||||
@page :right {
|
||||
margin-left: 40mm;
|
||||
margin-right: 25mm;
|
||||
@bottom-right-corner {
|
||||
content: counter(page);
|
||||
font-family: var(--mono);
|
||||
font-size: 14px;
|
||||
text-align: right;
|
||||
padding-right: 10mm;
|
||||
}
|
||||
@bottom-left {
|
||||
content: string(title);
|
||||
font-family: var(--mono);
|
||||
}
|
||||
}
|
||||
/*p{
|
||||
background: salmon;
|
||||
}*/
|
||||
.chapter {
|
||||
-moz-column-break-before: right;
|
||||
break-before: right;
|
||||
}
|
||||
}
|
||||
[data-type=ovo] {
|
||||
font-family: "Ovo", serif;
|
||||
}
|
||||
|
||||
[data-type=literata] {
|
||||
font-family: "Literata", serif;
|
||||
}
|
||||
|
||||
[data-type=vollkorn] {
|
||||
font-family: "Literata", serif;
|
||||
}
|
||||
|
||||
[data-type=timezone] {
|
||||
font-family: "HAL Timezone", serif;
|
||||
}
|
||||
|
||||
[data-type=timezone-mono] {
|
||||
font-family: "HAL Timezone Mono", monospace;
|
||||
}
|
||||
|
||||
[data-type=selectric] {
|
||||
font-family: "Selectric", serif;
|
||||
}
|
||||
|
||||
[data-type=selectric-mono] {
|
||||
font-family: "Selectric Mono", monospace;
|
||||
}
|
||||
|
||||
[data-type=es-face] {
|
||||
font-family: "ESFace", serif;
|
||||
}
|
||||
|
||||
[data-type=ivory] {
|
||||
font-family: "Ivory", serif;
|
||||
}
|
||||
|
||||
[data-type=ivory-mono] {
|
||||
font-family: "Ivory Mono", serif;
|
||||
}
|
||||
|
||||
[data-type=necto-mono] {
|
||||
font-family: "NectoMono", monospace;
|
||||
}
|
||||
|
||||
[data-type=old-round] {
|
||||
font-family: "OldRound", serif;
|
||||
}
|
||||
|
||||
[data-type=old-round-hover] {
|
||||
font-family: "OldRound Hover", serif;
|
||||
}
|
||||
|
||||
[data-type=satoshi] {
|
||||
font-family: "Satoshi", sans-serif;
|
||||
}
|
||||
|
||||
[data-type=redaction] {
|
||||
font-family: "Redaction", monospace;
|
||||
}
|
||||
|
||||
[data-type=h-noailles-futura-simplex] {
|
||||
font-family: "HNoailles Futura Simplex", sans-serif;
|
||||
}
|
||||
|
||||
[data-type=h-noailles-futura-duplex] {
|
||||
font-family: "HNoailles Futura Duplex", sans-serif;
|
||||
}
|
||||
|
||||
[data-type=h-noailles-futura-triplex] {
|
||||
font-family: "HNoailles Futura Triplex", sans-serif;
|
||||
}
|
||||
|
||||
[data-type=h-noailles-times-simplex] {
|
||||
font-family: "HNoailles Times Simplex", serif;
|
||||
}
|
||||
|
||||
[data-type=h-noailles-times-duplex] {
|
||||
font-family: "HNoailles Times Duplex", serif;
|
||||
}
|
||||
|
||||
[data-type=h-noailles-times-triplex] {
|
||||
font-family: "HNoailles Times Triplex", serif;
|
||||
}
|
||||
|
||||
[data-type=adelphe-floreal] {
|
||||
font-family: "Adelphe Floreal", serif;
|
||||
}
|
||||
|
||||
[data-type=Adelphe-fructidor] {
|
||||
font-family: "Adelphe Fructidor", serif;
|
||||
}
|
||||
|
||||
[data-type=wagram] {
|
||||
font-family: "Wagram", serif;
|
||||
}
|
||||
|
||||
[data-type=wagram-slab] {
|
||||
font-family: "Wagram Slab", serif;
|
||||
}
|
||||
|
||||
[data-type=wagram-mono-slab] {
|
||||
font-family: "Wagram Mono Slab", monospace;
|
||||
}
|
||||
|
||||
#type-specimen {
|
||||
background-color: #cfcfcf;
|
||||
}
|
||||
#type-specimen .type {
|
||||
font-family: sans-serif;
|
||||
grid-column: span 2;
|
||||
font-weight: bold;
|
||||
}
|
||||
#type-specimen .specimen {
|
||||
width: 1200px;
|
||||
height: 680px;
|
||||
border: 1px solid #999;
|
||||
background-color: white;
|
||||
margin: 30px;
|
||||
padding: 30px;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 30px;
|
||||
}
|
||||
#type-specimen p:first-of-type {
|
||||
text-align: justify;
|
||||
hyphens: auto;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
#type-specimen p {
|
||||
font-size: 16px;
|
||||
}
|
||||
#type-specimen .title {
|
||||
font-size: 32px;
|
||||
line-height: 1.1;
|
||||
max-width: 22ch;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
#type-specimen .content {
|
||||
line-height: 1.3;
|
||||
}
|
||||
#type-specimen .title-bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
#type-specimen .title-normal {
|
||||
font-weight: normal;
|
||||
}
|
||||
#type-specimen .title-italic {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
#type-specimen .title-light {
|
||||
font-weight: 300 !important;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
[data-type=ovo] .title {
|
||||
font-weight: normal;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
[data-type=selectric] .title-bold,
|
||||
[data-type=selectric-mono] .title-bold,
|
||||
[data-type=timezone] .title-bold,
|
||||
[data-type=timezone-mono] .title-bold {
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
[data-type=selectric-mono] .content p {
|
||||
letter-spacing: -0.01 rem;
|
||||
white-space: 0.2ch;
|
||||
}
|
||||
|
||||
[data-type=es-face] .title-bold {
|
||||
font-weight: normal !important;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
[data-type=redaction] .title-bold {
|
||||
font-family: "Redaction 50";
|
||||
font-weight: normal !important;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.chapter p {
|
||||
text-align: justify;
|
||||
hyphens: auto;
|
||||
position: relative;
|
||||
color: var(--blue);
|
||||
}
|
||||
.chapter p + p {
|
||||
left: 14mm;
|
||||
}
|
||||
.chapter p + p + p {
|
||||
left: 7mm;
|
||||
}
|
||||
.chapter .inline-note {
|
||||
color: var(--green);
|
||||
float: left;
|
||||
clear: both;
|
||||
width: 50mm;
|
||||
text-align: left;
|
||||
hyphens: none;
|
||||
margin-right: 1ch;
|
||||
margin-right: -20mm;
|
||||
position: relative;
|
||||
left: -25mm;
|
||||
text-align: right;
|
||||
font-family: var(--note);
|
||||
line-height: 1.2;
|
||||
}
|
||||
.chapter .pagedjs_floatnote_marker,
|
||||
.chapter .pagedjs_floatnote_call {
|
||||
color: var(--green);
|
||||
font-weight: bold;
|
||||
padding-left: 0.25ch;
|
||||
line-height: 0;
|
||||
font-size: 9px;
|
||||
font-family: var(--font);
|
||||
}
|
||||
.chapter .pagedjs_floatnote_marker {
|
||||
text-align: left;
|
||||
}
|
||||
.chapter h3 {
|
||||
margin-top: calc(var(--baseline) * 1.5);
|
||||
margin-bottom: calc(var(--baseline) * 0.5);
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
text-decoration: underline;
|
||||
font-family: var(--mono);
|
||||
text-transform: uppercase;
|
||||
color: var(--blue);
|
||||
max-width: 18ch;
|
||||
margin-inline: auto;
|
||||
}
|
||||
.chapter blockquote {
|
||||
position: relative;
|
||||
left: 14mm;
|
||||
}
|
||||
.chapter blockquote p {
|
||||
font-size: 16px;
|
||||
line-height: calc(var(--baseline) * 1.25);
|
||||
font-weight: 300;
|
||||
}
|
||||
.chapter > :first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.pagedjs_area {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-decor {
|
||||
font-family: var(--font);
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
color: var(--green);
|
||||
}
|
||||
|
||||
.pagedjs_left_page .item-decor {
|
||||
left: -30mm;
|
||||
}
|
||||
|
||||
.pagedjs_right_page .item-decor {
|
||||
right: -20mm;
|
||||
}
|
||||
|
||||
.chapter-header {
|
||||
margin-bottom: calc(var(--baseline) * 6);
|
||||
}
|
||||
|
||||
.chapter-header h2 {
|
||||
string-set: title content(text);
|
||||
}
|
||||
|
||||
.chapter-header .author {
|
||||
string-set: author content(text);
|
||||
}
|
||||
|
||||
.chapter-header .type {
|
||||
string-set: type content(text);
|
||||
}
|
||||
|
||||
.chapter-header h2 {
|
||||
font-size: 38px;
|
||||
line-height: 1;
|
||||
font-family: var(--note);
|
||||
color: var(--blue);
|
||||
margin-bottom: calc(var(--baseline) * 1);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.chapter-header .type {
|
||||
margin-bottom: calc(var(--baseline) * 1);
|
||||
}
|
||||
|
||||
.chapter-header .type,
|
||||
.chapter-header .bio {
|
||||
font-family: var(--mono);
|
||||
hyphens: none;
|
||||
font-size: 9px;
|
||||
line-height: 1.2;
|
||||
left: 0px !important;
|
||||
}
|
||||
|
||||
.chapter-header .bio {
|
||||
margin-top: calc(var(--baseline) * 1);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.chapter-header .author {
|
||||
left: 0px !important;
|
||||
font-size: 38px;
|
||||
line-height: 1;
|
||||
font-family: var(--note);
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}/*# sourceMappingURL=style.css.map */
|
||||
1
maquette-tests/assets/css/style.css.map
Normal file
1
maquette-tests/assets/css/style.css.map
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"sources":["base/_type.scss","base/_var.scss","style.css","base/_body.scss","base/_layout.scss","base/_type-specimen.scss","modules/_text.scss","modules/_chapter-header.scss"],"names":[],"mappings":"AAAQ,wEAAA;AACA,8HAAA;AACA,6GAAA;ACFR;EAEI,4BAAA;EAEA,mCAAA;EAEA,wCAAA;EAEA,cAAA;EACA,eAAA;EACA,uBAAA;EACA,eAAA;EAEA,YAAA;EACA,eAAA;EACA,uBAAA;EACA,aAAA;ACDJ;;ACfA;EACI,SAAA;EACA,UAAA;EACA,sBAAA;EACA,mCAAA;EACA,gCAAA;EACA,8BAAA;ADkBJ;;AChBA;EACI,mBAAA;ADmBJ;;ACXA;EACI,iBAAA;EACA,gBAAA;EACA,wBAAA;EACA,2BAAA;EACA,4BAAA;ADcJ;;AEpCA;EAEE;IACE,iBAAA;IACA,gBAAA;IACA,mBAAA;EFsCF;EElCA;IACE,iBAAA;IACA,kBAAA;IACC;MACC,sBAAA;MACC,wBAAA;MACD,eAAA;MACC,gBAAA;MACC,kBAAA;IFoCJ;IElCC;MACC,uBAAA;MACE,wBAAA;IFoCJ;IElCC;MACD,qBAAA;MACE,wBAAA;IFoCF;EACF;EEjCA;IACE,iBAAA;IACA,kBAAA;IACC;MACC,sBAAA;MACA,wBAAA;MACA,eAAA;MACE,iBAAA;MACA,mBAAA;IFmCJ;IEjCC;MACC,sBAAA;MACE,wBAAA;IFmCJ;EACF;EEhCA;;IAAA;EAIA;IACE,+BAAA;SAAA,mBAAA;EFiCF;AACF;AFhFA;EACE,yBAAA;AEkFF;;AF9EA;EACE,8BAAA;AEiFF;;AF7EA;EACE,8BAAA;AEgFF;;AF5EA;EACE,kCAAA;AE+EF;;AF5EA;EACE,2CAAA;AE+EF;;AF3EA;EACE,+BAAA;AE8EF;;AF3EA;EACE,wCAAA;AE8EF;;AF3EA;EACE,4BAAA;AE8EF;;AF3EA;EACE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-tests/assets/css/style.scss
Normal file
9
maquette-tests/assets/css/style.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@use "base/var";
|
||||
@use "base/body";
|
||||
@use "base/layout";
|
||||
@use "base/type";
|
||||
|
||||
|
||||
@use "base/type-specimen";
|
||||
@use "modules/text";
|
||||
@use "modules/chapter-header";
|
||||
Loading…
Add table
Add a link
Reference in a new issue