This commit is contained in:
Ouidade Soussi Chiadmi 2021-06-22 14:41:52 +02:00
parent 01afb95428
commit 2ff5cec751
5 changed files with 33 additions and 25 deletions

View File

@ -3008,7 +3008,7 @@ header nav.dropmenu > ul {
#le_campus #module .titre-module {
font-family: "now_alt_bold";
font-weight: 400;
font-size: 1.5rem;
font-size: 2rem;
line-height: 2rem;
padding-bottom: 2rem;
text-align: center;
@ -3022,9 +3022,7 @@ header nav.dropmenu > ul {
flex-direction: column;
padding: 10px; }
#le_campus #module .valeurs .valeur .images_v {
width: 100%;
max-height: 10rem;
overflow: hidden; }
width: 100%; }
#le_campus #module .valeurs .valeur .images_v img {
padding-bottom: 20px; }
#le_campus #module .valeurs .valeur h5 {
@ -3041,9 +3039,7 @@ header nav.dropmenu > ul {
flex-direction: column;
padding: 10px; }
#le_campus #module .equipe .personne .images_v {
width: 100%;
max-height: 10rem;
overflow: hidden; }
width: 100%; }
#le_campus #module .equipe .personne .images_v img {
padding-bottom: 20px; }
#le_campus #module .equipe .personne h5 {
@ -3052,10 +3048,13 @@ header nav.dropmenu > ul {
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; }
.module .dl_plaquette {
width: 60%;
margin: auto; }
.module .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

@ -1608,7 +1608,7 @@
.titre-module{
font-family: "now_alt_bold";
font-weight: 400;
font-size: 1.5rem;
font-size: 2rem;
line-height: 2rem;
padding-bottom: 2rem;
text-align: center;
@ -1622,14 +1622,15 @@
display: flex;
flex-direction: column;
padding: 10px;
.images_v{
width:100%;
max-height: 10rem;
overflow: hidden;
img{
padding-bottom: 20px;
}
}
.texte_v{
}
h5{
padding-top: 20px;
padding-bottom: 5px;
@ -1648,8 +1649,8 @@
padding: 10px;
.images_v{
width:100%;
max-height: 10rem;
overflow: hidden;
// max-height: 30%;
// overflow: hidden;
img{
padding-bottom: 20px;
}
@ -1663,7 +1664,14 @@
}
}
}
}
.module{
.dl_plaquette{
width: 60%;
margin: auto;
p{
font-family: "now_alt_bold";
font-weight: 400;

View File

@ -45,11 +45,12 @@
<div class="module">
{% include 'modular/section-valeurs-equipe.html.twig' %}
<div class="dl_plaquette">
{{content}}
</div>
</div>
<div class="dl_plaquette">
{{content}}
</div>
</section>
{% endblock %}

View File

@ -14,6 +14,7 @@
<img src="{{page.media[valeur.image].url|e }}" alt="photo de {{valeur.titre}}" />
{% endif %}
</div>
<div class="texte_v">
{% if valeur.titre %}
<h5>{{ valeur.titre }}</h5>
{% endif %}
@ -21,7 +22,7 @@
{% if valeur.texte %}
<p>{{ valeur.texte|markdown }} </p>
{% endif %}
</div>
</div>
@ -29,5 +30,4 @@
{% endfor %}
</div>