aboutsummaryrefslogblamecommitdiff
path: root/static/css/carousel.css
blob: d1505e137fadda261515b497f91d6ba8b00741d9 (plain) (tree)















































                                                     
/* File: carousel.css */

.carousel {
    width: 100%;
    max-width: 46rem; /* As per your specification */
    margin: 0 auto;
}

.carousel-main-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.carousel-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-vignettes {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.vignette {
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex: 0 0 auto;
}

.vignette:hover {
    opacity: 0.8;
}

.vignette.active {
    border: 2px solid #007bff;
}

.vignette img {
    display: block;
    width: 120px;
    height: 80px;
    object-fit: cover;
}