birdsounds.media/assets/scss/layouts/partials/photos-list.scss
a 9aa43df629 First commit
The basic parts of the layouts/theme should work. I have only populated 2 albums so far.
2024-05-17 21:14:05 -05:00

38 lines
589 B
SCSS

.photos-list {
list-style: none;
a {
color: inherit;
text-decoration: none;
}
max-width: var(--photos-list-max-width, 28rem);
.photo {
text-align: center;
@media (min-width: 60rem) {
display: grid;
grid-template-areas: "photo" "details";
grid-template-columns: 1fr;
grid-template-rows: auto auto;
}
margin-block: 1rem;
}
.photo-asset {
grid-area: photo;
display: block;
max-width: 100%;
}
.photo-details {
grid-area: details;
padding: 1rem;
}
.photo-title {
margin-block-end: 1rem;
}
.photo-summary {
font-family: monospace;
}
}