debut d'integration de la version terminal

This commit is contained in:
sarahgarcin1 2026-03-24 00:46:25 +01:00
parent 00edad1729
commit 54ce5faf08
146 changed files with 2532 additions and 40285 deletions

View file

@ -1,19 +1,23 @@
* {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box;
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-o-font-smoothing: antialiased;
text-rendering: geometricPrecision;
}
body{
font-family: var(--fontFamily);
font-size: var(--textSize);
line-height: 1.3;
font-size: var(--font-size);
line-height: var(--baseline);
}
a{
text-decoration: none;
color: #000;
color: currentColor;
}
a:hover{text-decoration: underline;}
@ -48,7 +52,7 @@ h3{
}
h5, h6{
font-size: var(--textSize);
font-size: var(--font-size);
margin-top: 1mm;
margin-bottom: 0;
font-weight: normal;
@ -125,23 +129,355 @@ figure[data-crop="false"] img {
object-fit: contain;
}
/* ------ BLOCKQUOTE --------- */
blockquote{
/*background: red;*/
margin-left: 2cm;
margin-top: 0;
position: relative;
margin-top: calc(var(--baseline)*1);
margin-bottom: calc(var(--baseline)*1);
padding-left: calc(var(--unit)*0.75);
padding-right: calc(var(--unit)*0.75);
}
blockquote:before{
content: ":::::::::";
display: block;
position: absolute;
left: -2cm;
/*border-top: 1px solid #000;*/
width: 2cm;
height: 100%;
blockquote p::before{
display: none;
}
.before-blockquote_container,
.after-blockquote_container{
position: absolute;
overflow: hidden;
}
.before-blockquote_container{
left: 0px;
}
.after-blockquote_container{
right: -10px;
}
.after-blockquote,
.before-blockquote{
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
word-break: break-all;
width: calc(var(--unit)*0.5 + 4px);
overflow-wrap: anywhere;
position: relative;
top: -3px;
}
/* ------ FIN BLOCKQUOTE --------- */
/* ---- ENTRÉE DE CHAPITRES ------ */
.chapter-header {
position: relative;
}
.chapter-header .hgroup {
font-size: 22px;
line-height: 1;
font-weight: normal;
position: relative;
top: calc(var(--baseline)*-0.25 - 2px);
margin-bottom: calc(var(--baseline)*3 + 13px);
padding-right: calc(var(--unit)*2);
position: relative;
padding-left: 15px;
}
.chapter-header .hgroup::before {
content: "***************************************************************************************************************************************************************************************************************************************************************************************************************************************************";
display: block;
width: calc(100% + 1ch);
height: 100%;
overflow: hidden;
position: absolute;
top: 0;
left: 0px;
z-index: -1;
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: calc(var(--sign-baseline)*1.5);
overflow-wrap: anywhere;
}
.chapter-header .type {
display: none;
}
.chapter-header .hgroup h2 {
font-family: var(--fontTitle);
font-weight: normal;
font-size: 1em;
line-height: calc(var(--sign-baseline)*1.5);
display: inline;
box-sizing: border-box;
}
.chapter-header .hgroup h2 span {
color: white;
padding-left: 0.25ch;
padding-right: 0.25ch;
box-decoration-break: clone;
background-color: var(--sign-color);
padding: 1px 0.25ch;
text-transform: uppercase;
}
.chapter-header .author span {
font-family: var(--fontTitle);
color: var(--sign-color);
margin-top: calc(var(--baseline)*1.5);
text-transform: uppercase;
background-color: white;
display: inline-block;
}
.chapter-header .author::before { display: none; }
.chapter-header .bio { display: none; }
.hgroup-before,
.hgroup-after,
.chapter-header .title-before,
.chapter-header .title-after {
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: calc(var(--sign-baseline)*1);
}
.chapter-header .title-before,
.chapter-header .title-after{
white-space: nowrap;
position: absolute;
left: 0px;
}
.chapter-header .title-before {
top: calc(var(--baseline)*-1.25);
}
.chapter-header .title-after {
bottom: calc(var(--baseline)*-1.5 + 1px);
}
.hgroup-before{
position: absolute;
left: calc(var(--pagedjs-margin-left)*-1);
padding-left: 19px;
top: -47px;
}
.hgroup-after{
position: absolute;
bottom: calc(var(--baseline)*-5 - 1px);
right: calc(var(--pagedjs-margin-right)*-1);
text-align: right;
}
/* ---- FIN ENTRÉE DE CHAPITRES ------ */
/* ------ ENTRETIENS ------ */
.description {
padding-left: calc(var(--unit)*0.75);
padding-right: calc(var(--unit)*0.75);
position: relative;
top: -4px;
}
.description-before {
position: relative;
top: -6px;
}
.description-after {
margin-top: -5px;
margin-bottom: calc(var(--baseline)*1 - 3px);
}
.description-before,
.description-after {
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
}
.description::before,
.description::after {
content: "......";
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
word-break: break-all;
width: calc(var(--unit)*0.75 + 4px);
overflow-wrap: anywhere;
display: block;
}
.description::before {
position: absolute;
left: 0;
top: -3px;
}
.description::after {
position: absolute;
right: -13px;
top: -3px;
}
h5 {
font-size: var(--sign-size);
color: var(--sign-color);
font-weight: normal;
position: relative;
z-index: 10;
top: calc(var(--baseline)*1);
background-color: white;
display: inline;
}
h5::before, h6::before{
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
}
.pagedjs_right_page h5{
left: -80px;
}
.pagedjs_right_page h5::before{
content: "+++++++"
}
.pagedjs_left_page h5{
left: -49px;
}
.pagedjs_left_page h5::before{
content: "+++++"
}
.h6_container {
position: relative;
z-index: 10;
top: calc(var(--baseline)*1);
}
h6 {
font-size: var(--sign-size);
color: var(--sign-color);
font-weight: normal;
position: relative;
background-color: white;
display: inline;
}
h6::before {
content: "++";
}
.decor-h6 {
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
position: absolute;
left: -49px;
top: calc(var(--baseline)*-2.5 + 11px);
}
.pagedjs_right_page .decor-h6 {
left: -80px;
top: calc(var(--baseline)*-4.5 + 11px);
}
/* ------ FIN ENTRETIENS ------ */
/* ------- NOTES -------------- */
.following-note {
font-size: var(--fs-notes);
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: calc(var(--unit)*2);
}
.wrapper__note-call {
break-inside: avoid;
}
.following-note_call,
.following-note_marker {
&::before {
content: "{"
}
&::after {
content: "}"
}
font-size: var(--fs-notes);
}
.following-note_call {
padding-left: 0.25ch;
position: relative;
top: -3px;
line-height: 0;
}
.following-note_marker {
position: absolute;
left: 0;
}
/* -------- FIN NOTES --------- */
/* -------- PORTFOLIO --------- */
/* -------- FIN PORTFOLIO --------- */
/* Classes pour le responsive */
.show-for-small-only{ display: block;}
.hide-for-small-only{ display: none;}

220
assets/css/portfolio.css Normal file
View file

@ -0,0 +1,220 @@
:root{
--bleed-images: 3mm;
--pagedjs-fold: 0px;
}
[data-chapter="portfolio"] p{
color: white;
}
.pagedjs_portfolio_page .pagedjs_margin-bottom-right .pagedjs_margin-content::after,
.pagedjs_portfolio_page .pagedjs_margin-bottom-left .pagedjs_margin-content::after{
background-color: black;
color: white;
padding: 0;
}
[data-chapter="portfolio"] .chapter-header h2 span,
[data-chapter="portfolio"] .chapter-header .author span{
color: black;
padding-right: 0.75ch;
}
/* DOUBLE*/
.spread{
position: relative;
z-index: -1;
}
.spread__left{
margin: 0;
width: calc(var(--pagedjs-pagebox-width) + var(--bleed-images));
height: calc(var(--pagedjs-pagebox-height) + var(--bleed-images)*2)!important;
position: absolute;
top: calc((var(--pagedjs-margin-top) + var(--bleed-images))*-1);
left: calc((var(--pagedjs-margin-left) + var(--bleed-images))*-1);
overflow: hidden;
break-after: page;
}
.spread__right{
margin: 0;
width: calc(var(--pagedjs-pagebox-width) + var(--bleed-images));
height: calc(var(--pagedjs-pagebox-height) + var(--bleed-images)*2)!important;
position: absolute;
top: calc((var(--pagedjs-margin-top) + var(--bleed-images))*-1);
left: calc(var(--pagedjs-margin-left)*-1);
overflow: hidden;
}
.spread-content{
margin: 0;
width: calc(var(--pagedjs-pagebox-width)*2 + var(--bleed-images)*2);
height: calc(var(--pagedjs-pagebox-height) + var(--bleed-images)*2)!important;
position: absolute;
top: 0;
left: 0;
}
.spread__left .spread-content{
left: calc(var(--pagedjs-fold)*-1);
}
.spread__right .spread-content{
left: calc((var(--pagedjs-pagebox-width) + var(--bleed-images))*-1 + var(--pagedjs-fold));
}
/* SPECIFIC */
#josefa-1 .spread-content img{
width: 100%;
height: 100%;
object-fit: cover;
object-position: -310px 10px;
}
#josefa-2 .spread__left{
top: -280px;
}
#josefa-2 .spread-content img{
width: 100%;
height: 120%;
object-fit: cover;
object-position: -1700px 0px;
}
#josepha-2__1{
z-index: 100;
width: 140mm;
height: 190mm;
position: absolute;
left: -15mm;
overflow: hidden;
}
#josepha-2__1 img{
width: 100%;
height: 100%;
object-fit: cover;
object-position: -900px 0px;
}
#josefa-3{
break-before: left;
}
#josefa-3 .background{
width: 100%;
height: 120%;
object-fit: cover;
object-position: -1800px 0px;
}
#josepha-3__1_left{
z-index: 100;
width: 100%;
height: 156mm;
position: absolute;
top: -100px;
overflow: hidden;
}
#josepha-3__1_left img{
width: 100%;
height: 100%;
object-fit: cover;
object-position: -900px 0px;
}
#josepha-3__1_right{
z-index: 100;
width: calc(var(--pagedjs-pagebox-width)*0.4);
height: 156mm;
position: absolute;
top: -100px;
overflow: hidden;
}
#josepha-3__1_right img{
width: 100%;
height: 100%;
object-fit: cover;
object-position: calc(var(--pagedjs-pagebox-width)*-1 - var(--bleed-images) - 900px) 0px;
}
#josefa-4{
break-before: left;
}
#josefa-4 .background{
width: 100%;
height: 120%;
object-fit: cover;
object-position: -1900px -200px;
}
#josepha-4_inside{
z-index: 100;
width: 140mm;
height: 190mm;
position: absolute;
bottom: -5mm;
right: -5mm;
overflow: hidden;
}
#josepha-4_inside img{
width: 100%;
height: 100%;
object-fit: cover;
/* object-position: -900px 0px; */
}
#josefa-5{
break-before: left;
}
#josefa-5 figure{
/* background-color: black; */
}
#josefa-5 .background{
width: 100%;
height: 100%;
object-fit: cover;
/* object-position: -1900px -200px; */
}
.josepha-grid-1{
break-before: left;
}
.josepha-grid{
width: 100%;
}
.josepha-grid img{
width: 100%;
margin-bottom: calc(var(--baseline)*0.5);
}

