ouidade 2 years ago
parent
commit
2ff5cec751

+ 13 - 14
user/themes/lecampus/css-compiled/theme.css

@@ -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; }

+ 13 - 5
user/themes/lecampus/scss/theme/_blog.scss

@@ -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;

+ 0 - 0
user/themes/lecampus/scss/theme/_nos_valeurs.scss


+ 5 - 4
user/themes/lecampus/templates/le_campus.html.twig

@@ -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 %}
 

+ 2 - 2
user/themes/lecampus/templates/modular/valeurs.html.twig

@@ -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>