Browse Source

Merge branch 'master' of gogs-figureslibres.io:bachir/popsu-d9

bach 2 years ago
parent
commit
871e790157

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/popsu/assets/css/styles.min.css


+ 1 - 0
web/themes/custom/popsu/sass/pages/_node-evenement-actu.scss

@@ -44,6 +44,7 @@
 		#node\:field_programme{
 			grid-row: 1;
 			.field_programme{
+				
 				display: inline-block;
 				width: auto;
 				padding: .3rem .5rem;

+ 35 - 11
web/themes/custom/popsu/sass/pages/_themes.scss

@@ -151,7 +151,7 @@
         }
         .body_open{
             height: auto !important;
-            padding: 0 0 .8rem 0;
+            padding: 0 0 1.8rem 0;
             &:after{
                 opacity: 0;
                 -webkit-transition: all 250ms ease;
@@ -346,13 +346,13 @@
     #node\:field_partenaires{
         h2{
             //color: black;
-            font-family: "trueno";
-            font-size: 1rem;
-            font-weight: 600;
-            text-transform: initial;
-            margin-top: 1rem;
-            padding: .4rem 0;
-            border-top: 3px dotted gray;
+            // font-family: "trueno";
+            // font-size: 1rem;
+            // font-weight: 600;
+            // text-transform: initial;
+            // margin-top: 1rem;
+            // padding: .4rem 0;
+            // border-top: 3px dotted gray;
 
             cursor: pointer;
             display: grid;
@@ -381,7 +381,8 @@
             display: none;
             align-items: center;
             justify-items: center;
-            grid-template-columns: repeat(5 , 1fr);
+            // grid-template-columns: repeat(5 , 1fr);
+            grid-template-columns: repeat(2 , 1fr);
             .paragraph{
                 
                 .field_logo_partenaire{
@@ -391,7 +392,7 @@
                     grid-column: 1;
                     grid-row: 1;
                     img{
-                        max-width: 60%;
+                        max-width: 80%;
                     }
                 }
                 .field_nom_partenaire{
@@ -628,6 +629,9 @@
             text-align: center;
         }
         article{
+            background: white;
+            margin: 1rem;
+        padding: 1rem;
             a{
                 text-decoration: none;
             }
@@ -638,11 +642,27 @@
                 grid-row: 2;
                 text-align:left;
             }
+            .field_image{
+                padding-bottom: 100%;
+                position: relative;
+                a{
+                    position: absolute;
+                    height: 100%;
+                    width: 100%;
+                    img{
+                        width: 100%;
+                        height: 100%;
+                        object-fit: contain;
+                    }
+                }
+            }
             .field_programme{
                 grid-row:1;
-                margin-bottom: -.8rem;
+                margin-top: -1.8rem;
+                margin-bottom: .5rem;
                 z-index: 8;
                 &>div{
+                    
                     display: inline-block;
                     width: auto;
 				    padding: .3rem .5rem;
@@ -655,8 +675,12 @@
             .field_type_de_ressource{
                 grid-row: 3;
             }
+            .field_sous_titre{
+                grid-row: 4;
+            }
             &>div{
                 display: grid;
+                grid-column: 1 / span 2 ;
             }
         }
     }

+ 4 - 0
web/themes/custom/popsu/sass/setup/_globals.scss

@@ -77,6 +77,10 @@ body{
 		}
 	}
 }
+.slick-track{
+display: flex;
+align-items: center;
+}
 main{
 	h2{
 		text-transform: uppercase;

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