/home/vianto5/heredit.mx/sliders/cercanias
Edit: /home/vianto5/heredit.mx/sliders/cercanias/style-mob.css (2540B)
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
min-height: auto;
align-items: center;
justify-content: center;
overflow: hidden;
}
.container {
max-width: 100%;
width: 100%;
}
.slider-wrapper {
position: relative;
}
.slider-wrapper .slide-button {
position: fixed;
height: 50px;
width: 50px;
color: #000;
background: #fff;
font-size: 2.2rem;
cursor: pointer;
border: solid 1px #000;
border-radius: 3px;
top: 2%;
transition: all 300ms;
}
.slider-wrapper .slide-button:hover {
background: #B78B1E;
color: #fff;
border-color: #B78B1E;
}
.slider-wrapper .slide-button#prev-slide {
right: 75px;
}
.slider-wrapper .slide-button#next-slide {
right: 10px;
}
.slider-wrapper .image-list {
display: grid;
gap: 20px;
font-size: 0;
overflow-x: auto;
scrollbar-width: none;
grid-template-columns: repeat(5, 1fr);
margin-top: 3%;
margin-bottom: 15px;
}
.slider-wrapper .image-list .card {
width: 230px;
text-align: center;
padding: 0;
}
.slider-wrapper .image-list .image-item{
width: 200px;
height: 200px;
object-fit: cover;
margin-top: 30px;
margin-bottom: 30px;
border-radius: 50%;
}
.slider-wrapper .image-list .text-item {
color: #000;
font-family: 'Gotham';
font-size: 17px;
font-weight: 300;
line-height: 40px;
}
.slider-wrapper .image-list .button-redirect{
width: 100%;
height: 44px;
background: #6f7271;
color: #fff;
border: none;
border-radius: 4px;
font-size: 22px;
font-weight: 700;
transition: all 300ms;
}
.slider-wrapper .image-list .button-redirect:hover{
background: #B78B1E;
cursor: pointer;
}
.container .slider-scrollbar {
width: 70%;
height: 24px;
display: flex;
align-items: center;
margin: 0 15%;
}
.slider-scrollbar .scrollbar-track {
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: #B78B1E;
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;
}