js affichage bandeau ressources

This commit is contained in:
2025-05-20 11:02:06 +02:00
parent bf005f69a6
commit 091f946b30
5 changed files with 80 additions and 44 deletions
@@ -10,7 +10,13 @@
width: 100%;
margin: auto;
#block-contenudelapageprincipale{
h2{
font-size: 5rem;
color: $blue-dark;
font-weight: 400;
text-align: center;
margin-bottom: 1rem;
}
.layout--onecol{
.layout__region--content{
.block-region-content{
@@ -46,7 +52,7 @@
.field--name-field-introduction{
margin: auto;
background: $white;
margin-top:5rem;
// margin-top:5rem;
@media (max-width: 479px){
margin-top:1rem;
}
@@ -122,7 +128,6 @@
top: 9rem;
left: 0;
background-color: $white;
margin-top: 2rem;
margin-bottom: 5rem;
padding: 1rem;
padding-left: 2rem;
@@ -151,7 +156,7 @@
flex-direction: row;
flex-wrap: wrap;
width: 100%;
.view-type-ressource-slide:not(footer){
.view-type-slide:not(footer){
width: 100%;
position: relative;
z-index: 0;
@@ -179,7 +184,7 @@
flex-direction: row;
align-items: center;
}
h3.type-productions-du-programme-engages-pour-la-qualite-du-logement-de-demain a{
h3.type-publication-issue-du-programme-eqld a{
&:before{
content:url("../images/pictos/picto-ressource-eqld.svg");
padding-right: 1rem;
@@ -241,7 +246,7 @@
}
.view-type-ressource-slide:has(.type-productions-du-programme-engages-pour-la-qualite-du-logement-de-demain){
.view-type-slide:has(.type-publication-issue-du-programme-eqld){
&::before{
background-color: $background-actus;}
}
@@ -7,7 +7,7 @@
svg.ext{
display: none;
}
&.type-de-ressource-Productions-du-programme-Engagés-pour-la-qualité-du-logement-de-demain{
&.type-de-ressource-Publication-issue-du-programme-EQLD{
// background-color: $background-actus;
.wrapper-ressource{
display: grid;