From 789a53d2e534a9b276ce8e7fec6f74710ac888d7 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Fri, 27 Dec 2024 16:42:15 +0100 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20rendu=20=C3=A9crans=20inter?= =?UTF-8?q?m=C3=A9diaires?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #113 --- src/agenda_culturel/static/style.scss | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index f13b9d3..e629443 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -298,15 +298,7 @@ svg { width: 100%; padding: 0.3em; margin: 0 0 0.5em 0; -} - -@media only screen and (min-width: 550px) { - .illustration { - width: 40%; - float: right; - margin: 0 0 0.5em .5em; - } - + float: right; } @media only screen and (min-width: 992px) { @@ -1410,17 +1402,28 @@ img.preview { top: 0; z-index: 10; } + + @media only screen and (min-width: 600px) { + .single-event, .tag-description { + display: grid; + grid-template-columns: 60% auto; + grid-column-gap: 1em; + } + header { + grid-column: 1 / 3; + } + } + @media only screen and (min-width: 992px) { .resume { column-count: 4; } .single-event, .tag-description { - display: grid; grid-template-columns: 30% auto 14em; - grid-column-gap: 1em; header { margin: 0; + grid-column: 1 / 2; } .illustration { width: auto;