2023-04-04 13:45:27 +02:00
|
|
|
|
@media print {
|
|
|
|
|
body {
|
|
|
|
|
font-family: TheSans, "Open Sans", Arial, Helvetica, sans-serif;
|
2024-03-07 14:59:42 +01:00
|
|
|
|
/* Définit les deux variable de compteur nécessaires */
|
|
|
|
|
counter-reset: figureNumber toc;
|
2023-04-04 13:45:27 +02:00
|
|
|
|
}
|
2024-03-07 14:59:42 +01:00
|
|
|
|
/* Définit que string(date) contient la date indiquée dans le frontmatter
|
|
|
|
|
* de la source markdown */
|
2023-04-04 13:45:27 +02:00
|
|
|
|
.date {
|
|
|
|
|
string-set: date content(text)
|
|
|
|
|
}
|
|
|
|
|
@page {
|
|
|
|
|
size: A4;
|
2024-03-07 14:59:42 +01:00
|
|
|
|
margin-top: 25mm;
|
|
|
|
|
margin-bottom: 25mm;
|
2023-04-04 13:45:27 +02:00
|
|
|
|
bleed: 6mm;
|
|
|
|
|
@bottom-center {
|
|
|
|
|
content: counter(page)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@page:left {
|
|
|
|
|
margin-left: 25mm;
|
|
|
|
|
margin-right: 15mm;
|
|
|
|
|
}
|
|
|
|
|
@page:right {
|
|
|
|
|
margin-left: 15mm;
|
|
|
|
|
margin-right: 25mm;
|
|
|
|
|
}
|
|
|
|
|
@page:first {
|
|
|
|
|
@top-right {
|
|
|
|
|
content: "";
|
|
|
|
|
background-image: url("../medias/bibliotheque-logo.svg");
|
|
|
|
|
background-position: right;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 25%;
|
|
|
|
|
}
|
|
|
|
|
@bottom-center {
|
|
|
|
|
content: none;
|
|
|
|
|
}
|
|
|
|
|
@bottom-right {
|
|
|
|
|
content: string(date);
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-03-07 14:59:42 +01:00
|
|
|
|
/* Attention, il faut adapter au nombre effectif de pages ! *
|
|
|
|
|
* Cette règle n'affiche pas de numré de page à la dernière page */
|
2023-04-04 13:45:27 +02:00
|
|
|
|
@page:nth(11) {
|
|
|
|
|
@bottom-center {
|
|
|
|
|
content: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
h2 {
|
|
|
|
|
color: #d80669;
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
2024-03-07 14:59:42 +01:00
|
|
|
|
/* Ajouter ou supprimer les ID de titre pour un saut de page */
|
2023-04-04 13:45:27 +02:00
|
|
|
|
#principes-généraux,
|
|
|
|
|
#bibliographie,
|
|
|
|
|
.footnotes {
|
|
|
|
|
break-before: page;
|
|
|
|
|
}
|
|
|
|
|
#title-block-header {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 6em;
|
|
|
|
|
}
|
|
|
|
|
.authors {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
}
|
|
|
|
|
.author {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
pre {
|
|
|
|
|
font-family:'Courier New', Courier, monospace;
|
|
|
|
|
font-size: 90%;
|
|
|
|
|
background-color: #f2f1f1;
|
|
|
|
|
border: 2px solid #d80669;
|
|
|
|
|
border-radius: .5em;
|
|
|
|
|
margin: 1em;
|
|
|
|
|
padding: .5em 1em;
|
2024-03-07 14:59:42 +01:00
|
|
|
|
break-inside: avoid;
|
2023-04-04 13:45:27 +02:00
|
|
|
|
}
|
|
|
|
|
code {
|
|
|
|
|
font-family:'Courier New', Courier, monospace;
|
|
|
|
|
font-size: 90%;
|
|
|
|
|
background-color: #f2f1f1;
|
|
|
|
|
padding: 2px;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
}
|
|
|
|
|
.footnotes::before {
|
|
|
|
|
content: "Notes";
|
|
|
|
|
color: #d80669;
|
|
|
|
|
font-size: 120%;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2024-02-28 13:34:06 +01:00
|
|
|
|
.footnote-ref {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
2023-04-04 13:45:27 +02:00
|
|
|
|
figure {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
border: 2px solid #d80669;
|
|
|
|
|
border-radius: .5em;
|
|
|
|
|
padding: .5em;
|
2024-03-07 14:59:42 +01:00
|
|
|
|
break-inside: avoid;
|
2023-04-04 13:45:27 +02:00
|
|
|
|
}
|
|
|
|
|
figure img {
|
|
|
|
|
max-width: 85%;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
figcaption {
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 90%;
|
|
|
|
|
counter-increment: figureNumber;
|
|
|
|
|
padding-top: .5em;
|
|
|
|
|
}
|
|
|
|
|
figcaption::before {
|
|
|
|
|
content: "Figure " counter(figureNumber) " : ";
|
|
|
|
|
}
|
|
|
|
|
blockquote {
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
blockquote em {
|
|
|
|
|
font-style: normal;
|
|
|
|
|
}
|
|
|
|
|
div.csl-entry {
|
|
|
|
|
padding: .5em;
|
|
|
|
|
}
|
|
|
|
|
.logo {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
width: 60%;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
|
|
|
|
.logo img {
|
|
|
|
|
max-width: 50%;
|
|
|
|
|
padding: .5em;
|
|
|
|
|
}
|
2024-10-23 16:26:51 +02:00
|
|
|
|
/* Les 4 règles suivantes mettent en forme la table des matières :*
|
|
|
|
|
* Suppression des liste à puce, numérotation des chapitres et affichage du
|
|
|
|
|
* numéro de page. */
|
2024-03-07 14:59:42 +01:00
|
|
|
|
#TOC ul {
|
|
|
|
|
list-style-type: none;
|
|
|
|
|
padding-left: 0;
|
|
|
|
|
}
|
|
|
|
|
#TOC li {
|
|
|
|
|
counter-increment: toc;
|
|
|
|
|
}
|
|
|
|
|
#TOC li::before {
|
|
|
|
|
content: counter(toc) ". ";
|
|
|
|
|
}
|
|
|
|
|
#TOC a::after {
|
|
|
|
|
content: target-counter(attr(href url), page);
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 0;
|
|
|
|
|
}
|
2023-04-04 13:45:27 +02:00
|
|
|
|
}
|