Browse Source

modif css

kevin tessier 4 years ago
parent
commit
a177f6febc

+ 25 - 0
user/themes/anissabensalah/blueprints/modular/submodular.yaml

@@ -0,0 +1,25 @@
+title: submodular
+'@extends': default
+
+form:
+  fields:
+    tabs:
+      fields:
+        content:
+          fields:
+            header.sous_title:
+              ordering@: -3
+              type: text
+              label : sous-titre
+              style: vertical
+
+            header.media_order:
+              label: Page Media (first one will be displayed next to your content)
+            header.image_align:
+              type: select
+              label: Image position
+              classes: fancy
+              default: left
+              options:
+                'left': 'Left'
+                'right': 'Right'

File diff suppressed because it is too large
+ 2 - 4
user/themes/anissabensalah/css-compiled/theme.css


File diff suppressed because it is too large
+ 0 - 0
user/themes/anissabensalah/css-compiled/theme.min.css


+ 1 - 1
user/themes/anissabensalah/scss/theme/fonts.scss

@@ -80,7 +80,7 @@ body{
         line-height: 1.5rem;
       }
     }
-    #presse{
+    #presse, #press, #imprensa{
       .red{
         .citation{
           p{

+ 1 - 1
user/themes/anissabensalah/scss/theme/header.scss

@@ -88,7 +88,7 @@ a{
     height: 2px;
     bottom: 0;
     left: 0;
-    background-color: #4f100B;
+    background-color: #ab1226;
     visibility: hidden;
     -webkit-transform: scaleX(0);
     transform: scaleX(0);

+ 0 - 6
user/themes/anissabensalah/scss/theme/section.scss

@@ -229,12 +229,6 @@
             top: 50%;
             transform: translateX(-50%) translateY(-50%);
             left:50%;
-            .other{
-              p:nth-child(1){
-                font-size: 1.5rem;
-                margin-bottom: 50px;
-              }
-            }
           }
         }
       }

+ 7 - 8
user/themes/anissabensalah/templates/modular/submodular.html.twig

@@ -9,17 +9,19 @@
 
       <div class="chap">
         <h2>{{page.title|upper}}</h2>
-
+        {% if header.sous_title %}
+          <p>{{header.sous_title}}</p>
+        {% endif %}
         {% for module in page.collection() %}
           <!-- <a href="#{{module.title}}">{{module.title|upper}}</a> -->
         {% endfor %}
 
         <div class="reso">
-          <a href="https://www.facebook.com/entreicietailleurs?ref=br_rs" target="_blank">
-            <img src="user/themes/anissabensalah/images/fb.svg" alt="">
+          <a href="https://www.facebook.com/anissabensalah.officiel/" target="_blank">
+            <img src="/user/themes/anissabensalah/images/fb.svg" alt="">
           </a>
-          <a href="https://www.youtube.com/watch?v=atTcasPy3JY" target="_blank">
-            <img src="user/themes/anissabensalah/images/yt.svg" alt="" >
+          <a href="https://www.youtube.com/channel/UCVKInDwZs0LdeJ-4srpUFuQ" target="_blank">
+            <img src="/user/themes/anissabensalah/images/yt.svg" alt="" >
           </a>
         </div>
       </div>
@@ -28,10 +30,7 @@
 
     <div class="column content" data-midnight=black>
       {% for module in page.collection() %}
-
-
           {{ module.content }}
-
       {% endfor %}
     </div>
 

Some files were not shown because too many files changed in this diff