parent
6e0f62773e
commit
89ab546b88
@ -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 {
|
||||
|
@ -42,7 +42,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if event.image or event.local_image %}
|
||||
<article class='illustration-small'>
|
||||
<article class='illustration'>
|
||||
<img src="{% if event.local_image %}{{ event.local_image.url }}{% else %}{{ event.image }}{% endif %}" alt="{{ event.image_alt }}" />
|
||||
</article>
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user