SAEWEB2.2/ci/assets/album.css

43 lines
737 B
CSS
Raw Normal View History

2024-05-30 10:05:37 +02:00
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 0 auto;
padding: 20px;
}
.album {
box-sizing: border-box;
width: 18%;
2024-05-30 10:05:37 +02:00
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 10px;
padding: 10px;
margin-top: 50px;
2024-05-30 10:05:37 +02:00
text-align: center;
background-color: #f9f9f9;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.album img {
2024-06-05 13:51:23 +02:00
max-width: 80%;
2024-05-30 10:05:37 +02:00
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);
}