decor-6-expe/maquette-tests/assets/css/style.css
2026-03-04 08:33:34 +01:00

503 lines
No EOL
9.7 KiB
CSS
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@charset "UTF-8";
@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: 'Routed Gothic', sans-serif;
--font: 'Wagram Slab', serif;
--font: 'Bilzig', serif;
--mono: 'Selectric Mono', monospace;
--mono: 'Ivory Mono', monospace;
--mono: 'Baskemo Sans', monospace;
--font-decor: 'Decor Round Random';
--font-sans: 'Routed Gothic', serif;
--title: 'HNoailles Times Triplex', sans-serif;
--red: #9B0000;
--green:#009B00;
--green-light:#009b0025;
--blue: #00009B;
--indent: 7mm;
--font-size: 18px;
--baseline: 24px;
}
* {
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-family: var(--font);
font-size: var(--font-size);
line-height: var(--baseline);
}
@media print {
@page {
size: 165mm 240mm;
margin-top: 16mm;
margin-bottom: 20mm;
bleed: 6mm;
marks: crop;
}
@page :left {
margin-left: 26mm;
margin-right: 18mm;
@bottom-center {
content: counter(page);
font-family: var(--sans);
font-size: 20px;
vertical-align: bottom;
padding-bottom: 5mm;
width: 10mm;
}
@top-left {
content: string(author);
font-family: var(--mono);
font-size: 12px;
}
@top-center {
content: string(type);
font-family: var(--mono);
font-size: 12px;
}
}
@page :right {
margin-left: 18mm;
margin-right: 26mm;
@bottom-center {
content: counter(page);
font-family: var(--sans);
font-size: 20px;
vertical-align: bottom;
padding-bottom: 5mm;
width: 10mm;
text-align: right;
}
@top-left {
content: string(title);
font-family: var(--mono);
font-size: 12px;
}
}
/*p{
background: salmon;
}*/
.chapter {
-moz-column-break-before: right;
break-before: right;
page: chapter;
}
@page chapter:first {
@top-left {
content: none;
}
}
}
[data-type=ovo] {
font-family: "Ovo", serif;
}
[data-type=literata] {
font-family: "Literata", serif;
}
[data-type=vollkorn] {
font-family: "Vollkorn", 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;
}
[data-type=routed-gothic-wide] {
font-family: "Routed Gothic Wide", sans-serif;
}
[data-type=routed-gothic] {
font-family: "Routed Gothic", sans-serif;
}
[data-type=routed-gothic-narrow] {
font-family: "Routed Gothic Narrow", sans-serif;
}
[data-type=cheltenham] {
font-family: "ITC Cheltenham", serif;
}
[data-type=cheltenham-light] {
font-family: "ITC Cheltenham", serif;
font-weight: 200;
}
[data-type=baskemo-sans] {
font-family: "Baskemo Sans", serif;
}
[data-type=Velvetyne] {
font-family: "Velvetyne";
}
[data-type="Garabosse Perle"] {
font-family: "Garabosse Perle";
}
[data-type="Adelphe Trouble Germinal"] {
font-family: "Adelphe Trouble Germinal";
}
[data-type=Bilzig] {
font-family: "Bilzig";
}
#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;
}
#type-specimen .title-uppercase {
font-weight: normal;
text-transform: uppercase;
letter-spacing: 0.01rem;
}
[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;
}
[data-type=routed-gothic] .title-bold,
[data-type=routed-gothic-narrow] .title-bold,
[data-type=routed-gothic-wide] .title-bold {
font-weight: normal !important;
}
[data-type=cheltenham-light] .title, [data-type=cheltenham-light] p {
font-weight: 200 !important;
}
.chapter p {
text-align: justify;
hyphens: auto;
hyphenate-limit-chars: 8 3;
position: relative;
orphans: 2;
hyphens: 2;
}
.chapter .container-following-note + p,
.chapter p + p {
text-indent: 30%;
}
.chapter h3, .chapter h4 {
-moz-column-break-after: avoid;
break-after: avoid;
}
.chapter h3 {
margin-top: calc(var(--baseline) * 1.5);
margin-bottom: calc(var(--baseline) * 0.5);
text-align: center;
font-weight: normal;
font-family: var(--font-sans);
color: var(--blue);
max-width: 18ch;
letter-spacing: 0.05rem;
color: black;
}
.chapter blockquote {
font-family: "Routed Gothic Wide";
font-size: 14px;
line-height: 17px;
padding-left: 15%;
margin-top: calc(var(--baseline) * 1);
margin-bottom: calc(var(--baseline) * 1);
}
.chapter > :first-child {
margin-top: 0px;
}
.pagedjs_area {
position: relative;
}
.following-note {
font-family: var(--font-sans);
font-size: 12px;
line-height: 14px;
font-weight: 500;
display: block;
margin-top: calc(var(--baseline) * 0.5);
margin-bottom: calc(var(--baseline) * 0.5);
}
.container-following-note {
margin-left: 30%;
}
.wrapper__note-call {
-moz-column-break-inside: avoid;
break-inside: avoid;
}
.following-note_call::before,
.following-note_marker::before {
content: "{";
}
.following-note_call::after,
.following-note_marker::after {
content: "}";
}
.following-note_call,
.following-note_marker {
font-family: var(--font-sans);
font-weight: 500;
font-size: 12px;
}
.following-note_call {
padding-left: 0.25ch;
position: relative;
top: -4px;
}
.following-note_marker {
position: absolute;
left: 0;
}
.chapter-header {
position: relative;
margin-top: calc(var(--baseline) * 2);
margin-bottom: calc(var(--baseline) * 3);
--color: black;
}
.chapter-header p {
text-indent: 0px !important;
}
.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-pattern {
font-size: 58px;
line-height: 0.8;
color: var(--blue);
margin-bottom: calc(var(--baseline) * 1);
text-align: left;
font-weight: normal;
color: var(--color);
text-align: center;
font-family: var(--font-decor);
transform: scale(2);
z-index: 0;
position: absolute;
top: 0;
}
.chapter-header h2 {
font-family: "Routed Gothic Wide";
margin-top: calc(var(--baseline) * 4);
text-align: center;
line-height: 1.2;
font-size: 36px;
font-weight: normal;
}
.chapter-header h2 span {
background-color: white;
border: 1px solid red;
box-shadow: 0px 1px 23px 8px rgb(255, 0, 0);
border-radius: 10px;
padding-inline: 0.5ch;
box-decoration-break: clone;
-webkit-box-decoration-break: clone; /* pour Safari */
}
.chapter-header h2 {
z-index: 10;
}
.chapter-header .type {
margin-bottom: calc(var(--baseline) * 1);
display: none;
}
.chapter-header .author {
font-family: "Routed Gothic Wide";
margin-top: calc(var(--baseline) * 1);
text-align: center;
font-size: 28px;
font-weight: normal;
}/*# sourceMappingURL=style.css.map */