line fill width and swiper buttons size
This commit is contained in:
10
assests/images/about-banner-img.svg
Normal file
10
assests/images/about-banner-img.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 744 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 558 KiB After Width: | Height: | Size: 549 B |
@@ -1058,7 +1058,7 @@ span.textaccor {
|
||||
|
||||
/* about hero*/
|
||||
.hero_banner {
|
||||
background: url("../assests/images/about-banner-img.png") no-repeat;
|
||||
background: url("../assests/images/about-banner-img.svg") no-repeat;
|
||||
background-position: center;
|
||||
background-size: cover;
|
||||
height: 420px;
|
||||
@@ -1371,7 +1371,14 @@ span.textaccor {
|
||||
.swiper-button-next {
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
color: #fff;
|
||||
color:#b18c4a ;
|
||||
|
||||
}
|
||||
|
||||
/* Resize the arrow icons themselves */
|
||||
.swiper-button-prev::after,
|
||||
.swiper-button-next::after {
|
||||
font-size: 25px; /* control actual arrow size */
|
||||
}
|
||||
|
||||
.swiper-button-prev {
|
||||
|
||||
@@ -128,7 +128,7 @@ function initTimelineSwiper() {
|
||||
timelineItems.forEach((item, i) => {
|
||||
item.classList.toggle("active", i === index);
|
||||
});
|
||||
const timelineWidth = document.querySelector(".timeline").offsetWidth - 10;
|
||||
const timelineWidth = document.querySelector(".timeline").offsetWidth - 20;
|
||||
const newWidth = (timelineWidth / (totalKites - 1)) * index;
|
||||
if (lineFill) lineFill.style.width = newWidth + "px";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user