View file

@ -1,719 +1,300 @@
@media print{
@media print {
/* --------- Paramètres de base ---------- */
@page{
size: 165mm 240mm;
/* bleed: 6mm;
marks: crop;*/
}
@page :left {
margin: 12mm 36mm 18mm 14mm;
/* @top-left-corner {
content: counter(page);
font-size: 11pt;
text-align: center;
font-family: "Bilzig Trial";
}*/
/* @top-center{
font-family: var(--fontFamily);
content: "D6cor > essai";
font-size: 8pt;
color: var(--bleu);
text-align: left;
margin-top: 4mm;
}*/
@bottom-left{
font-family: var(--fontFamily);
content: counter(page);
font-size: 20pt;
color: var(--vert);
margin-top:-5mm;
margin-left: 0mm;
}
@bottom-right{
font-family: var(--fontFamily);
content: "D6cor > essai";
font-size: 8pt;
color: var(--bleu);
text-align: left;
margin-top:-5mm;
}
}
@page :right {
margin: 12mm 14mm 18mm 36mm;
/*@top-right-corner {
content: counter(page);
font-size: 7pt;
text-align: center;
font-family: var(--fontFamily);
}*/
/*@top-center{
content: string(chapter);
font-family: var(--fontFamily);
font-size: 8pt;
color: var(--bleu);
text-align: right;
margin-top: 4mm;
}*/
@bottom-right{
font-family: var(--fontFamily);
content: counter(page);
font-size: 20pt;
color: var(--vert);
margin-top:-5mm;
margin-right: 0mm;
}
@bottom-left{
content: string(chapter);
font-family: var(--fontFamily);
font-size: 8pt;
color: var(--bleu);
margin-top:-5mm;
}
}
.chapter{
break-before: right;
counter-reset: callNote_marginNote markerNote_marginNote;
}
/* borders */
.pagedjs_margin-top-left-corner-holder:before{
content: " ";
background: var(--vert);
width: 100%;
height: var(--border);
position: absolute;
}
.pagedjs_margin-left:before{
content: " ";
position: absolute;
top:0;
background: var(--bleu);
width: var(--border);
height: var(--pagedjs-height);
z-index: 2;
}
.pagedjs_right_page .pagedjs_margin-left:before{
content: none;
}
.pagedjs_margin-right:after{
content: " ";
position: absolute;
top:0;
right: 0;
background: var(--bleu);
width: var(--border);
height: var(--pagedjs-height);
z-index: 2;
}
.pagedjs_left_page .pagedjs_margin-right:after{
content: none;
}
.pagedjs_margin-bottom:after{
content: " ";
background: var(--rouge);
width: 100%;
height: var(--border);
position: absolute;
bottom: 0;
left: 0;
}
/* ---- TOC ---- */
.toc{
break-before: right;
}
#list-toc-generated .toc-element a::after{
font-size: 13pt;
}
#list-toc-generated .toc-element-level-2 a::after{
font-size: 10pt;
}
#list-toc-generated .toc-element-level-1{
font-size: 13pt;
}
#list-toc-generated .toc-element-level-2{
font-weight: bold;
margin-bottom: 20px;
}
/* ---- INTERPAGES ------ */
.interpage figure{
height: calc(var(--pagedjs-height) - (var(--border) * 2)) !important;
margin-top: calc(var(--border) + 8mm);
margin-bottom: 0;
width: 100%;
}
/* ---- PAGE DE TITRE ------ */
/* --- test 1 font 1 taille typo */
.test .chapter-title{
page-break-before: always;
position: relative;
}
.test .chapter-title h2,
.test .chapter-title h3{
margin: 0;
font-size: var(--textSize);
/*text-align: center;*/
/*font-family: var(--fontTitle);*/
text-align: left;
}
.test .chapter-title h2:before{
content: "# # # # # # # # # # # # # # # # # # # # # # # # # # # # #";
display: block;
margin-bottom: 1rem;
}
.test .chapter-title h2:after{
content: "+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ";
display: block;
margin-top: 1rem;
margin-bottom: 1rem;
}
.test .chapter-title h3{
font-size: var(--fontSize);
text-transform: none;
font-weight: 500;
}
.test .chapter-title h3:after{
content: "⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ";
display: block;
margin-top: 1rem;
margin-bottom: 1rem;
}
.test .chapter-title .type{
position: absolute;
left: -2.2cm;
top: 0mm;
font-family: var(--fontTitle);
font-size: 8pt;
/*color: var(--bleu);*/
}
.test .chapter-title .type:before{
content: "[";
}
.test .chapter-title .type:after{
content: "]";
}
/* -- test mix ocr / jetbrains --- */
.chapter-title{
page-break-before: always;
margin-bottom: 2cm;
position: relative;
/*page: chapterTitle;*/
/* display: flex;
flex-direction: column;
align-items: center;*/
}
/* @page chapterTitle{
background: var(--bleu);
margin: 12mm 0mm;
@top-left-corner {content: none;}
@top-left {content: none;}
@top-center {content: none;}
@top-right {content: none;}
@top-right-corner {content: none;}
@left-top {content: none;}
@left-middle {content: none;}
@left-bottom {content: none;}
@right-top {content: none;}
@right-middle {content: none;}
@right-bottom {content: none;}
@bottom-left-corner {content: none;}
@bottom-left {content: none;}
@bottom-center {content: none;}
@bottom-right {content: none;}
@bottom-right-corner {content: none;}
}*/
.chapter-title h2,
.chapter-title h3{
/* display: inline-block;
position: relative;*/
margin: 0;
font-size: 24pt;
/*text-align: center;*/
font-family: var(--fontTitle);
text-align: left;
}
.chapter-title h3{
font-size: 10.5pt;
margin-top: 2cm;
text-transform: none;
font-weight: 500;
}
.chapter-title .type{
position: absolute;
left: -2.2cm;
top: 1.5mm;
font-family: var(--fontTitle);
/*color: var(--bleu);*/
font-size: 8pt;
}
.chapter-title .type:before{
content: "[";
}
.chapter-title .type:after{
content: "]";
}
.interview-block strong{
font-weight: normal;
margin-right: 0mm;
display: inline-block;
}
.interview-block strong:before{
content: "[";
}
.interview-block strong:after{
content: "]";
}
.interview-block p{
margin-top: 0;
margin-bottom: 0;
text-align-last: left;
}
.interview-block p:nth-of-type(odd) {
/*color: var(--rouge);*/
}
.interview-block p:nth-of-type(2n) {
margin-left: 2cm;
}
/* ascii-fill : pas de flex:1, hauteur fixée par JS */
.ascii-fill {
white-space: pre;
overflow: hidden;
line-height: 1.5;
flex-shrink: 0;
color: #FFF;
font-size: var(--textSize);
text-align: center;
font-family: var(--fontFamily);
width: 100%;
@page {
size: 165mm 240mm;
margin-top: 95px;
margin-bottom: 18mm;
/*bleed: 6mm;*/
/*marks: crop;*/
--symbol-top: 1px;
--running-top: 8mm;
--running-bottom: 6mm;
--running-left: 19px;
}
/*.chapter-title,
.biographie {
font-family: var(--fontFamily);
color: #FFF;
text-align: center;
width: 90%;
margin: auto;
}*/
@page:left {
margin-left: 18mm;
margin-right: 26mm;
@top-left-corner {
content: var(--symbol) var(--symbol) var(--symbol);
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
vertical-align: top;
padding-top: var(--running-top);
text-align: left;
padding-left: var(--running-left);
}
@top-left {
content: element(decor);
vertical-align: top;
padding-top: calc(var(--running-top) - var(--symbol-top));
width: calc(var(--unit)*2);
font-size: var(--font-size);
color: var(--sign-color);
font-family: var(--sign-family);
}
@top-center {
content: element(author);
vertical-align: top;
padding-top: calc(var(--running-top) - var(--symbol-top));
text-align: left;
white-space: nowrap;
font-size: var(--font-size);
color: var(--sign-color);
font-family: var(--sign-family);
}
@top-right {
content: var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol);
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
vertical-align: top;
padding-top: var(--running-top);
width: 100%;
white-space: nowrap;
text-align: left;
padding-left: 5px;
}
@bottom-left {
content: counter(page);
vertical-align: bottom;
padding-bottom: var(--running-bottom);
white-space: nowrap;
font-size: var(--sign-size);
color: var(--sign-color);
font-family: var(--sign-family);
z-index: 100;
}
pre {
font-family: var(--fontFamily);
font-size: var(--textSize);
line-height: 1.5;
white-space: pre-wrap;
}
/* ------- TITLES ------- */
@page:right {
margin-left: 26mm;
margin-right: 18mm;
/* test titres couleurs */
.chapter-content h3{
/*text-align: center;*/
/*background: var(--vert);*/
/*display: inline-block;*/
font-size: 12pt;
color: var(--bleu);
font-family: var(--fontTitle);
margin-left: 1cm;
letter-spacing: 0.1px;
}
@top-left-corner {
content: var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol);
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
vertical-align: top;
padding-top: var(--running-top);
text-align: left;
padding-left: var(--running-left);
/* test titres ascii */
.test .chapter-content h3{
/*width: calc(var(--pagedjs-width) - 12mm);*/
text-align: center;
}
}
.test .chapter-content h3:before{
content: "+------------------------------------------------+";
display: block;
margin-bottom: 2mm;
}
@top-left {
content: element(title);
vertical-align: top;
padding-top: var(--running-top);
white-space: nowrap;
padding-right: 1.5ch;
font-family: var(--sign-family);
font-size: var(--font-size);
color: var(--sign-color);
}
.test .chapter-content h3:after{
content: "+------------------------------------------------+";
display: block;
margin-top: 1mm;
margin-bottom: 1mm;
}
@top-right {
content: var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol);
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
vertical-align: top;
padding-top: var(--running-top);
width: 100%;
white-space: nowrap;
}
.pagedjs_right_page .chapter-content h3{
/*margin-left: calc((var(--pagedjs-margin-left) - 16mm) * -1);*/
}
.chapter-content h4{
/*text-align: center;*/
font-family: var(--fontTitle);
color: var(--rouge);
font-size: 12pt;
@bottom-right {
content: counter(page);
vertical-align: bottom;
padding-bottom: var(--running-bottom);
text-align: right;
white-space: nowrap;
font-size: var(--sign-size);
color: var(--sign-color);
font-family: var(--sign-family);
z-index: 100;
}
}
/* .chapter-content h4:before{
content: "> > > > > > < < < < < < \a > > > > ";
white-space: pre;
@page:blank {
@top-left {
content: none;
}
@top-left-corner {
content: none;
}
@top-right {
content: none;
}
@top-center {
content: none;
}
@bottom-center {
content: none;
}
}
.chapter-content h4:after{
content: " < < < < \a > > > > > > < < < < < <";
white-space: pre;
}*/
/* ----- PORTFOLIO ----- */
.portfolio .block-type-gallery{
page-break-before: always;
}
.portfolio .block-type-gallery{
page: portfolio;
}
@page portfolio{
margin: 12mm 14mm 18mm;
@bottom-left{
content: none;
}
@bottom-right{
content: none;
}
}
/* portfolio, grande image pleine page */
.portfolio .block-type-gallery li.landscape{
page-break-after: always;
width: var(--pagedjs-height);
height: var(--pagedjs-width);
transform: rotate(90deg);
transform-origin: center center;
position: absolute;
top: 2.5cm;
left: -38%;
overflow: hidden;
}
.portfolio .block-type-gallery li.landscape img {
width: 100%;
height: 100%;
object-fit: cover;
}
.portfolio[data-id="jose-fa-ntjam-portfolio"] .block-type-gallery li.landscape img {
width: 100%;
height: auto;
object-fit: none;
}
/*.portfolio .block-type-gallery li{
margin-bottom: 2rem;
}
.portfolio .block-type-gallery .small{
width: 40%;
}
.portfolio .block-type-gallery .medium{
width: 70%;
}
.portfolio .block-type-gallery .big{
width: 100%;
}*/
/* portfolio removed borders */
.pagedjs_portfolio_page .pagedjs_margin-top-left-corner-holder:before,
.pagedjs_portfolio_page .pagedjs_margin-left:before,
.pagedjs_portfolio_page .pagedjs_margin-right:after,
.pagedjs_portfolio_page .pagedjs_margin-bottom:after{
content: none;
}
/* portfolio test version image sens de lecture, texte en bas */
.portfolio[data-id="jose-fa-ntjam-portfolio-copier"],
.portfolio[data-id="everything-is-real-copier"]{
page: portfoliosans;
}
@page portfoliosans{
margin: 0;
@bottom-left{
content: none;
}
@bottom-right{
content: none;
}
}
.pagedjs_portfoliosans_page .pagedjs_margin-top-left-corner-holder:before,
.pagedjs_portfoliosans_page .pagedjs_margin-left:before,
.pagedjs_portfoliosans_page .pagedjs_margin-right:after,
.pagedjs_portfoliosans_page .pagedjs_margin-bottom:after{
content: none;
}
.portfolio .chapter-title .type{
right: 0;
left: auto;
}
.portfolio .web-image{
display: block;
}
.portfolio .print-image{
display: none;
}
.pagedjs_portfoliosans_page {
position: relative;
}
.pagedjs_portfoliosans_page .chapter-title{
display: none;
}
.portfolio .block-type-image + .block-type-text{
page-break-after: always;
}
.pagedjs_portfoliosans_page .block-type-text{
position: absolute;
width: calc(100% - (36mm + 8mm));
bottom: 0mm;
}
.pagedjs_portfoliosans_page .block-type-text p{
text-align: left;
}
.pagedjs_portfoliosans_page.pagedjs_left_page .block-type-text{
right: 36mm;
}
.pagedjs_portfoliosans_page.pagedjs_right_page .block-type-text{
left: 36mm;
}
/* -------- IMAGES ------- */
.float-image{
position: relative !important;
top: auto !important;
left: auto !important;
width: auto !important;
float: right; /* ou left selon la position souhaitée */
clear: right;
width: 45% !important;
margin-top: 2mm;
}
.pagedjs_left_page .float-image{
float: right;
margin-right: calc(var(--pagedjs-margin-right) / 2 * -1);
margin-left: 5mm;
}
.pagedjs_right_page .float-image{
float: left;
margin-left: calc(var(--pagedjs-margin-left) / 2 * -1);
margin-right: 5mm;
}
.float-image figcaption{
position: relative;
color: var(--bleu);
font-size: 7pt;
font-family: var(--fontNotes);
text-align: left;
}
.float-image figcaption p{
color: var(--bleu);
font-size: 7pt;
font-family: var(--fontNotes);
text-align: left;
line-height: 1.3;
}
/* ------- NOTES ------- */
.margin-note{
font-size: 7pt;
line-height: 1.3;
font-family: var(--fontNotes);
/*font-weight: 400;*/
/*font-family: "Bilzig Trial";*/
color: var(--bleu);
text-align: left;
position: relative !important;
top: auto !important;
left: auto !important;
width: auto !important;
float: right; /* ou left selon la position souhaitée */
clear: right;
/* Largeur de la note dans le corps du texte */
width: 45% !important;
padding: 1mm 3mm 0mm;
}
.margin-note a{
color: var(--bleu);
}
.pagedjs_left_page .margin-note {
float: right;
margin-right: calc(var(--pagedjs-margin-right) / 2 * -1);
padding: 1mm 0mm 0mm 3mm;
}
.pagedjs_right_page .margin-note {
float: left;
margin-left: calc(var(--pagedjs-margin-left) / 2 * -1);
text-align: right;
padding: 1mm 3mm 0mm 0mm;
}
.note-call{
font-size: 0.7em;
}
.note-call_margin-note::before{
content: "{";
margin-right: 0.5mm;
}
.note-call_margin-note::after{
content: "}";
margin-left: 0.5mm;
}
.note-marker_margin-note{
margin-right: 2mm;
}
.note-marker_margin-note::before{
content: "{";
margin-right: 1mm;
}
.note-marker_margin-note::after{
content: "}";
margin-left: 1mm;
}
/* ----- IMAGES (SEPARATION DES COUCHES) ----- */
.print-image{
position: relative;
}
.print-image div{
position: absolute;
top: 0;
left: 0;
mix-blend-mode: multiply;
vertical-align: top;
}
/* .print-image figcaption{
position: absolute;
bottom: 0;
}*/
.print-image .print-red{
position: relative;
background: var(--rouge);
}
.print-image .print-green{
background: var(--vert);
}
.print-image .print-blue{
background: var(--bleu);
}
.print-image > div > img{
mix-blend-mode: screen;
-webkit-filter: grayscale(100%) contrast(200%);
filter: grayscale(100%) contrast(200%);
opacity: 1;
}
.print-image { display: block;}
.web-image { display: none;}
}
/* Gestion des couches */
body.isolate-red-layer .green-layer,
body.isolate-red-layer .blue-layer,
body.isolate-red-layer .black-layer { display: none; }
body.isolate-green-layer .red-layer,
body.isolate-green-layer .blue-layer,
body.isolate-green-layer .black-layer { display: none; }
.nav-title {
position: running(title);
}
body.isolate-blue-layer .red-layer,
body.isolate-blue-layer .green-layer,
body.isolate-blue-layer .black-layer { display: none; }
.nav-author {
position: running(author);
}
body.isolate-black-layer .red-layer,
body.isolate-black-layer .green-layer,
body.isolate-black-layer .blue-layer { display: none; }
.nav-type {
position: running(type);
}
/* Noir et blanc */
body.mode-black .print-image > div {
background: transparent;
.nav-decor {
position: running(decor);
}
.pagedjs_area {
position: relative;
}
.pagedjs_margin-top-left .pagedjs_margin-content .nav-decor::after {
content: var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol);
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
/* padding-left: 1ch; */
width: calc(var(--unit) + var(--sub-unit));
position: relative;
top: var(--symbol-top);
padding-left: 11px;
}
.pagedjs_left_page .pagedjs_margin-top {
width: calc(100% + var(--pagedjs-margin-right) - 2ch);
overflow: hidden;
}
.pagedjs_right_page .pagedjs_margin-top{
width: calc(100% + var(--pagedjs-margin-left) - 4ch);
overflow: hidden;
}
.pagedjs_left_page .pagedjs_margin-bottom-left .pagedjs_margin-content::after {
padding-left: 0.25ch;
padding-right: 1.25ch;
display: inline-block;
background-color: white;
min-width: 2ch;
}
.pagedjs_right_page .pagedjs_margin-bottom-right .pagedjs_margin-content::after {
padding-left: 1.25ch;
padding-right: 0.25ch;
display: inline-block;
background-color: white;
min-width: 2ch;
}
[data-chapter="essai"]{
--sign-color: var(--blue);
page: essai;
break-before: right;
}
@page essai{
--sign-color: var(--blue);
}
[data-chapter="entretien"]{
--sign-color: var(--red);
page: entretien;
break-before: right;
}
@page entretien{
--sign-color: var(--red);
}
[data-chapter="portfolio"]{
--sign-color: var(--green);
--sign-color: white;
page: portfolio;
break-before: left;
}
@page portfolio{
--sign-color: var(--green);
--sign-color: white;
background-color: #000;
}
[data-chapter="portfolio-bis"]{
--sign-color: var(--green);
page: portfolioBis;
break-before: left;
}
@page portfolioBis{
--sign-color: var(--green);
}

