From 510ca72d0abc196378d0d4c68f22d799a5ae115e Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 11 Dec 2023 13:27:46 +0100 Subject: [PATCH] =?UTF-8?q?inverser=20hirarchie=20typo=20question=20r?= =?UTF-8?q?=C3=A9ponse=20#2458?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/main.scss | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/assets/main.scss b/src/assets/main.scss index bdfc94b..d4c97fc 100644 --- a/src/assets/main.scss +++ b/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{