Browse Source

inverser hirarchie typo question réponse #2458

bach 6 months ago
parent
commit
510ca72d0a
1 changed files with 15 additions and 5 deletions
  1. 15 5
      src/assets/main.scss

+ 15 - 5
src/assets/main.scss

@@ -161,6 +161,16 @@ body{
   }
 
   $cartouch_width : 450px;
+  @mixin font_questions{
+    font-size: 1em;
+    font-weight: 300;
+    line-height: 1.4;
+  }
+  @mixin font_reponses{
+    font-weight: 100;
+    font-size: 0.882em;
+    line-height: 1.4;
+  }
   #content{
     display: flex;
     gap: 0.5rem;
@@ -548,15 +558,15 @@ body{
         font-size: 1.1em;
       }
       section>div, p{
-        font-size: 1em;
-        font-weight: 300;
-        line-height: 1.40;
+        // font-size: 1em;
+        // font-weight: 300;
+        // line-height: 1.40;
+        @include font_reponses();
       }
       label,
       span.date{
+        @include font_questions();
         display: block;
-        font-weight: 100;
-        font-size: 0.882em;
         padding: 0 0 1em 0;
       }
       ul, li{