SAEWEB2.2/ci/assets/album.css

43 lines
745 B
CSS
Raw Normal View History

2024-05-30 10:05:37 +02:00
/* assets/albums_style.css */
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 auto;
padding: 20px;
}
.album {
box-sizing: border-box;
width: 18%;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 10px;
padding: 10px;
text-align: center;
background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.album img {
max-width: 100%;
height: auto;
border-bottom: 1px solid #ccc;
margin-bottom: 10px;
border-radius: 10px 10px 0 0;
}
.album-title {
font-size: 1.2em;
font-weight: bold;
color: #333;
margin-top: 10px;
}
.album:hover {
transform: scale(1.05);
}