diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index abbb21a..23120cc 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -161,15 +161,25 @@ svg { } .illustration { - float: right; - width: 20em; - margin: 0 0 0.5em .5em; + width: 100%; padding: 0.3em; + margin: 0; } -.illustration-small { - @extend .illustration; - width: 10em; +@media only screen and (min-width: 550px) { + .illustration { + width: 40%; + float: right; + margin: 0 0 0.5em .5em; + } + +} + +@media only screen and (min-width: 992px) { + .illustration { + width: 20em; + } + } footer { diff --git a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html index adc02ad..e0c2dfd 100644 --- a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html @@ -42,7 +42,7 @@ {% endif %} {% if event.image or event.local_image %} -
+
{{ event.image_alt }}
{% endif %}