Styling the Carousel App With index.css
Styling the Carousel App With index.css
In index.css, paste this styling to support all components and maintain the Gen-Z black+cyan theme:
body {
margin: 0;
font-family: "Segoe UI", sans-serif;
background-color: #000;
color: #fff;
text-align: center;
padding: 0 2rem 2rem;
}
.title {
font-size: 2.2rem;
margin: 0 0 1.5rem;
color: #00eaff;
font-weight: bold;
letter-spacing: 0.5px;
}
.app-container {
max-width: 800px;
margin: 0 auto;
}
.carousel {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
}
.image-container {
width: 700px;
height: 450px;
border-radius: 2rem;
overflow: hidden;
border: 4px solid #00eaff;
display: flex;
align-items: center;
justify-content: center;
background-color: #111;
}
.carousel-image {
width: 100%;
height: 100%;
object-fit: contain;
}
.nav-button {
font-size: 2rem;
background: transparent;
border: none;
color: #00eaff;
cursor: pointer;
transition: transform 0.2s ease;
}
.nav-button:hover {
transform: scale(1.2);
}
.footer {
margin-top: 2rem;
font-size: 1rem;
color: #aaa;
}
.footer a {
color: #00eaff;
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
.thumbnail-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 1.5rem;
gap: 0.7rem;
}
.thumbnail {
width: 70px;
height: 70px;
border-radius: 0.5rem;
object-fit: cover;
cursor: pointer;
opacity: 0.6;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.thumbnail:hover {
opacity: 1;
transform: scale(1.05);
}
.thumbnail.active {
border: 2px solid #00eaff;
opacity: 1;
}

