60 lines
1.0 KiB
SCSS
60 lines
1.0 KiB
SCSS
//скроллбар
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(128, 128, 128, 0.5);
|
|
border-radius: 4px;
|
|
border: 2px solid transparent;
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(128, 128, 128, 0.7);
|
|
background-clip: padding-box;
|
|
}
|
|
|
|
* {
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(128, 128, 128, 0.5) transparent;
|
|
}
|
|
|
|
body {
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
}
|
|
|
|
//swiper
|
|
.swiper {
|
|
width: 100%;
|
|
height: calc(100dvh - 54px);
|
|
}
|
|
|
|
.swiper-slide {
|
|
text-align: center;
|
|
font-size: 18px;
|
|
background: #444;
|
|
|
|
/* Center slide text vertically */
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.swiper-slide img {
|
|
display: block;
|
|
width: 100%;
|
|
height: calc(100dvh - 54px);
|
|
object-fit: cover;
|
|
}
|
|
|
|
.swiper-pagination {
|
|
position: absolute;
|
|
bottom: 200px !important;
|
|
--swiper-pagination-bullet-size: 4px
|
|
} |