photo_server_json_flutter_c.../public/css/gallery.css
2026-02-26 13:39:45 +01:00

46 lines
857 B
CSS

.gallery {
display: block;
padding: 6px; /* più stretto */
}
.gallery-section-title {
font-size: 18px;
font-weight: 600;
margin: 18px 6px 6px; /* più compatto */
color: #444;
}
.gallery-section {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* leggermente più piccole */
gap: 4px; /* SPACING RIDOTTO */
padding: 0 4px;
}
.thumb {
width: 100%;
aspect-ratio: 1 / 1;
border-radius: 6px; /* più compatto */
overflow: hidden;
background: white;
box-shadow: 0 1px 3px rgba(0,0,0,0.12); /* più leggero */
position: relative;
cursor: pointer;
}
.thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.play-icon {
position: absolute;
bottom: 4px;
right: 4px;
background: rgba(0,0,0,0.55);
color: white;
padding: 2px 4px;
border-radius: 4px;
font-size: 11px;
}