module valeurs/equipe

This commit is contained in:
Ouidade Soussi Chiadmi 2021-06-22 12:54:55 +02:00
parent 416d183223
commit 01afb95428
5 changed files with 195 additions and 103 deletions

View File

@ -1348,7 +1348,24 @@ header nav.dropmenu > ul {
#mlb2-985974.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
text-align: center; }
#tarteaucitronRoot #tarteaucitronAlertBig {
padding: 10px 0 !important; } }
padding: 10px 0 !important; }
#le_campus #module {
width: 90% !important;
padding-right: 0 !important; }
#le_campus #module .valeurs {
flex-direction: column !important;
width: 90%;
align-self: center; }
#le_campus #module .valeurs .valeur {
width: 100% !important;
text-align: center; }
#le_campus #module .equipe {
flex-direction: column !important;
width: 90%;
align-self: center; }
#le_campus #module .equipe .personne {
width: 100% !important;
text-align: center; } }
#tarteaucitronBack {
background: yellow; }
@ -2980,7 +2997,7 @@ header nav.dropmenu > ul {
transform: translate(-50%, -50%);
width: 70%; }
#module {
#le_campus #module {
width: 60%;
margin: auto;
margin-top: 4rem;
@ -2988,7 +3005,7 @@ header nav.dropmenu > ul {
padding-right: 4rem;
display: flex;
flex-direction: column; }
#module .titre-module {
#le_campus #module .titre-module {
font-family: "now_alt_bold";
font-weight: 400;
font-size: 1.5rem;
@ -2996,22 +3013,49 @@ header nav.dropmenu > ul {
padding-bottom: 2rem;
text-align: center;
color: #0093a3; }
#module .valeurs {
#le_campus #module .valeurs {
display: flex;
flex-direction: row; }
#module .valeurs .valeur {
#le_campus #module .valeurs .valeur {
width: 33%;
display: flex;
flex-direction: column;
padding: 10px; }
#module .valeurs .valeur .images_v {
#le_campus #module .valeurs .valeur .images_v {
width: 100%;
max-height: 10rem;
overflow: hidden; }
#module .valeurs .valeur .images_v img {
#le_campus #module .valeurs .valeur .images_v img {
padding-bottom: 20px; }
#module .valeurs .valeur h5 {
#le_campus #module .valeurs .valeur h5 {
padding-top: 20px;
padding-bottom: 5px;
font-family: "bold";
font-size: 1.3rem; }
#le_campus #module .equipe {
display: flex;
flex-direction: row; }
#le_campus #module .equipe .personne {
width: 33%;
display: flex;
flex-direction: column;
padding: 10px; }
#le_campus #module .equipe .personne .images_v {
width: 100%;
max-height: 10rem;
overflow: hidden; }
#le_campus #module .equipe .personne .images_v img {
padding-bottom: 20px; }
#le_campus #module .equipe .personne h5 {
padding-top: 20px;
padding-bottom: 5px;
font-family: "bold";
font-size: 1.3rem; }
#le_campus .dl_plaquette p {
font-family: "now_alt_bold";
font-weight: 400;
font-size: 1rem;
line-height: 2rem;
padding-bottom: 2rem;
text-align: center; }

View File

@ -1596,7 +1596,7 @@
}
}
#le_campus{
#module{
width: 60%;
margin: auto;
@ -1638,4 +1638,40 @@
}
}
}
.equipe{
display: flex;
flex-direction: row;
.personne{
width: 33%;
display: flex;
flex-direction: column;
padding: 10px;
.images_v{
width:100%;
max-height: 10rem;
overflow: hidden;
img{
padding-bottom: 20px;
}
}
h5{
padding-top: 20px;
padding-bottom: 5px;
font-family: "bold";
font-size: 1.3rem;
}
}
}
}
.dl_plaquette{
p{
font-family: "now_alt_bold";
font-weight: 400;
font-size: 1rem;
line-height: 2rem;
padding-bottom: 2rem;
text-align: center;
}
}
}

View File

@ -804,4 +804,30 @@
#tarteaucitronRoot #tarteaucitronAlertBig{
padding: 10px 0!important;
}
#le_campus{
#module{
width: 90% !important;
padding-right: 0 !important;
.valeurs{
flex-direction: column !important;
width: 90%;
align-self: center;
.valeur{
width: 100% !important;
text-align: center;
}
}
.equipe{
flex-direction: column !important;
width: 90%;
align-self: center;
.personne{
width: 100% !important;
text-align: center;
}
}
}
}
}

View File

@ -7,6 +7,7 @@
{% include 'partials/bandeau.html.twig' %}
</div>
<section class="body-wrapper">
<script type="application/ld+json">
{
@ -46,6 +47,10 @@
{% include 'modular/section-valeurs-equipe.html.twig' %}
</div>
<div class="dl_plaquette">
{{content}}
</div>
</section>
{% endblock %}

View File

@ -6,9 +6,8 @@
{% for personne in page.header.personnes %}
<!-- {{ dump(personne) }} -->
<div class="personne">
<!-- <div class="mozaique"> -->
<div class="photo">
{% if personne.portrait %}
<img src="{{page.media[personne.portrait].url|e }}" alt="photo de {{personne.nom}}" />
@ -24,26 +23,8 @@
{% if personne.biographie %}
<p>{{ personne.biographie|markdown }} </p>
{% endif %}
<!-- <button class="bouton">Voir biographie</button>
<div class="modal">
<div class="mask">
<div class="container">
<div class="message">
{% if personne.biographie %}
<p>{{ personne.biographie|markdown }} </p>
{% endif %}
</div>
<a href="#" class="close">&times;</a>
</div>
</div>
</div> -->
</div>
<!-- </div> -->
</div>