/home/vianto5/haciendasanpancho.mx/sliders/amenidades
Edit: /home/vianto5/haciendasanpancho.mx/sliders/amenidades/style.css (3356B)
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
font-family: "Proxima Nova", Sans-serif;
font-weight: 300;
min-height: 100vh;
overflow: hidden;
}
::-webkit-scrollbar {
display: none;
}
.container {
max-width: 100%;
width: 100%;
}
.slider-wrapper {
position: relative;
}
.slider-wrapper .slide-button {
position: fixed;
width: 38px;
height: 36px;
color: #000;
background: #fff;
font-size: 20px;
cursor: pointer;
border: none;
border-radius: 3px;
top: 37vw;
z-index: 1;
transition: all 300ms;
}
.slider-wrapper .slide-button#prev-slide {
right: 66px;
}
.slider-wrapper .slide-button#next-slide {
right: 0px;
}
.slider-wrapper .image-list {
display: grid;
gap: 8px;
font-size: 0;
overflow-x: auto;
scrollbar-width: none;
grid-template-columns: repeat(6, 1fr);
}
.fade-in {
animation: fadeIn 1s ease-out forwards;
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.slider-wrapper .image-list .image-item {
width: 33vw;
height: 33.5vw;
object-fit: cover;
border-radius: 24px;
}
.slider-wrapper .image-list2 .vacio {
width: 430px;
}
.slider-wrapper .amenitie-title{
/* display: flex;
position: sticky; */
margin: 24px auto;
}
.slider-wrapper .amenitie-title p{
font-family: "Raleway", Helvetica, Arial, sans-serif;
font-size: 22px;
text-transform: uppercase;
text-align: center;
padding: 0 24px;
}
.slider-wrapper .amenitie-title img{
width: 20px;
margin: 0 10px;
}
.container .slider-scrollbar {
height: 24px;
width: 90%;
display: flex;
align-items: center;
margin-top: 60px;
margin-left: 5%;
}
.slider-scrollbar .scrollbar-track {
display: none;
height: 4px;
width: 100%;
background: #d9d9d9;
position: relative;
border-radius: 4px;
}
.slider-scrollbar:hover .scrollbar-track {
height: 5px;
}
.slider-scrollbar .scrollbar-thumb {
position: absolute;
height: 100%;
width: 25%;
background: #919191;
border-radius: 4px;
cursor: grab;
}
.slider-scrollbar .scrollbar-thumb:active {
cursor: grabbing;
height: 5px;
top: -1px;
}
.slider-scrollbar .scrollbar-thumb::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: -10px;
bottom: -10px;
}
@media screen and (max-width:480px) {
body {
min-height: auto;
margin: 0;
}
.fade-in {
animation: none;
}
.slider-wrapper .image-list .image-item {
width: 180px;
height: 180px;
}
.slider-wrapper .amenitie-title {
margin: 8px 0;
}
.slider-wrapper .amenitie-title p {
font-size: 16px;
}
.slider-wrapper .slide-button {
width: 25px;
height: 25px;
top: 232px;
}
.slider-wrapper .slide-button#prev-slide {
left: 40%;
}
.slider-wrapper .slide-button#next-slide {
right: 40%;
}
/* .slider-wrapper .slide-button {
display: none;
}
.slider-scrollbar .scrollbar-track {
display: inherit;
}
.container .slider-scrollbar {
width: 70%;
margin: 5% 15% 0 15%;
} */
}