Browse Source

css modules

ouidade 3 years ago
parent
commit
0a7a10c92d

+ 10 - 6
user/themes/lecampus/css-compiled/theme.css

@@ -2980,9 +2980,13 @@ header nav.dropmenu > ul {
     transform: translate(-50%, -50%);
     width: 70%; }
 
-.module .valeurs {
-  display: flex;
-  flexdirection: row;
-  align-items: baseline; }
-  .module .valeurs .valeur {
-    padding: 10px; }
+.module {
+  width: 75%;
+  margin: auto;
+  padding-right: 10%; }
+  .module .valeurs {
+    display: flex;
+    flexdirection: row;
+    align-items: baseline; }
+    .module .valeurs .valeur {
+      padding: 10px; }

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

@@ -1595,8 +1595,13 @@
     width: 70%;
   }
 }
+.titre-module{
+}
 
 .module {
+  width: 75%;
+  margin:auto;
+  padding-right: 10%;
     .valeurs{
       display: flex;
       flexdirection: row;

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

@@ -37,8 +37,12 @@
  }
 </script>
 
-<div class="module">
 
+{% block sidebar %}
+  {% include 'partials/sidebar.html.twig' %}
+{% endblock %}
+
+<div class="module">
   {% include 'modular/section-valeurs-equipe.html.twig' %}
 </div>