79 lines
1.3 KiB
CSS
Executable File
79 lines
1.3 KiB
CSS
Executable File
.swiper-container {
|
|
width: 100%;
|
|
height: 100vh;
|
|
position: relative;
|
|
}
|
|
|
|
.slider {
|
|
min-height: 50vh;
|
|
}
|
|
|
|
.slider .swiper-slide {
|
|
background: none;
|
|
overflow: hidden !important;
|
|
position: relative;
|
|
height: 100%;
|
|
text-align: start;
|
|
font-size: 18px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.slider .swiper-slide .slide-inner {
|
|
width: 100%;
|
|
height: 100vh;
|
|
background-color: #000;
|
|
}
|
|
|
|
.slider .swiper-slide .slide-img {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: -1;
|
|
bottom: 0;
|
|
margin: auto;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.swiper-pagination-bullet {
|
|
background-color: rgba(0, 0, 0, 0); /* alpha 0 */
|
|
}
|
|
|
|
.swiper-pagination {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.1rem;
|
|
justify-content: center;
|
|
width: 7em;
|
|
position: absolute;
|
|
z-index: 3;
|
|
right: 0;
|
|
}
|
|
|
|
.swiper-pagination span {
|
|
margin-bottom: 3em;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 0.8rem;
|
|
letter-spacing: 0.07em;
|
|
color: #000;
|
|
}
|
|
|
|
.swiper-pagination span:focus {
|
|
outline: none;
|
|
}
|
|
|
|
#content {
|
|
text-align: center;
|
|
color: white;
|
|
padding: 200px 0;
|
|
background: #002020;
|
|
}
|
|
|
|
.slide-img {
|
|
filter: brightness(40%)
|
|
}
|
|
|