Amélioration mise en page à venir
This commit is contained in:
parent
727f505307
commit
7a46bf4733
@ -390,6 +390,15 @@ article.day>ul {
|
|||||||
.right {
|
.right {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.description {
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.right.bottom {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0.5em;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
header .title {
|
header .title {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -69,19 +69,21 @@
|
|||||||
<div class="description">
|
<div class="description">
|
||||||
<div>
|
<div>
|
||||||
<p>{{ event.description |linebreaks2 | truncatewords:60 }}</p>
|
<p>{{ event.description |linebreaks2 | truncatewords:60 }}</p>
|
||||||
<div class="right">
|
</div>
|
||||||
<a href="{{ event.get_absolute_url }}">Voir l'événement <svg width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
<div class="right bottom">
|
||||||
|
<a role="button" href="{{ event.get_absolute_url }}">Voir l'événement <svg width="1em" height="1em" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
||||||
<use href="{% static 'images/feather-sprite.svg' %}#chevron-right" />
|
<use href="{% static 'images/feather-sprite.svg' %}#chevron-right" />
|
||||||
</svg></a>
|
</svg></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<article class='illustration'>
|
|
||||||
{% if event.image or event.local_image %}
|
{% if event.image or event.local_image %}
|
||||||
|
<div>
|
||||||
|
<article class='illustration'>
|
||||||
<img src="{% if event.local_image %}{{ event.local_image.url }}{% else %}{{ event.image }}{% endif %}" alt="{{ event.image_alt }}" />
|
<img src="{% if event.local_image %}{{ event.local_image.url }}{% else %}{{ event.image }}{% endif %}" alt="{{ event.image_alt }}" />
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</article>
|
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user