This commit is contained in:
armansansd
2023-02-14 16:43:06 +00:00
parent 266e80b11e
commit 1aff6d9e2e
4 changed files with 97 additions and 36 deletions

View File

@@ -38,39 +38,6 @@
}
.page-node-type-programme{
//spec pour partenaire programme exode
.field_partenaires > div {
display: grid;
align-items: center;
justify-items: center;
// grid-template-columns: repeat(5 , 1fr);
grid-template-columns: repeat(4 , 1fr);
margin-top: 0.5rem;
.paragraph{
.field_logo_partenaire{
div:first-child{
display: none;
}
grid-column: 1;
grid-row: 1;
img{
max-width: 80%;
}
}
.field_nom_partenaire{
display: none;
div:first-child{
display: none;
}
grid-column: 2;
grid-row: 1;
}
}
}
//end spec
&.programme-2,&.programme-3,&.programme-4{
#programme_toc-block_5{
display: none;
@@ -971,5 +938,83 @@
}
}
}
.field_partenaires{
.field_titre{
font-size: $font-big;
font-weight: 600;
text-transform: initial;
cursor: pointer;
display: grid;
grid-template-columns: 95% 5%;
align-content: center;
border-bottom: 3px dotted gray;
padding: 1rem 0;
}
.field_titre:after{
content: '';
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
-o-transition: all 250ms ease;
transition: all 250ms ease;
align-self: center;
justify-self: center;
}
.rotate:after{
transform: rotate(180deg);
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
-o-transition: all 250ms ease;
transition: all 250ms ease;
}
.field_texte{
height: auto;
position: relative;
h2{
text-transform: inherit;
}
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
-o-transition: all 250ms ease;
transition: all 250ms ease;
}
.field_texte{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-column-gap: 20px;
margin-top: 1rem;
}
.field_logo_partenaire{
div:first-child{
display: none;
}
grid-column: 1;
grid-row: 1;
img{
max-width: 80%;
}
}
.field_nom_partenaire{
display: none;
div:first-child{
display: none;
}
grid-column: 2;
grid-row: 1;
}
.crop{
height: 0;
overflow: hidden;
display: none;
-webkit-transition: all 250ms ease;
-moz-transition: all 250ms ease;
-o-transition: all 250ms ease;
transition: all 250ms ease;
}
}
}
}