719
assets/css/print_sarah.css Normal file
View file

@ -0,0 +1,719 @@
@media print{
/* --------- Paramètres de base ---------- */
@page{
size: 165mm 240mm;
/* bleed: 6mm;
marks: crop;*/
}
@page :left {
margin: 12mm 36mm 18mm 14mm;
/* @top-left-corner {
content: counter(page);
font-size: 11pt;
text-align: center;
font-family: "Bilzig Trial";
}*/
/* @top-center{
font-family: var(--fontFamily);
content: "D6cor > essai";
font-size: 8pt;
color: var(--bleu);
text-align: left;
margin-top: 4mm;
}*/
@bottom-left{
font-family: var(--fontFamily);
content: counter(page);
font-size: 20pt;
color: var(--vert);
margin-top:-5mm;
margin-left: 0mm;
}
@bottom-right{
font-family: var(--fontFamily);
content: "D6cor > essai";
font-size: 8pt;
color: var(--bleu);
text-align: left;
margin-top:-5mm;
}
}
@page :right {
margin: 12mm 14mm 18mm 36mm;
/*@top-right-corner {
content: counter(page);
font-size: 7pt;
text-align: center;
font-family: var(--fontFamily);
}*/
/*@top-center{
content: string(chapter);
font-family: var(--fontFamily);
font-size: 8pt;
color: var(--bleu);
text-align: right;
margin-top: 4mm;
}*/
@bottom-right{
font-family: var(--fontFamily);
content: counter(page);
font-size: 20pt;
color: var(--vert);
margin-top:-5mm;
margin-right: 0mm;
}
@bottom-left{
content: string(chapter);
font-family: var(--fontFamily);
font-size: 8pt;
color: var(--bleu);
margin-top:-5mm;
}
}
.chapter{
break-before: right;
counter-reset: callNote_marginNote markerNote_marginNote;
}
/* borders */
.pagedjs_margin-top-left-corner-holder:before{
content: " ";
background: var(--vert);
width: 100%;
height: var(--border);
position: absolute;
}
.pagedjs_margin-left:before{
content: " ";
position: absolute;
top:0;
background: var(--bleu);
width: var(--border);
height: var(--pagedjs-height);
z-index: 2;
}
.pagedjs_right_page .pagedjs_margin-left:before{
content: none;
}
.pagedjs_margin-right:after{
content: " ";
position: absolute;
top:0;
right: 0;
background: var(--bleu);
width: var(--border);
height: var(--pagedjs-height);
z-index: 2;
}
.pagedjs_left_page .pagedjs_margin-right:after{
content: none;
}
.pagedjs_margin-bottom:after{
content: " ";
background: var(--rouge);
width: 100%;
height: var(--border);
position: absolute;
bottom: 0;
left: 0;
}
/* ---- TOC ---- */
.toc{
break-before: right;
}
#list-toc-generated .toc-element a::after{
font-size: 13pt;
}
#list-toc-generated .toc-element-level-2 a::after{
font-size: 10pt;
}
#list-toc-generated .toc-element-level-1{
font-size: 13pt;
}
#list-toc-generated .toc-element-level-2{
font-weight: bold;
margin-bottom: 20px;
}
/* ---- INTERPAGES ------ */
.interpage figure{
height: calc(var(--pagedjs-height) - (var(--border) * 2)) !important;
margin-top: calc(var(--border) + 8mm);
margin-bottom: 0;
width: 100%;
}
/* ---- PAGE DE TITRE ------ */
/* --- test 1 font 1 taille typo */
.test .chapter-title{
page-break-before: always;
position: relative;
}
.test .chapter-title h2,
.test .chapter-title h3{
margin: 0;
font-size: var(--textSize);
/*text-align: center;*/
/*font-family: var(--fontTitle);*/
text-align: left;
}
.test .chapter-title h2:before{
content: "# # # # # # # # # # # # # # # # # # # # # # # # # # # # #";
display: block;
margin-bottom: 1rem;
}
.test .chapter-title h2:after{
content: "+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ";
display: block;
margin-top: 1rem;
margin-bottom: 1rem;
}
.test .chapter-title h3{
font-size: var(--fontSize);
text-transform: none;
font-weight: 500;
}
.test .chapter-title h3:after{
content: "⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ⋱ ";
display: block;
margin-top: 1rem;
margin-bottom: 1rem;
}
.test .chapter-title .type{
position: absolute;
left: -2.2cm;
top: 0mm;
font-family: var(--fontTitle);
font-size: 8pt;
/*color: var(--bleu);*/
}
.test .chapter-title .type:before{
content: "[";
}
.test .chapter-title .type:after{
content: "]";
}
/* -- test mix ocr / jetbrains --- */
.chapter-title{
page-break-before: always;
margin-bottom: 2cm;
position: relative;
/*page: chapterTitle;*/
/* display: flex;
flex-direction: column;
align-items: center;*/
}
/* @page chapterTitle{
background: var(--bleu);
margin: 12mm 0mm;
@top-left-corner {content: none;}
@top-left {content: none;}
@top-center {content: none;}
@top-right {content: none;}
@top-right-corner {content: none;}
@left-top {content: none;}
@left-middle {content: none;}
@left-bottom {content: none;}
@right-top {content: none;}
@right-middle {content: none;}
@right-bottom {content: none;}
@bottom-left-corner {content: none;}
@bottom-left {content: none;}
@bottom-center {content: none;}
@bottom-right {content: none;}
@bottom-right-corner {content: none;}
}*/
.chapter-title h2,
.chapter-title h3{
/* display: inline-block;
position: relative;*/
margin: 0;
font-size: 24pt;
/*text-align: center;*/
font-family: var(--fontTitle);
text-align: left;
}
.chapter-title h3{
font-size: 10.5pt;
margin-top: 2cm;
text-transform: none;
font-weight: 500;
}
.chapter-title .type{
position: absolute;
left: -2.2cm;
top: 1.5mm;
font-family: var(--fontTitle);
/*color: var(--bleu);*/
font-size: 8pt;
}
.chapter-title .type:before{
content: "[";
}
.chapter-title .type:after{
content: "]";
}
.interview-block strong{
font-weight: normal;
margin-right: 0mm;
display: inline-block;
}
.interview-block strong:before{
content: "[";
}
.interview-block strong:after{
content: "]";
}
.interview-block p{
margin-top: 0;
margin-bottom: 0;
text-align-last: left;
}
.interview-block p:nth-of-type(odd) {
/*color: var(--rouge);*/
}
.interview-block p:nth-of-type(2n) {
margin-left: 2cm;
}
/* ascii-fill : pas de flex:1, hauteur fixée par JS */
.ascii-fill {
white-space: pre;
overflow: hidden;
line-height: 1.5;
flex-shrink: 0;
color: #FFF;
font-size: var(--textSize);
text-align: center;
font-family: var(--fontFamily);
width: 100%;
}
/*.chapter-title,
.biographie {
font-family: var(--fontFamily);
color: #FFF;
text-align: center;
width: 90%;
margin: auto;
}*/
pre {
font-family: var(--fontFamily);
font-size: var(--textSize);
line-height: 1.5;
white-space: pre-wrap;
}
/* ------- TITLES ------- */
/* test titres couleurs */
.chapter-content h3{
/*text-align: center;*/
/*background: var(--vert);*/
/*display: inline-block;*/
font-size: 12pt;
color: var(--bleu);
font-family: var(--fontTitle);
margin-left: 1cm;
letter-spacing: 0.1px;
}
/* test titres ascii */
.test .chapter-content h3{
/*width: calc(var(--pagedjs-width) - 12mm);*/
text-align: center;
}
.test .chapter-content h3:before{
content: "+------------------------------------------------+";
display: block;
margin-bottom: 2mm;
}
.test .chapter-content h3:after{
content: "+------------------------------------------------+";
display: block;
margin-top: 1mm;
margin-bottom: 1mm;
}
.pagedjs_right_page .chapter-content h3{
/*margin-left: calc((var(--pagedjs-margin-left) - 16mm) * -1);*/
}
.chapter-content h4{
/*text-align: center;*/
font-family: var(--fontTitle);
color: var(--rouge);
font-size: 12pt;
}
/* .chapter-content h4:before{
content: "> > > > > > < < < < < < \a > > > > ";
white-space: pre;
}
.chapter-content h4:after{
content: " < < < < \a > > > > > > < < < < < <";
white-space: pre;
}*/
/* ----- PORTFOLIO ----- */
.portfolio .block-type-gallery{
page-break-before: always;
}
.portfolio .block-type-gallery{
page: portfolio;
}
@page portfolio{
margin: 12mm 14mm 18mm;
@bottom-left{
content: none;
}
@bottom-right{
content: none;
}
}
/* portfolio, grande image pleine page */
.portfolio .block-type-gallery li.landscape{
page-break-after: always;
width: var(--pagedjs-height);
height: var(--pagedjs-width);
transform: rotate(90deg);
transform-origin: center center;
position: absolute;
top: 2.5cm;
left: -38%;
overflow: hidden;
}
.portfolio .block-type-gallery li.landscape img {
width: 100%;
height: 100%;
object-fit: cover;
}
.portfolio[data-id="jose-fa-ntjam-portfolio"] .block-type-gallery li.landscape img {
width: 100%;
height: auto;
object-fit: none;
}
/*.portfolio .block-type-gallery li{
margin-bottom: 2rem;
}
.portfolio .block-type-gallery .small{
width: 40%;
}
.portfolio .block-type-gallery .medium{
width: 70%;
}
.portfolio .block-type-gallery .big{
width: 100%;
}*/
/* portfolio removed borders */
.pagedjs_portfolio_page .pagedjs_margin-top-left-corner-holder:before,
.pagedjs_portfolio_page .pagedjs_margin-left:before,
.pagedjs_portfolio_page .pagedjs_margin-right:after,
.pagedjs_portfolio_page .pagedjs_margin-bottom:after{
content: none;
}
/* portfolio test version image sens de lecture, texte en bas */
.portfolio[data-id="jose-fa-ntjam-portfolio-copier"],
.portfolio[data-id="everything-is-real-copier"]{
page: portfoliosans;
}
@page portfoliosans{
margin: 0;
@bottom-left{
content: none;
}
@bottom-right{
content: none;
}
}
.pagedjs_portfoliosans_page .pagedjs_margin-top-left-corner-holder:before,
.pagedjs_portfoliosans_page .pagedjs_margin-left:before,
.pagedjs_portfoliosans_page .pagedjs_margin-right:after,
.pagedjs_portfoliosans_page .pagedjs_margin-bottom:after{
content: none;
}
.portfolio .chapter-title .type{
right: 0;
left: auto;
}
.portfolio .web-image{
display: block;
}
.portfolio .print-image{
display: none;
}
.pagedjs_portfoliosans_page {
position: relative;
}
.pagedjs_portfoliosans_page .chapter-title{
display: none;
}
.portfolio .block-type-image + .block-type-text{
page-break-after: always;
}
.pagedjs_portfoliosans_page .block-type-text{
position: absolute;
width: calc(100% - (36mm + 8mm));
bottom: 0mm;
}
.pagedjs_portfoliosans_page .block-type-text p{
text-align: left;
}
.pagedjs_portfoliosans_page.pagedjs_left_page .block-type-text{
right: 36mm;
}
.pagedjs_portfoliosans_page.pagedjs_right_page .block-type-text{
left: 36mm;
}
/* -------- IMAGES ------- */
.float-image{
position: relative !important;
top: auto !important;
left: auto !important;
width: auto !important;
float: right; /* ou left selon la position souhaitée */
clear: right;
width: 45% !important;
margin-top: 2mm;
}
.pagedjs_left_page .float-image{
float: right;
margin-right: calc(var(--pagedjs-margin-right) / 2 * -1);
margin-left: 5mm;
}
.pagedjs_right_page .float-image{
float: left;
margin-left: calc(var(--pagedjs-margin-left) / 2 * -1);
margin-right: 5mm;
}
.float-image figcaption{
position: relative;
color: var(--bleu);
font-size: 7pt;
font-family: var(--fontNotes);
text-align: left;
}
.float-image figcaption p{
color: var(--bleu);
font-size: 7pt;
font-family: var(--fontNotes);
text-align: left;
line-height: 1.3;
}
/* ------- NOTES ------- */
.margin-note{
font-size: 7pt;
line-height: 1.3;
font-family: var(--fontNotes);
/*font-weight: 400;*/
/*font-family: "Bilzig Trial";*/
color: var(--bleu);
text-align: left;
position: relative !important;
top: auto !important;
left: auto !important;
width: auto !important;
float: right; /* ou left selon la position souhaitée */
clear: right;
/* Largeur de la note dans le corps du texte */
width: 45% !important;
padding: 1mm 3mm 0mm;
}
.margin-note a{
color: var(--bleu);
}
.pagedjs_left_page .margin-note {
float: right;
margin-right: calc(var(--pagedjs-margin-right) / 2 * -1);
padding: 1mm 0mm 0mm 3mm;
}
.pagedjs_right_page .margin-note {
float: left;
margin-left: calc(var(--pagedjs-margin-left) / 2 * -1);
text-align: right;
padding: 1mm 3mm 0mm 0mm;
}
.note-call{
font-size: 0.7em;
}
.note-call_margin-note::before{
content: "{";
margin-right: 0.5mm;
}
.note-call_margin-note::after{
content: "}";
margin-left: 0.5mm;
}
.note-marker_margin-note{
margin-right: 2mm;
}
.note-marker_margin-note::before{
content: "{";
margin-right: 1mm;
}
.note-marker_margin-note::after{
content: "}";
margin-left: 1mm;
}
/* ----- IMAGES (SEPARATION DES COUCHES) ----- */
.print-image{
position: relative;
}
.print-image div{
position: absolute;
top: 0;
left: 0;
mix-blend-mode: multiply;
vertical-align: top;
}
/* .print-image figcaption{
position: absolute;
bottom: 0;
}*/
.print-image .print-red{
position: relative;
background: var(--rouge);
}
.print-image .print-green{
background: var(--vert);
}
.print-image .print-blue{
background: var(--bleu);
}
.print-image > div > img{
mix-blend-mode: screen;
-webkit-filter: grayscale(100%) contrast(200%);
filter: grayscale(100%) contrast(200%);
opacity: 1;
}
.print-image { display: block;}
.web-image { display: none;}
}
/* Gestion des couches */
body.isolate-red-layer .green-layer,
body.isolate-red-layer .blue-layer,
body.isolate-red-layer .black-layer { display: none; }
body.isolate-green-layer .red-layer,
body.isolate-green-layer .blue-layer,
body.isolate-green-layer .black-layer { display: none; }
body.isolate-blue-layer .red-layer,
body.isolate-blue-layer .green-layer,
body.isolate-blue-layer .black-layer { display: none; }
body.isolate-black-layer .red-layer,
body.isolate-black-layer .green-layer,
body.isolate-black-layer .blue-layer { display: none; }
/* Noir et blanc */
body.mode-black .print-image > div {
background: transparent;
}

