Browse Source

grille de ligne de base

bach 2 years ago
parent
commit
257efc35f9

+ 8 - 3
assets/css/app.scss

@@ -28,6 +28,8 @@ that is currently Firefox-only */
 
 body{
   color: #1a1a1a;
+  // background-image: url('/static/img/grille-ligne-de-base.png');
+  // background-repeat: repeat;
 }
 
 #root{
@@ -469,11 +471,13 @@ section[role="main-content"]{
             font-weight: 600;
           }
 
-          h1{ font-size: 1.512em; }
+          h1{ font-size: 1.512em; 
+            line-height: $base-line; }
           p{
             margin-top: 0;
             font-size: 1.134em;
-            line-height: 1.5;
+            line-height: $base-line;
+            margin-bottom: $base-line / 2;
             span.persName,
             span.placeName,
             span.objectName{
@@ -584,6 +588,7 @@ section[role="main-content"]{
         height:calc(100% - #{$pager_h});
         overflow-x: hidden;
         overflow-y: auto;
+        line-height: $base-line / 2;
         >ul{
           ul{
             li{
@@ -610,7 +615,7 @@ section[role="main-content"]{
                 li{
                   // min-height: 1em;
                   // border-left: 1px solid red;
-                  padding:0 0 0.2em 1em;
+                  padding:0 0 0 1em;
                 }
               }
             }

+ 3 - 0
assets/css/base/_fonts.scss

@@ -4,6 +4,7 @@
 // @import '../fonts/notosans/notosans-condensed.css';
 // @import '../fonts/notosans/notosans-extracondensed.css';
 
+
 @mixin fontsans {
   font-family: "noto_sans";
 }
@@ -33,6 +34,7 @@ footer[role="tools"] .row>nav{
   color: $bleuroi;
   font-weight: 400;
   margin:0;
+  line-height: $base-line;
 }
 
 @mixin title1black {
@@ -92,6 +94,7 @@ footer[role="tools"] .row>nav{
   color: $bleuroi;
   font-weight: 400;
   margin:0;
+  line-height: $base-line;
 }
 
 @mixin fontcaption {

+ 1 - 1
assets/css/base/_layout.scss

@@ -67,7 +67,7 @@ body{
       >nav{
         box-sizing: border-box;
         max-height: 100%;
-        padding-top:1em;
+        padding-top:$base-line;
       }
       >section>.wrapper,
       >nav{

+ 1 - 0
assets/css/base/_variables.scss

@@ -1,4 +1,5 @@
 $base_font_size:16px;
+$base-line:28px;
 
 // grid
 $default_gap: 1em;

BIN
static/img/grille-ligne-de-base.png