badge lauréat sur page site

This commit is contained in:
2025-11-07 15:06:37 +01:00
parent a614f52cdf
commit 8b8f8945ed
18 changed files with 260 additions and 30 deletions

View File

@@ -301,6 +301,7 @@
.field_field_laureats{
color: red;
text-transform: uppercase;
content: url('/web/themes/custom/quartiers_de_demain/dist/assets/img/LAUREAT.png');
}
}

View File

@@ -394,27 +394,63 @@
text-transform: uppercase;
font-size: 0.5rem;
}
.field_field_nom_de_l_equipe{
width: 80%;
border-bottom: solid black 1px;
font-size: 0.6rem;
p{
font-family: "gilroy-semibold";
margin-bottom: 0.5rem;
font-size: 0.6rem;
.node-type-projet {
position: relative;
&:has(.laureat:not(:empty)){
padding-top: 1.5rem;
}
div.more-link{
margin-bottom: 1rem;
padding-left: 0rem;
a{
font-size: 0.5rem;
&:has(.laureat:not(:empty))::before {
content: "";
position: absolute;
// display: block;
top: 0; // adapte la position selon ton visuel
left: -1rem;
width: 2.5rem;
height: 2.5rem;
background-color: #f6f7f3;
background-image: url("../img/LAUREAT.svg");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
z-index: -1;
margin-top: 0.3rem;
}
.field_field_nom_de_l_equipe{
width: 80%;
padding-left: 0.5rem;
font-size: 0.6rem;
background-color: #f6f7f3;
div{
border-bottom: solid black 1px;
}
p{
font-family: "gilroy-semibold";
margin-bottom: 0.5rem;
font-size: 0.6rem;
margin-top: 0.2rem;
}
div.more-link{
margin-bottom: 1rem;
padding-left: 0rem;
a{
font-size: 0.5rem;
}
}
}
}
.field_field_laureats{
color: red;
text-transform: uppercase;
}
.field_field_laureats{
color:$red_QDD;
text-transform: uppercase;
display: inline-flex;
align-items: flex-start;
height: auto;
font-size: 0px;
}
}
}
.prevnext{