114
assets/css/running-page.css Normal file
View file

@ -0,0 +1,114 @@
.running-page_container{
--w-container: calc(var(--pagedjs-width) - var(--pagedjs-bleed-left)*2);
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
vertical-align: bottom;
padding-bottom: var(--running-bottom);
width: 100%;
position: absolute;
left: 0px;
bottom: 0px;
width: var( --w-container);
overflow: hidden;
}
.running-page{
width: calc(var(--w-container)*2);
padding-left: var(--running-left);
padding-right: 6px;
display: flex;
}
.running-page .symbols{
flex-shrink: 0;
z-index: 20;
}
.running-page .dots{
position: absolute;
top: -5px;
left: var(--running-left);
z-index: 10;
}
.pagedjs_right_page .running-page_container .running-page{
position: relative;
left: calc(var( --w-container)*-1 + 10px);
}
@page essai:first {
@top-left-corner {
content: var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol);
}
@top-left {
content: none;
}
@top-center {
content: none;
}
@top-right {
content: none;
}
}
@page entretien:first {
@top-left-corner {
content: var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol);
}
@top-left {
content: none;
}
@top-center {
content: none;
}
@top-right {
content: none;
}
}
@page portfolio:first {
@top-left-corner {
content: var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol) var(--symbol);
}
@top-left {
content: none;
}
@top-center {
content: none;
}
@top-right {
content: none;
}
}
/* TEMP */
@page entretien{
--sign-color: var(--red);
}

