From ab4e5f247273088865765fbac09c3e5047e08992 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 17 Oct 2023 12:26:09 +0200 Subject: =?UTF-8?q?d=C3=A9couapge=20du=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/page-generic.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 static/css/page-generic.css (limited to 'static/css/page-generic.css') diff --git a/static/css/page-generic.css b/static/css/page-generic.css new file mode 100644 index 0000000..cc41691 --- /dev/null +++ b/static/css/page-generic.css @@ -0,0 +1,20 @@ +/*GESTION DE LA GRILLE D'UNE PAGE DE TEXTE LEGAL/INFO/BORRING */ +main { + grid-area: core-start / main-col-sep 3 / main-row-fin / main-col-sep 9; +} + +/* Tablettes */ +@media (max-width: 1500px) and (min-width: 801px) { + main { + grid-area: core-start / main-col-sep 1 / main-row-fin / main-col-sep 11; + } +} + +/* Smartphones */ +@media (max-width: 800px) { + main { + grid-area: core-start / main-col-start / main-row-fin / main-col-sep 12; + } +} + + -- cgit v1.2.3