twig /lesprojets .islaureat

This commit is contained in:
2025-11-28 11:43:45 +01:00
parent 863f248656
commit 2b03838407
3 changed files with 13 additions and 10 deletions

View File

@@ -169,18 +169,18 @@ 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)){
&.is-laureat{
z-index: 0;
}
&:has(.laureat:not(:empty))::before {
&.is-laureat::before {
content: "";
position: absolute;
// display: block;
top:-1.3rem;
left: -1.3rem;
top:-1rem;
left: -1.5rem;
width: 2.5rem;
height: 2.5rem;
// background-color: #f6f7f3;