This commit is contained in:
armansansd 2021-10-21 10:51:28 +02:00
parent 582191ece9
commit b110686366
3 changed files with 37 additions and 12 deletions

File diff suppressed because one or more lines are too long

View File

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

View File

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