Skip to content

Commit c7fd40e

Browse files
fixed the blending in of the fliter section.
1 parent bd0cafb commit c7fd40e

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

script.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,3 +638,16 @@ entries.forEach((entry, index) => {
638638
}
639639
});
640640

641+
642+
const reviewSwiper = new Swiper(".review-swiper", {
643+
loop: true,
644+
autoplay: {
645+
delay: 4000, // 4 seconds per slide
646+
disableOnInteraction: false, // keeps autoplay after manual swipe
647+
},
648+
navigation: {
649+
nextEl: ".swiper-button-next",
650+
prevEl: ".swiper-button-prev",
651+
},
652+
speed: 700, // smooth transition
653+
});

style.css

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,30 @@
206206
margin-left: auto;
207207
margin-right: auto;
208208
}
209-
210-
/* Filter section */
211-
/* ---------- FILTERS SECTION ---------- */
209+
/* Light mode filters section */
212210
.filters {
213-
background: rgba(255, 255, 255, 0.05);
214-
backdrop-filter: blur(12px);
211+
background: inherit; /* same as page background */
212+
backdrop-filter: blur(14px);
213+
border-radius: 16px;
214+
padding: 25px;
215+
margin-top: 60px;
216+
border: 2px solid rgba(255, 255, 255, 0.7); /* glowing white border */
217+
box-shadow: 0 0 14px rgba(255, 255, 255, 0.6); /* white glow */
218+
}
219+
220+
/* Dark mode filters section */
221+
.dark-theme .filters {
222+
background: inherit;
223+
backdrop-filter: blur(14px);
215224
border-radius: 16px;
216225
padding: 25px;
217226
margin-top: 60px;
218-
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
227+
border: 2px solid rgba(255, 255, 255, 0.8);
228+
box-shadow: 0 0 18px rgba(255, 255, 255, 0.75); /* stronger white glow */
219229
}
220230

231+
232+
221233
.filters h2 {
222234
font-size: 1.5rem;
223235
font-weight: 700;

0 commit comments

Comments
 (0)