css sous-titre-actu dans home

This commit is contained in:
2022-01-07 17:31:36 +01:00
parent f0864e50c5
commit aec0e278e0
2 changed files with 30 additions and 15 deletions
+14 -3
View File
@@ -357,11 +357,12 @@
div:first-child{ // block actu dans le bandeau
display: flex;
flex-direction: column;
:nth-child(1) { order: 1; }
:nth-child(4) { order: 2; }
:nth-child(5) { order: 3; }
// :nth-child(1) { order: 1; }
// :nth-child(4) { order: 2; }
// :nth-child(5) { order: 3; }
}
.field--name-field-images {
order: 1;
.field__item img{
max-width: 95%;
max-height: 150px;
@@ -372,6 +373,7 @@
}
.field--name-field-date{
order: 2;
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
@@ -392,6 +394,14 @@
}
}
.field--name-title{
order:3;
}
.field--name-field-sous-titre{
order:4;
margin-top: 0.3rem;
font-weight: 800;
}
.field:not(.field--name-field-images){
width: 100%;
@@ -410,6 +420,7 @@
}
}
.field--name-field-actu-type{
order:5;
padding-top: 1rem;
}
}