From b1fd6c89f585c8c83d1dc4f85fc9bac1ae403ccd Mon Sep 17 00:00:00 2001 From: chankalan Date: Mon, 12 Jul 2021 09:22:15 +0200 Subject: [PATCH] fix autre_sujet --- squelettes/content/article-emission.html | 19 +++++++------------ squelettes/scss/styles/_perso.scss | 15 +++++++++++++++ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/squelettes/content/article-emission.html b/squelettes/content/article-emission.html index 2782d86..eedce12 100644 --- a/squelettes/content/article-emission.html +++ b/squelettes/content/article-emission.html @@ -54,29 +54,24 @@ - - - - + #SET{chapitres,oui}

<:libreavous:sujet_principal:>

- + #SET{chapitres,oui}

<:libreavous:et_aussi:>

-
+
-
+
- - - [
(#CHAPO)
] - - + [(#GET{chapitres}|!={oui}|oui) + [
(#CHAPO)
] + ]
diff --git a/squelettes/scss/styles/_perso.scss b/squelettes/scss/styles/_perso.scss index 8d6425f..97d666b 100644 --- a/squelettes/scss/styles/_perso.scss +++ b/squelettes/scss/styles/_perso.scss @@ -300,6 +300,21 @@ h2 { .sujet_autre { background:$couleurBackgroundTexte; + padding:$spacer ($spacer*4); + margin:0 -($spacer*4); + > div { + @include flex; + @include vendor-prefix(flex-wrap, wrap); + > * { + width:50%; + &:nth-child(odd) { + padding-right:$spacer*2; + } + &:nth-child(even) { + padding-left:$spacer*2; + } + } + } } div.star-rating, div.star-rating a {