Bei Index Galerie-Pfeile angepasst

This commit is contained in:
Ysabelle Moser 2026-04-30 09:19:36 +02:00
parent cb53b91afa
commit 8e9ad95ac1
2 changed files with 24 additions and 18 deletions

View File

@ -210,9 +210,9 @@
.gallery__carousel { .gallery__carousel {
display: grid; display: grid;
grid-template-columns: 42px minmax(0, 1fr) 42px; grid-template-columns: 46px minmax(0, 1fr) 46px;
align-items: center; align-items: center;
column-gap: 10px; column-gap: 6px;
margin-bottom: 30px; margin-bottom: 30px;
} }
@ -292,17 +292,17 @@
.gallery__arrow { .gallery__arrow {
display: grid; display: grid;
width: 34px; width: 46px;
height: 34px; height: 46px;
border: 0; border: 0;
background: #c8cb63; background: transparent;
border-radius: 999px; border-radius: 999px;
font-family: var(--font-main); font-family: var(--font-main);
font-weight: 400; font-weight: 400;
font-size: 1.45rem; font-size: 2.45rem;
place-items: center; place-items: center;
z-index: 2; z-index: 2;
color: var(--olive-dark); color: var(--olive);
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
@ -311,9 +311,9 @@
.gallery__arrow:hover, .gallery__arrow:hover,
.gallery__arrow:focus-visible { .gallery__arrow:focus-visible {
color: var(--olive-dark); color: var(--olive-light);
background: #d9dc78; background: transparent;
transform: scale(1.04); transform: scale(1.1);
} }
.gallery__arrow--prev { .gallery__arrow--prev {
@ -345,9 +345,15 @@
transition: background 0.25s ease, transform 0.2s ease; transition: background 0.25s ease, transform 0.2s ease;
} }
.gallery_dot:hover, .gallery_dot:not(.gallery_dot--active):hover {
background: var(--olive-light);
border-color: var(--olive-light);
transform: scale(1.2);
}
.gallery_dot--active { .gallery_dot--active {
background: var(--olive); background: var(--olive);
border-color: var(--olive);
transform: scale(1.2); transform: scale(1.2);
} }
@ -358,14 +364,14 @@
@media (max-width: 900px) { @media (max-width: 900px) {
.gallery__carousel { .gallery__carousel {
grid-template-columns: 34px minmax(0, 1fr) 34px; grid-template-columns: 38px minmax(0, 1fr) 38px;
column-gap: 8px; column-gap: 5px;
} }
.gallery__arrow { .gallery__arrow {
width: 30px; width: 38px;
height: 30px; height: 38px;
font-size: 1.2rem; font-size: 1.95rem;
} }
.gallery__track { .gallery__track {

View File

@ -86,7 +86,7 @@
<p class="margin-bottom-16">#gemeinsam_invité auf Instagram</p> <p class="margin-bottom-16">#gemeinsam_invité auf Instagram</p>
<div class="gallery__carousel"> <div class="gallery__carousel">
<button type="button" class="gallery__arrow gallery__arrow--prev" aria-label="Vorheriges Bild"> <button type="button" class="gallery__arrow gallery__arrow--prev" aria-label="Vorheriges Bild">
<i class="fa-solid fa-arrow-left"></i> <i class="fa-solid fa-angle-left"></i>
</button> </button>
<div class="gallery__viewport"> <div class="gallery__viewport">
@ -216,7 +216,7 @@
</div> </div>
<button type="button" class="gallery__arrow gallery__arrow--next" aria-label="Nächstes Bild"> <button type="button" class="gallery__arrow gallery__arrow--next" aria-label="Nächstes Bild">
<i class="fa-solid fa-arrow-right"></i> <i class="fa-solid fa-angle-right"></i>
</button> </button>
</div> </div>