This commit is contained in:
2025-11-25 15:03:21 +01:00
parent f0f9ad9455
commit bf71300dfe
3 changed files with 20 additions and 14 deletions

View File

@@ -56,7 +56,10 @@ main{
margin-bottom: 2rem;
font-size: 0.4rem;
position: relative;
transition: transform 0.4s ease-in-out;
&:hover {
transform: scale(1.05);
}
&::before {
content: "";
position: absolute;
@@ -107,6 +110,7 @@ main{
object-fit: cover;
}
.views-field-view-node{
visibility: hidden;
width: fit-content;
padding-left: 0.5rem;
background: black;

View File

@@ -135,7 +135,6 @@
left: 0.5rem;
width: 2.5rem;
height: 2.5rem;
// background-color: #f6f7f3;
background-image: url("../img/laureat-ouvert.svg");
background-repeat: no-repeat;
background-position: center;
@@ -153,11 +152,11 @@
padding-bottom: 0.5rem;
}
.field_field_infos{
column-count: 3; /* 3 colonnes */
column-gap: 1.5rem; /* espace entre les colonnes */
column-count: 3;
column-gap: 1.5rem;
.infos-projet{
break-inside: avoid; /* évite quun bloc soit coupé entre deux colonnes */
margin-bottom: 0.5rem !important; /* petit espace entre les blocs */
break-inside: avoid;
margin-bottom: 0.5rem !important;
margin: 0;
h4{
margin: 0;
@@ -204,10 +203,9 @@
opacity 0.8s ease;
}
/* Quand ouvert */
.field_field_equipe_photo.is-open,
.field_field_equipe_presentation.is-open {
max-height: 1000px; /* assez grand pour contenir le contenu */
max-height: 1000px;
opacity: 1;
}