122
assets/css/subtitles.css Normal file
View file

@ -0,0 +1,122 @@
h3, h4{
break-after: avoid;
}
h3, h4{
font-family: var(--sign-family);
font-weight: normal;
margin-top: calc(var(--baseline)*1.5);
margin-bottom: calc(var(--baseline)*1);
position: relative;
font-size: var(--font-size);
color: var(--sign-color);
}
.h3_container,
.h4_container{
position: relative;
}
.subtitle-before,
.subtitle-after{
letter-spacing:var(--sign-spacing);
font-size: var(--sign-size);
color: var(--sign-color);
line-height: var(--sign-baseline);
}
.subtitle-line {
display: flex;
justify-content: flex-end;
}
.subtitle-after{
padding-left: 0.75ch;
position: relative;
left: 6px;
overflow-wrap: anywhere;
}
.subtitle-text{
/* background-color: yellow; */
flex-grow: 2;
}
.decor-h3{
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
position: absolute;
}
/* LEFTPAGE */
.decor-h3_small{
left: -49px;
top: calc(var(--baseline)*-2.5 + 9px);
}
.decor-h3_big{
right: -81px;
text-align: right;
top: calc(var(--baseline) * -3.5 - 9px);
}
/*RIGHTPAGE */
.pagedjs_right_page .decor-h3_small{
left: auto;
right: -53px;
top: calc(var(--baseline)*-2.5 + 9px);
text-align: right;
}
.pagedjs_right_page .decor-h3_big{
right: 0;
left: -80px;
text-align: left;
top: calc(var(--baseline) * -3.5 - 9px);
}
/*if page top */
.pagedjs_right_page .subtitle-top-page h3 {
margin-top: 0px;
}
.pagedjs_right_page .subtitle-top-page [data-count="2"]{
color: transparent
}
.pagedjs_left_page .subtitle-top-page h3 {
margin-top: 5px;
}
.pagedjs_left_page .subtitle-top-page .decor-h3_big [data-count="1"],
.pagedjs_left_page .subtitle-top-page .decor-h3_big [data-count="2"]{
color: transparent!important
}

