This commit is contained in:
Philippe Torrel
2026-07-24 15:22:32 +02:00
parent e5c2f47063
commit 5d57c53e2c
54 changed files with 4275 additions and 95 deletions

View File

@@ -1,9 +1,20 @@
.header-main {
position: relative;
width: 100%;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
.content-box {
position: relative;
z-index: 2;
display: flex;
justify-content: center;
align-items: center;
width: auto;
margin: 0 auto;
height: 100%;
max-width: 360px;
max-height: 380px;
}
background: $color-3 url('../img/header-image.webp') center no-repeat;
background-size: cover;
@@ -20,6 +31,39 @@
}
}
}
.splide {
position: absolute;
z-index: 1;
height: 100%;
width: 100%;
top: 0;
overflow: hidden;
.splide__track {
height: 100%;
.splider-content {
&::after {
content: '';
position: absolute;
z-index: 1;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.2);
}
height: 100%;
padding: 0;
img {
object-fit: cover;
width: 100%;
height: 100%;
}
}
}
}
// .content-box {
// figure {
// width: 280px;