Browse Source

sous-titre MD, titres chapitres, titres images

Tibo 4 years ago
parent
commit
d2570a2357
2 changed files with 9 additions and 3 deletions
  1. 6 1
      src/css/styles_de_paragraphes.scss
  2. 3 2
      src/pages/Index.vue

+ 6 - 1
src/css/styles_de_paragraphes.scss

@@ -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
src/pages/Index.vue

@@ -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);