71
assets/css/text.css Normal file
View file

@ -0,0 +1,71 @@
.chapter p {
text-align: justify;
hyphens: auto;
hyphenate-limit-chars: 7 3 2;
/* position: relative; */
orphans: 2;
hyphens: 2;
}
p::before {
content: ".........";
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: 0px;
position: relative;
top: -3px;
padding-left: 0px;
padding-right: 0px;
margin-right: -4px;
}
.following-title::before,
.following-h3::before {
display: none !important;
}
/*BILBIOGRAPHIE*/
.bibliographie p {
font-size: var(--fs-notes);
line-height: 14px;
font-weight: 500;
text-align: left;
padding-left: calc(var(--unit)*2);
text-indent: calc(var(--unit)*-0.75);
break-inside: avoid;
position: relative;
}
.bibliographie p::before {
content: ".....";
position: absolute;
/* left: calc(var(--unit)*0.75); */
left: calc(var(--unit)*0.75 + 16px);
top: 3px;
display: none !important;
}
.bibliographie p::after {
content: "+";
position: absolute;
left: calc(var(--unit)*0.75);
top: 0px;
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
font-family: var(--sign-family);
line-height: var(--sign-baseline);
}

View file

@ -1,18 +1,39 @@
:root{
--margin: 1em;
--bleed-images: 3mm;
--pagedjs-fold: 0px;
--fontFamily: "JetBrains Mono NL";
/*--fontFamily: "Hershey-Noailles-Futura";*/
--fontNotes: "Hershey-Noailles-Times";
/*--fontTitle: "OCR-X Trial";*/
--fontTitle: "Hershey-Noailles-Times";
--textSize: 8.5pt;
--symbol: "+";
--unit: 70px;
--sub-unit: 17.5px;
--fontFamily: 'Routed Gothic', sans-serif;
--fontTitle: "Teletext";
--ratio : auto;
--rouge: #ff665e;
--vert: #44d62c;
--bleu: #0078bf;
--indent: 7mm;
--border: 4mm;
--font-size: 14px;
--baseline: 18px;
--fs-nav: 11px;
--fs-subtitle: 16px;
--fs-notes: 11px;
--red: #ff665e;
--green: #44d62c;
--blue: #0078bf;
--border: 4mm; /* à enlever */
--gap: 8px;
--sign-family: var(--fontTitle);
--sign-size: 14px;
--sign-baseline: 18px;
--sign-spacing: 7.5px;
--sign-spacing-dots: 7px;
--sign-color: var(--blue);
}