badge lauréat sur /lesprojets
This commit is contained in:
@@ -113,9 +113,7 @@ main{
|
||||
margin-right: 0;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
:hover{
|
||||
|
||||
}
|
||||
|
||||
.field-content{
|
||||
ul{
|
||||
display: flex;
|
||||
@@ -130,11 +128,33 @@ main{
|
||||
transition: transform 0.4s ease-in-out; // animation plus fluide
|
||||
&:hover {
|
||||
transform: scale(1.05); /* effet de zoom léger */
|
||||
}
|
||||
}
|
||||
position: relative;
|
||||
&:has(.laureat:not(:empty)){
|
||||
z-index: 0;
|
||||
|
||||
}
|
||||
&:has(.laureat:not(:empty))::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
// display: block;
|
||||
top: -1rem;
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
}
|
||||
.field_field_image{
|
||||
order: 2;
|
||||
@@ -151,6 +171,7 @@ main{
|
||||
|
||||
.field_field_laureats{
|
||||
order: 1;
|
||||
font-size: 0px;
|
||||
}
|
||||
.field_field_nom_de_l_equipe{
|
||||
order: 3;
|
||||
|
||||
Reference in New Issue
Block a user