Changes on sidebar styles, and content of pages

This commit is contained in:
cagsun 2025-06-26 15:16:44 +02:00
parent 7ae4644893
commit e3cd2c7f00
22 changed files with 1014 additions and 49 deletions

View file

@ -0,0 +1,66 @@
.carousel {
max-width: 600px;
margin: 2rem auto;
text-align: center;
}
.viewport {
position: relative;
min-height: 300px;
}
.slide {
display: none;
}
.slide.active {
display: block;
}
.slide img {
width: 100%;
height: auto;
border-radius: 0.5rem;
}
.caption {
margin-top: 0.5rem;
font-size: 0.9rem;
color: #666;
}
.thumbnails {
margin-top: 1rem;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.5rem;
}
.thumbnailWrapper {
border: none;
background: none;
padding: 0;
cursor: pointer;
outline: none;
border-radius: 0.375rem;
transition: box-shadow 0.2s ease;
}
.thumbnail {
width: 60px;
height: 40px;
object-fit: cover;
border-radius: 0.375rem;
opacity: 0.8;
transition: opacity 0.2s ease;
}
.thumbnailWrapper:hover .thumbnail,
.thumbnailWrapper.activeThumbnail .thumbnail {
opacity: 1;
}
.activeThumbnail {
box-shadow: 0 0 0 2px #333;
}