clean css

This commit is contained in:
sarahgarcin1 2026-04-01 15:22:18 +02:00
parent 341b64d33f
commit 952c6d041d
17 changed files with 391 additions and 1246 deletions

41
assets/css/blockquote.css Normal file
View file

@ -0,0 +1,41 @@
/* ------ BLOCKQUOTE --------- */
blockquote{
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 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;
}

View file

@ -0,0 +1,107 @@
/* ---- 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 .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;
text-align: center;
margin-top: 0;
color: var(--sign-color);
}
.chapter-header .hgroup h2 span {
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{
display: block;
text-align: center;
}
.chapter-header .author span {
font-family: var(--fontTitle);
color: var(--sign-color);
text-transform: uppercase;
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,
.chapter-header .title-between {
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-between{
text-align: center;
font-size: 1em;
}
.chapter-header .title-before {
top: calc(var(--baseline)*-2.5);
text-transform: uppercase;
}
.chapter-header .title-after {
bottom: calc(var(--baseline)*-2.25 + 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;
}

106
assets/css/entretiens.css Normal file
View file

@ -0,0 +1,106 @@
/* ------ 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;
}
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::before{
content: "//////"
}
.pagedjs_left_page h5{
left: -49px;
}
.pagedjs_left_page h5::before{
content: "//////"
}
h6 {
font-size: var(--sign-size);
color: var(--sign-color);
}
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);
}

33
assets/css/figures.css Normal file
View file

@ -0,0 +1,33 @@
/* GESTION DES FIGURES */
figure{
margin-bottom: 1em;
}
figcaption{
font-size: 0.8em;
margin-top: 0.5em;
}
figcaption p{
margin: 0;
}
figure[data-ratio] {
position: relative;
width: 100%;
aspect-ratio: var(--ratio);
}
figure[data-crop="true"] img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
figure[data-crop="false"] img {
width: 100%;
height: auto;
object-fit: contain;
}

View file

