nouveau-theatre-de-besancon/assets/css/src/swiper.css

63 lines
1 KiB
CSS
Raw Normal View History

2024-08-28 14:16:34 +02:00
#swiper {
2024-09-16 14:52:37 +02:00
position: sticky !important;
top: 7rem !important;
2024-08-28 14:16:34 +02:00
/* https://github.com/nolimits4web/swiper/issues/3599 */
width: 100%;
max-width: 100%;
2024-09-16 14:52:37 +02:00
max-height: 65vh;
2024-08-28 14:16:34 +02:00
min-height: 0;
min-width: 0;
/* Custom */
overflow: hidden;
position: relative;
}
2024-09-16 14:52:37 +02:00
.swiper-slide {
display: flex !important;
align-items: center;
}
/* nav buttons */
2024-08-28 14:16:34 +02:00
.swiper-button {
width: 50% !important;
height: 100% !important;
top: 0 !important;
2024-09-16 14:52:37 +02:00
z-index: 3 !important;
margin-top: 0 !important;
2024-09-19 15:14:28 +02:00
color: #fff !important;
2024-09-18 16:39:40 +02:00
font-size: 3rem !important;
2024-08-28 14:16:34 +02:00
}
2024-09-16 14:52:37 +02:00
.swiper-button-next:after,
.swiper-button-prev:after {
2024-08-28 14:16:34 +02:00
content: "" !important;
}
2024-09-16 14:52:37 +02:00
.swiper-button-prev {
justify-content: flex-start !important;
2024-08-28 14:16:34 +02:00
}
2024-09-18 16:39:40 +02:00
.swiper-button-next {
justify-content: flex-end !important;
}
2024-09-16 14:52:37 +02:00
.swiper-button img {
width: 2.5rem;
2024-08-28 14:16:34 +02:00
}
2024-09-10 16:55:01 +02:00
@media screen and (max-width: 800px) {
2024-09-16 14:52:37 +02:00
#swiper {
position: static !important;
}
2024-09-10 16:55:01 +02:00
#swiper picture {
height: 100%;
}
#swiper picture img {
object-fit: contain;
}
2024-09-16 14:52:37 +02:00
.swiper-button {
display: none !important;
}
2024-09-10 16:55:01 +02:00
}