2023-03-25 17:12:51 +00:00
|
|
|
|
|
|
|
.media-slideshow-frame {
|
|
|
|
height: 360px;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2023-03-26 22:26:38 +00:00
|
|
|
border-radius: 15px;
|
2023-03-25 17:12:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-slideshow-photo {
|
|
|
|
object-fit: cover;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: none;
|
2023-03-26 22:26:38 +00:00
|
|
|
border-radius: 15px;
|
2023-03-25 17:12:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-slideshow-video {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: none;
|
|
|
|
object-fit: cover;
|
2023-03-26 22:26:38 +00:00
|
|
|
border-radius: 15px;
|
2023-03-25 17:12:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.media-slideshow-arrow-left {
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
width: auto;
|
|
|
|
margin-top: -22px;
|
|
|
|
padding: 16px;
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 18px;
|
|
|
|
transition: 0.6s ease;
|
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
user-select: none;
|
|
|
|
transition: 0.6s ease;
|
|
|
|
}
|
|
|
|
.media-slideshow-arrow-right {
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
width: auto;
|
|
|
|
margin-top: -22px;
|
|
|
|
padding: 16px;
|
|
|
|
color: white;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 18px;
|
|
|
|
transition: 0.6s ease;
|
|
|
|
border-radius: 0 3px 3px 0;
|
|
|
|
user-select: none;
|
|
|
|
right: 0;
|
|
|
|
border-radius: 3px 0 0 3px;
|
|
|
|
transition: 0.6s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media-slideshow-arrow-left:hover, .media-slideshow-arrow-right:hover {
|
|
|
|
background-color: rgba(0,0,0,0.8);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Number text (1/3 etc) */
|
|
|
|
.media-slideshow-number-text {
|
|
|
|
color: #f2f2f2;
|
|
|
|
font-size: 12px;
|
|
|
|
padding: 8px 12px;
|
|
|
|
position: absolute;
|
2023-03-26 22:26:38 +00:00
|
|
|
top: 10px;
|
|
|
|
left: 10px;
|
|
|
|
background-color: rgba(0, 0, 0, 0.633);
|
|
|
|
border-radius: 5px;
|
2023-03-27 10:30:13 +00:00
|
|
|
}
|
2023-03-25 17:12:51 +00:00
|
|
|
|
|
|
|
/* Fading animation */
|
|
|
|
.fade {
|
|
|
|
animation-name: fade;
|
|
|
|
animation-duration: 1.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fade {
|
|
|
|
from {opacity: .4}
|
|
|
|
to {opacity: 1}
|
2023-04-13 13:19:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Desktop view */
|
|
|
|
@media only screen and (min-width: 750px) {
|
|
|
|
.media-slideshow-frame {
|
|
|
|
height: 55vw;
|
|
|
|
max-height: 550px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Desktop view */
|
|
|
|
@media only screen and (min-width: 1200px) {
|
|
|
|
|
|
|
|
}
|