sous-titre MD, titres chapitres, titres images

This commit is contained in:
Tibo
2020-01-01 12:10:04 +01:00
parent f28da7261f
commit d2570a2357
2 changed files with 9 additions and 3 deletions
+6 -1
View File
@@ -94,6 +94,7 @@
font-size: 34pt;
line-height: 34pt;
text-align: right;
margin-bottom: 20mm;
}
.chapter-title:after {
@@ -180,7 +181,11 @@ p img{
max-width: 100%;
}
.legend{
font-size: 9.5pt;
font-family: "Texta";
line-height: 9pt;
}
blockquote{
background-image: url("/motifs/croix.png");
+3 -2
View File
@@ -35,7 +35,7 @@
<!-- Sommaire -->
<div class="column no-folio">
<div class="column">
<div class="section-title">
Sommaire
</div>
@@ -46,7 +46,7 @@
</div>
</div>
<!-- Chapitres -->
@@ -106,6 +106,7 @@ export default {
img.onload = function() {
let legend = document.createElement("p");
legend.classList.add("breakAfter");
legend.classList.add("legend");
img.parentNode.classList.add("breakBefore");
legend.innerHTML = found.legende;
img.parentNode.insertBefore(legend, img.nextSibling);