@ -21,474 +21,8 @@ a{
}
a:hover{text-decoration: underline;}
p{ margin-bottom: 1rem;}
img{ width: 100%;}
main{ margin-bottom: 150px; }
h1{
font-weight: normal;
font-size: 3em;
margin-top: 0;
text-transform: uppercase;
margin-bottom: 0;
string-set: title content(text);
}
h2{
string-set: chapter content(text);
text-align: center;
}
h2, h3{
font-size: 3em;
font-weight: normal;
text-transform: uppercase;
}
h3{
font-size: 1em;
}
h5, h6{
font-size: var(--font-size);
margin-top: 1mm;
margin-bottom: 0;
font-weight: normal;
}
p, li{
text-align: justify;
hyphens: auto;
line-height: 1.45;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
-webkit-hyphenate-limit-before: 3;
-webkit-hyphenate-limit-after: 4;
-ms-hyphenate-limit-chars: 7 3 4;
hyphenate-limit-chars: 7 3 4;
word-wrap: break-word;
overflow-wrap: break-word;
/* veuves et orphelines (bancal) */
widows: 3;
orphans: 3;
}
li p{
margin: 0;
text-align: left;
}
p a {
white-space: pre-wrap; /* CSS3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
word-break: break-all;
}
ul, figure, ol{
margin: 0;
padding: 0
}
figure{
margin-bottom: 1em;
}
figcaption{
font-size: 0.8em;
margin-top: 0.5em;
}
figcaption p{
margin: 0;
}
figure[data-ratio] {
position: relative;
width: 100%;
aspect-ratio: var(--ratio);
}
figure[data-crop="true"] img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
figure[data-crop="false"] img {
width: 100%;
height: auto;
object-fit: contain;
}
/* ------ BLOCKQUOTE --------- */
blockquote{
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 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;
text-align: center;
margin-top: 0;
color: var(--sign-color);
}
.chapter-header .hgroup h2 span {
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{
display: block;
text-align: center;
}
.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,
.chapter-header .title-between {
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-between{
text-align: center;
font-size: 1em;
}
.chapter-header .title-before {
top: calc(var(--baseline)*-2.5);
text-transform: uppercase;
}
.chapter-header .title-after {
bottom: calc(var(--baseline)*-2.25 + 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 --------- */
main{ margin-bottom: 150px;}

45
assets/css/notes.css Normal file
View file

@ -0,0 +1,45 @@
/* ------- 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;
}

View file

@ -254,9 +254,9 @@
[data-chapter="essai"]{
--sign-color: var(--blue);
page: essai;
break-before: right;
--sign-color: var(--blue);
page: essai;
break-before: right;
}

View file

@ -1,719 +0,0 @@
@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;
}

View file

@ -7,9 +7,14 @@
hyphens: 2;
}
.chapter h2,
.chapter h3{
text-transform: uppercase;
}
p::before {
content: "...";
content: ".........";
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
@ -28,48 +33,10 @@ p::before {
}
/* BIO */
.chapter-bio{
margin-bottom: calc(var(--baseline) * 3 + 13px);
}
.chapter-bio p{
font-size: 0.8em;
color: var(--blue);
}
/* ------ BILBIOGRAPHIE ------ */
.chapter-bio p::before{
content: "/////////";
font-size: 0.8em;
font-size: var(--sign-size);
font-family: var(--sign-family);
letter-spacing: 0;
top: 0;
margin-right: 5px;
display: block;
text-align: center;
margin-bottom: var(--baseline);
/*color: #000;*/
}
.chapter-bio p::after{
content: "/////////";
font-size: 0.8em;
font-size: var(--sign-size);
font-family: var(--sign-family);
letter-spacing: 0;
top: 0;
margin-right: 5px;
display: block;
text-align: center;
}
/*BILBIOGRAPHIE*/
.bibliographie p {
.block-type-bibliographie p {
font-size: var(--fs-notes);
line-height: 14px;
font-weight: 500;
@ -80,17 +47,16 @@ p::before {
position: relative;
}
.bibliographie p::before {
.block-type-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 {
.block-type-bibliographie p::after {
content: "+";
position: absolute;
left: calc(var(--unit)*0.75);

View file

@ -10,10 +10,8 @@ document.addEventListener('DOMContentLoaded', (event) => {
let flowBook = document.querySelector("#book-content");
let book_content = flowBook.content;
let paged = new Paged.Previewer();
// paged.preview(book_content, ["/assets/css/print-template.css", "/assets/css/main.css", "/assets/css/print.css"], document.querySelector("#renderbook")).then((flow) => {
// });
paged.preview(book_content, ["assets/fonts/stylesheet.css", "assets/css/print-template.css", "assets/css/main.css", "assets/css/print.css", "assets/css/running-page.css"], document.querySelector("#renderbook")).then((flow) => {
paged.preview(book_content, ["assets/css/print-template.css", "assets/css/main.css", "assets/css/print.css", 'assets/css/blockquote.css', 'assets/css/chapter-header.css', 'assets/css/entretiens.css', 'assets/css/notes.css', 'assets/css/figures.css', 'assets/css/portfolio.css', "assets/css/running-page.css", 'assets/css/subtitles.css', 'assets/css/text.css',], document.querySelector("#renderbook")).then((flow) => {
});
});

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,11 @@
# JOB LOB
## TO DO
- Intégration portfolio => voir index.html + portfolio.css
- clean css
- mettre la liste des images en taille réelle sur fond blanc à la fin de portfolio
- générer le sommaire => auteur·ice / type
- intégration biographie
- intégration portfolio => voir index.html + portfolio.css
- trouver une manière de pouvoir travailler les portfolios
- ok - manque : running-page.css
- ok - manque : subtitles.css
@ -12,9 +16,21 @@
## Notes
- Uniformisation des interviews => prénoms + noms au début puis initiales ?
- Design des interviews à faire
- Utiliser le Pantone à d'autres endroits ?
- Julie va faire une passe sur le design général
- [Julie] Peaufiner le design des interviews
- [Julie] Uniformisation des interviews => prénoms + noms au début puis initiales ?
- [Julie] Utiliser le Pantone à d'autres endroits ?
- [Julie] Design Sommaire
- Design Biographie [Sami]
- Design carte / mots clés (cf Olivier)
- Avoir les mots clés afficher pour chaque article ?
- Avoir les notes par chapitre ? counter-reset par chapitre ?
- [Sarah] Couverture : ajouter d6cor et terminal en bas ou en haut
- Produire les images
- que avec des /
- Intégration des contenus
- Design du site

View file

@ -0,0 +1,9 @@
name: Bibliographie
icon: text
wysiwyg: true
preview: text
fields:
text:
type: writer
nodes: true
placeholder: field.blocks.text.placeholder

View file

@ -41,6 +41,7 @@ columns:
- list
- quote
- interview
- bibliographie
media:
label: Media
type: group

View file

@ -0,0 +1,3 @@
<?php /** @var \Kirby\Cms\Block $block */ ?>
<?= $block->text()->kt()->smartypants();?>

View file

@ -20,9 +20,6 @@
'assets/css/reset.css',
'assets/fonts/stylesheet.css',
'assets/css/variables.css',
'assets/css/portfolio.css',
'assets/css/subtitles.css',
'assets/css/text.css',
'assets/css/main.css',
'@auto'
]) ?>