6 Croix fin de dernier chapitre

This commit is contained in:
Tibo
2020-01-25 17:31:02 +01:00
parent 3ee13357a7
commit 280378ffe3
2 changed files with 15 additions and 2 deletions
+11
View File
@@ -301,3 +301,14 @@ blockquote{
.lsp3 {
letter-spacing: 0.03em;
}
.last-chapter-p:after {
content: "++++++";
display: block;
font-family: inherit;
font-weight: 200;
font-size: 14pt;
letter-spacing: 4pt;
}
+4 -2
View File
@@ -64,7 +64,7 @@
</VueMarkdown>
</div>
<!-- Page blanche -->
<div class="blank-page" />
<div class="blank-page no-folio" />
<!-- Sections -->
<div v-for="edge in orderBy($page.sections.edges,'node.Ordre')">
<div v-if="edge.node.espace" class="blank-page no-folio breakBeforeLeft" />
@@ -169,7 +169,9 @@ export default {
}
page.parentNode.removeChild(page);
});
// Chercher le dernier paragraphe
let p = Array.from(document.querySelectorAll(".chapter-content"));
p[p.length-1].classList.add("last-chapter-p");
});
});
});