Spaces:
Running

alexandraiui / library.css
arkankau's picture
Update library.css
b8ca2a7 verified
Raw History Blame Contribute Delete
1.39 kB
/* Library Section */
#library {
padding: 50px 0;
text-align: center;
}
.library-container {
padding: 20px;
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.library-list {
display: flex;
flex-wrap: nowrap; /* Prevent thumbnails from wrapping to the next line */
gap: 20px; /* Add space between thumbnails */
overflow-x: auto; /* Enable horizontal scrolling if thumbnails exceed the container width */
justify-content: center;
}
.library-layer {
display: flex;
flex-direction: column;
gap: 10px;
text-align: center;
}
.library-item:hover img {
transform: scale(1.05); /* Slight zoom effect on hover */
}
.sub-title{
font-size: 24px; /* Adjust font size if needed */
font-weight: bold; /* Make the text bold */
}
.library-item {
background: #262626;
padding: 15px;
margin: 10px;
border-radius: 8px;
display: inline-block;
width: 200px;
vertical-align: top;
text-align: center;
}
.library-item img {
width: 100%;
border-radius: 6px;
transition: transform 0.3s ease;
}
.library-item h3 {
margin: 10px 0 5px;
}
.library-item a {
color: #c9900b;
text-decoration: none;
font-weight: bold;
}
.library-grid {
display: flex;
flex-wrap: wrap;
gap: 15px;
justify-content: center;
}