Browse Source

#1625 ajustement des ressources

armansansd 3 years ago
parent
commit
00f4ec5e38

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


+ 25 - 14
web/themes/custom/popsu/sass/pages/_ressources.scss

@@ -621,7 +621,8 @@
             font-weight: 300;
 			font-style: italic;
             margin-bottom: 1rem;
-			grid-row: 3;
+			//grid-row: 3;
+			grid-row: auto / span 1;
 			grid-column: 4 / span 6;
 			
 			margin: 0;
@@ -634,7 +635,8 @@
 			
 		}
 		#node\:field_auteurs{
-			grid-row: 2;
+			//grid-row: 2;
+			grid-row: auto / span 1;
 			grid-column: 4 / span 6;
 			// margin-top: 2rem;
 			.field_auteurs{
@@ -649,37 +651,46 @@
 		#node\:field_videos{
 			margin-top: 2rem;
 			grid-column: 1 / span 10;
-			grid-row: 6;
-		}
-		#node\:field_theme{
-			grid-column: 4 / span 6;
-			grid-row: 5;
-			a{
-				text-decoration: none;
-			}
+			// grid-row: 6;
+			grid-row: auto / span 1;
 		}
+		
 		#node\:field_type_de_ressource{
-			grid-row: 1;
+			// grid-row: 1;
+			grid-row: auto / span 1;
 			grid-column: 4/ span 6 ;
 			font-weight: 600;
 			align-self: start;
 			padding: .3rem .5rem;
+			text-transform: uppercase;
 		}
 		#node\:field_programme{
 			margin-bottom: 1rem;
-			grid-row: 1;
+			// grid-row: 1;
+			grid-row: auto / span 1;
 			grid-column: 1 / span 3;
 		}
 		#node\:field_date_de_parution{
-			grid-row: 4;
+			//grid-row: 4;
+			grid-row: auto / span 1;
 			grid-column: 4/ span 6 ;
 			font-size: $font-medium;
 		}
 		#node\:field_collections{
-			grid-row: 5;
+			//grid-row: 5;
+			grid-row: auto / span 1;
 			grid-column: 4 / span 6;
 			font-size: $font-medium;
 		}
+		#node\:field_theme{
+			grid-column: 4 / span 6;
+			//grid-row: 6;
+			grid-row: auto / span 2;
+			align-self: end;
+			a{
+				text-decoration: none;
+			}
+		}
     }
 	.block-region-third{
 		#node\:field_lien{

+ 6 - 0
web/themes/custom/popsu/sass/pages/_themes.scss

@@ -663,6 +663,12 @@
         // h2{
         //     text-align: center;
         // }
+        &>h2{
+            text-align: center;
+        }
+        .field_ressources_liees{
+            background: $trame;
+        }
         article{
             a{
                 text-decoration: none;

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