Browse Source

6 Croix fin de dernier chapitre

Tibo 4 years ago
parent
commit
280378ffe3
2 changed files with 15 additions and 2 deletions
  1. 11 0
      src/css/styles_de_paragraphes.scss
  2. 4 2
      src/pages/Index.vue

+ 11 - 0
src/css/styles_de_paragraphes.scss

@@ -301,3 +301,14 @@ blockquote{
 .lsp3 {
 .lsp3 {
 	letter-spacing: 0.03em;
 	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
src/pages/Index.vue

@@ -64,7 +64,7 @@
     </VueMarkdown>
     </VueMarkdown>
   </div>
   </div>
   <!-- Page blanche -->
   <!-- Page blanche -->
-  <div class="blank-page" />
+  <div class="blank-page no-folio" />
   <!-- Sections -->
   <!-- Sections -->
   <div v-for="edge in orderBy($page.sections.edges,'node.Ordre')">
   <div v-for="edge in orderBy($page.sections.edges,'node.Ordre')">
     <div v-if="edge.node.espace" class="blank-page no-folio breakBeforeLeft" />
     <div v-if="edge.node.espace" class="blank-page no-folio breakBeforeLeft" />
@@ -169,7 +169,9 @@ export default {
               }
               }
               page.parentNode.removeChild(page);
               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");
           });
           });
         });
         });
       });
       });