Update carousel info area: remove text, add Instagram icon and invite logo. Replace dots with center arrow navigation.

This commit is contained in:
Estelle Köhler committed 2026-03-29 18:36:46 +02:00
1 parent bd5142d54a
commit 9ffa0441bc
15 files changed
+199 -32

No files matched your search

+89 -14
View File
@@ -254,29 +254,104 @@ body {
}
}
/* Container for the 3 photos */
/* Carousel gallery */
.gallery__carousel {
position: relative;
}
.gallery__track {
display: grid;
grid-template-columns: repeat(3, 1fr);
display: flex;
gap: 20px;
overflow: hidden;
margin-bottom: 30px; /* Space between photos and dots */
scroll-behavior: smooth;
}
.gallery__item {
flex: 0 0 calc((100% - 40px) / 3);
min-width: calc((100% - 40px) / 3);
border-radius: 24px;
overflow: hidden;
background: #fff;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
aspect-ratio: 2 / 3;
}
.gallery__item img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.gallery__arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 999px;
background: rgba(255, 255, 255, 0.55);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.55);
color: #221c1a;
cursor: pointer;
transition: transform 0.2s ease, background-color 0.2s ease;
}
.gallery__arrow:hover {
transform: translateY(-50%) scale(1.05);
background: rgba(255, 255, 255, 0.8);
}
.gallery__arrow--prev {
left: 0;
}
.gallery__arrow--next {
right: 0;
}
/* Container for the dots to keep them in the middle */
.gallery__dots {
.gallery__center-arrow {
display: flex;
justify-content: center; /* This is the "magic" line that centers them */
gap: 12px; /* Space between the dots */
width: 100%;
justify-content: center;
align-items: center;
margin-bottom: 24px;
}
/* The actual black dots */
.dot {
width: 12px;
height: 12px;
background-color: #000; /* Solid black */
border-radius: 50%; /* Makes them round */
display: inline-block;
.gallery__arrow--center {
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 999px;
background: rgba(255, 255, 255, 0.55);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.55);
color: #221c1a;
cursor: pointer;
box-shadow: 0 2px 8px rgba(102, 52, 13, 0.08);
transition: transform 0.2s ease, background-color 0.2s ease;
}
.gallery__arrow--center:hover {
background: rgba(255, 255, 255, 0.8);
transform: scale(1.05);
}
@media (max-width: 900px) {
.gallery__track {
gap: 16px;
}
.gallery__item {
flex: 0 0 100%;
min-width: 100%;
}
}
/* --- 2. Button & Link Styling --- */