Browse Source

fixed some bugs

Bachir Soussi Chiadmi 4 years ago
parent
commit
17c1c441fb
4 changed files with 6 additions and 7 deletions
  1. 1 1
      assets/css/grid.scss
  2. 3 4
      assets/css/layout.scss
  3. 1 1
      assets/js/setup.js
  4. 1 1
      templates/main.tpl.html

+ 1 - 1
assets/css/grid.scss

@@ -86,6 +86,7 @@ $row-gutter-height: $row-height + $row-gutter;
   };
 
   @while $offset<=$max-size {
+    $i: $i+1;
     @if $odd{
       $offset:$offset+$col-width;
       $odd:false;
@@ -96,7 +97,6 @@ $row-gutter-height: $row-height + $row-gutter;
     .#{$class-name}#{$i} {
        #{$prop}: $offset;
     };
-    $i: $i+1;
   }
 }
 

+ 3 - 4
assets/css/layout.scss

@@ -36,7 +36,7 @@
 .body:before,
 .body:after {
     display: block;
-    font-family: "Belgika8th", sans-serif;
+    font-family: sans-serif;
     font-size: 6pt;
     line-height: $line-height;
     letter-spacing: 0.25pt;
@@ -47,10 +47,9 @@
 .body:after { bottom: $line-height * -3; }
 
 /*gauche*/
-/*.body:before { content: "Type d'article — Titre de l'article"; } */
+.paper:nth-child(odd) .body:before { content: "Pied de page"; }
 /*droite*/
-/*.body:before { content: "Médor n°1 —  printemps 2015"; }*/
-.paper:nth-child(even) .body:before { content: "Médor — hiver 2016-2017"; }
+.paper:nth-child(even) .body:before { content: "Pied de page"; }
 
 .body:after  { content: counter(folio); z-index: 499;}
 

+ 1 - 1
assets/js/setup.js

@@ -1 +1 @@
-nb_page = 100;
+nb_page = 50;

+ 1 - 1
templates/main.tpl.html

@@ -14,7 +14,7 @@
       <div id="master-page" class="paper">
         <div class="page">
           <div class="body">
-            <div class="bloc x1 y1 w8 b0 flow-main" style="margin-bottom:0pt;"></div>
+            <div class="bloc x1 y1 w8 h12 flow-main" style="margin-bottom:0pt;"></div>
             <!-- <div class="bloc x0 w1 flow-fn" style="bottom: 115pt;"></div> -->
           </div>
         </div>