77 lines
1.4 KiB
CSS
77 lines
1.4 KiB
CSS
/* Contenedor del carrusel */
|
|
.carousel-container {
|
|
position: relative;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
padding: 20px;
|
|
background: #f4f4f4;
|
|
}
|
|
|
|
/* Contenedor de conciertos con desplazamiento horizontal */
|
|
.contenedor-conciertos {
|
|
display: flex;
|
|
overflow-x: auto;
|
|
scroll-behavior: smooth;
|
|
gap: 15px;
|
|
padding: 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Ocultar scrollbar */
|
|
.contenedor-conciertos::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
/* Estilos para cada tarjeta de concierto */
|
|
.concierto {
|
|
background: white;
|
|
padding: 15px;
|
|
border-radius: 10px;
|
|
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
|
|
text-align: center;
|
|
width: 250px;
|
|
flex-shrink: 0; /* Evita que se reduzcan de tamaño */
|
|
}
|
|
|
|
/* Botones de desplazamiento */
|
|
.scroll-btn {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
cursor: pointer;
|
|
font-size: 20px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.scroll-btn:hover {
|
|
background-color: rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
.scroll-btn.left {
|
|
left: 10px;
|
|
}
|
|
|
|
.scroll-btn.right {
|
|
right: 10px;
|
|
}
|
|
|
|
.btn-volver {
|
|
display: inline-block;
|
|
background-color: #008cba;
|
|
color: white;
|
|
padding: 10px 15px;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
font-weight: bold;
|
|
margin-bottom: 15px;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
.btn-volver:hover {
|
|
background-color: #005f7f;
|
|
}
|