From eee8d33eb4893ac96615ea9cac8927622db5a567 Mon Sep 17 00:00:00 2001 From: ouidade Date: Mon, 4 Oct 2021 21:41:59 +0200 Subject: [PATCH] grille logos partenaires --- .../epau-antimatter/css-compiled/template.css | 17 ++++++++++------- .../scss/template/_custom.scss | 19 ++++++++++--------- .../templates/modular/partenaires.html.twig | 4 +++- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/user/themes/epau-antimatter/css-compiled/template.css b/user/themes/epau-antimatter/css-compiled/template.css index ac95777..add8a15 100644 --- a/user/themes/epau-antimatter/css-compiled/template.css +++ b/user/themes/epau-antimatter/css-compiled/template.css @@ -1398,7 +1398,7 @@ h1 { flex-wrap: wrap; width: 100%; padding-left: 10%; - padding-right: 15%; + padding-right: 10%; margin: auto; justify-items: center; } @media (max-width: 442px) { @@ -1494,13 +1494,16 @@ h1 { .grille { background-color: #fff; - display: flex; - margin: auto; - padding-bottom: 8rem; - flex-wrap: wrap; } - .grille p { + padding-bottom: 6rem; } + .grille .tous-logos { display: flex; - margin: auto; } + margin: auto; + max-width: 80%; } + .grille p { + justify-content: center; + display: flex; + margin: auto; + flex-wrap: wrap; } .grille img { height: 9rem; display: flex; diff --git a/user/themes/epau-antimatter/scss/template/_custom.scss b/user/themes/epau-antimatter/scss/template/_custom.scss index c00b11c..f667185 100644 --- a/user/themes/epau-antimatter/scss/template/_custom.scss +++ b/user/themes/epau-antimatter/scss/template/_custom.scss @@ -900,7 +900,7 @@ h1{ // padding-right: 15%; width: 100%; padding-left: 10%; - padding-right: 15%; + padding-right: 10%; margin: auto; justify-items: center; @media (max-width: 442px) { @@ -1042,16 +1042,17 @@ h1{ .grille{ background-color: #fff; - display: flex; - margin: auto; - padding-bottom: 8rem; - // padding-left: 3rem; - // padding-right: 6rem; - flex-wrap: wrap; - - p{ + padding-bottom: 6rem; + .tous-logos{ display: flex; margin: auto; + max-width: 80%; + } + p{ + justify-content: center; + display: flex; + margin: auto; + flex-wrap: wrap; } img{ height: 9rem; diff --git a/user/themes/epau-antimatter/templates/modular/partenaires.html.twig b/user/themes/epau-antimatter/templates/modular/partenaires.html.twig index 1d42355..84e34f8 100644 --- a/user/themes/epau-antimatter/templates/modular/partenaires.html.twig +++ b/user/themes/epau-antimatter/templates/modular/partenaires.html.twig @@ -15,7 +15,9 @@
- {{ page.content|raw }} +
+ {{ page.content|raw }} +