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

View File

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

View File

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

View File

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