modif css

This commit is contained in:
Tessier
2020-10-16 17:03:15 +02:00
parent a40b4fa8d2
commit fd8cd36704
34 changed files with 1624 additions and 119 deletions
@@ -3,11 +3,18 @@
{% block content %}
<section id="section_proch" class="row">
<div class="container-fluid">
{% if posts == true %}
<h3>Prochainement</h3>
{% elseif posts_now == true %}
<h3>En cours</h3>
{% endif %}
<div class="row">
{% for item in posts %}
{% include 'components/thumbnails/thumbnails.twig'%}
{% endfor %}
{% for item in posts_now %}
{% include 'components/thumbnails/thumbnails.twig'%}
{% endfor %}
</div>
<div class="row wrap-btn">
<a class="btn _all" rel="noreferrer" href="/agenda">Tout voir</a>
@@ -34,6 +41,11 @@
<img src="{{theme.link}}/dist/assets/images/objet_3.svg" alt="objet 3">
</div>
</div>
<figure class="icones draggable">
<img id="objet_1" src="{{theme.link}}/static/objet_drag_1.svg" alt="">
<img id="objet_2" src="{{theme.link}}/static/objet_drag_2.svg" alt="">
<img id="objet_3" src="{{theme.link}}/static/objet_drag_3.svg" alt="">
</figure>
</section>
<section id="section_tpsF" class="row">
@@ -9,7 +9,7 @@
</ul>
<ul class="cat-list col d-flex flex-wrap">
<li data-filter="*" >
<li data-filter="*">
Tous
</li>
{% set newArray = [] %}
@@ -5,11 +5,11 @@
</figure>
<div class="col-12 col-sm-6 col-md">
<strong><a href="https://numerique.ressourcerie-la-mine.com/">La Mine Numérique</a></strong>
{{options.texte_horaire }}
</div>
<div class="col-12 col-sm-6 col-md">
<strong><a href="https://numerique.ressourcerie-la-mine.com/">Voir le site de La Mine numérique</a></strong>
{{options.texte_adresse }}
</div>
@@ -6,9 +6,14 @@
{% set title = item.title %}
{% endif %}
{# {% if loop.index >= 3 %}
{% set class = 'col-12 col-md-6 col-lg-4' %}
{% elseif loop.length >= 2 %}
{% set class = 'col-12 col-md-6 col-lg-6' %}
{% endif %} #}
<article class="thumbnails col-12 col-md-6 col-lg-4 {{cat}}">
<a rel="noreferrer" href="{{site.url}}/{{item.post_name}}">
<figure>
<span class="icone_cat {{cat}}"></span>
<div class="overflow-hidden">
@@ -26,7 +31,7 @@
{% set start = item.informations_debut_event|date("Ydj") %}
{% set end = item.informations_fin_event|date("Ydj") %}
{% if start == end %}
<span class="start">
Le <time datetime="{{item.informations_debut_event|date("j F Y")}}">{{item.informations_debut_event|date("j F Y") }}</time>
de <time datetime="{{item.informations_debut_event|date("G:i")}}">{{item.informations_debut_event|date("G:i")}}</time>
@@ -19,25 +19,27 @@
{{item.meta('text')}}
</div>
</aside>
<figure class="main-carousel col-md-8">
{% for media in item.meta('slide') %}
{% for add in media %}
{% if add.acf_fc_layout == 'images' %}
<div class="img">
<img src="{{ Image(add.image).src }}" alt="{{ Image(add.image).title }}">
</div>
{% endif %}
{% if add.acf_fc_layout == 'video' %}
<div class="video">
<div class="position-relative">
{{ add.video }}
{% if item.meta('slide').ajouter_un_media == true %}
<figure class="main-carousel col-md-8">
{% for media in item.meta('slide') %}
{% for add in media %}
{% if add.acf_fc_layout == 'images' %}
<div class="img">
<img src="{{ Image(add.image).src }}" alt="{{ Image(add.image).title }}">
</div>
</div>
{% endif %}
{% endif %}
{% if add.acf_fc_layout == 'video' %}
<div class="video">
<div class="position-relative">
{{ add.video }}
</div>
</div>
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
</figure>
</figure>
{% endif %}
</article>
{% endfor %}
{% endblock %}
@@ -17,26 +17,25 @@
<div class="__body">
{{ post.meta('paragraphe_descriptif') }}
</div>
</div>
<div class="wrap__content privatiser main-carousel">
{% for item in post.meta('slide_image') %}
<figure>
<img src="{{ Image(item.image).src }}" />
<div class="container position-relative">
<figcaption class="legendes col-10 col-md-6 col-lg-4">
<div class="__head">
<h6>{{ item.titre_legende}}</h6>
</div>
<div class="__content">
<p>{{ item.texte_legende}}</p>
</div>
</figcaption>
</div>
</figure>
{% endfor %}
</div>
<div class="wrap__content privatiser main-carousel">
{% for item in post.meta('slide_image') %}
<figure>
<img src="{{ Image(item.image).src }}" />
<div class="container position-relative">
<figcaption class="legendes col-10 col-md-6 col-lg-4">
<div class="__head">
<h6>{{ item.titre_legende}}</h6>
</div>
<div class="__content">
<p>{{ item.texte_legende}}</p>
</div>
</figcaption>
</div>
</figure>
{% endfor %}
</div>
<div class="wrap__content __organisation">
<div class="__body row justify-content-center">
@@ -60,10 +59,5 @@
</div>
<div class="paralax" data-rellax-speed="5">
<img src="{{theme.link}}/asset/images/objet_7.svg" alt="objet 7">
</div>
</article>
{% endblock %}