From 17c1c441fb68dd4c08533f1e3998fc29a3060ffb Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 2 May 2017 19:26:46 +0200 Subject: [PATCH] fixed some bugs --- assets/css/grid.scss | 2 +- assets/css/layout.scss | 7 +++---- assets/js/setup.js | 2 +- templates/main.tpl.html | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/assets/css/grid.scss b/assets/css/grid.scss index 460310d..e44d09f 100644 --- a/assets/css/grid.scss +++ b/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; } } diff --git a/assets/css/layout.scss b/assets/css/layout.scss index 870435c..514ef6b 100644 --- a/assets/css/layout.scss +++ b/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;} diff --git a/assets/js/setup.js b/assets/js/setup.js index 6b31209..8f22a2c 100644 --- a/assets/js/setup.js +++ b/assets/js/setup.js @@ -1 +1 @@ -nb_page = 100; +nb_page = 50; diff --git a/templates/main.tpl.html b/templates/main.tpl.html index b51b5b7..5925da6 100644 --- a/templates/main.tpl.html +++ b/templates/main.tpl.html @@ -14,7 +14,7 @@
-
+