58 lines
894 B
CSS
58 lines
894 B
CSS
body {
|
|
font-family: 'Poppins', sans-serif;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* Container responsif */
|
|
.container {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.masonry-gallery {
|
|
column-count: 3;
|
|
column-gap: 1rem;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.masonry-gallery {
|
|
column-count: 2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.masonry-gallery {
|
|
column-count: 1;
|
|
}
|
|
}
|
|
|
|
.masonry-photo {
|
|
display: inline-block;
|
|
width: 100%;
|
|
margin-bottom: 1rem;
|
|
position: relative;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
break-inside: avoid;
|
|
}
|
|
|
|
.masonry-photo img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.download-btn {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
background-color: rgba(0, 0, 0, 0.6);
|
|
color: white;
|
|
padding: 6px 10px;
|
|
border-radius: 5px;
|
|
text-decoration: none;
|
|
z-index: 10;
|
|
}
|
|
|
|
|