feat: add more customizations

This commit is contained in:
MrRaph_
2025-05-23 11:34:40 +00:00
parent b19dcfc0c7
commit 356ea8df9c
2 changed files with 220 additions and 6 deletions

View File

@@ -1,11 +1,20 @@
/* css/style.css */
.elementor-category-grid .category-card {
position: relative;
overflow: hidden;
}
/* pseudo-élément overlay */
.elementor-category-grid .category-card::before {
content: "";
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
background-color: transparent;
transition: opacity .3s ease;
pointer-events: none; /* laisse passer le clic */
}
/* 1) Mise en place de la grille */
/* .elementor-category-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
} */
.elementor-category-grid {
display: grid;
gap: 1rem;
@@ -25,7 +34,7 @@
overflow: hidden;
height: 0;
padding-bottom: 40%; /* ratio 5:2 ajustez selon vos images */
border-radius: 8px;
/* border-radius: 8px; */
}
/* 3) Image pleine carte */