Add cover images to albums. If a cover.jpg doesn't exist, use the first image

This commit is contained in:
Nick Pegg 2024-08-04 11:57:08 -07:00
parent 2875805444
commit 217950eeaf
3 changed files with 62 additions and 16 deletions

View file

@ -25,6 +25,7 @@ body {
#content > * {
width: fit-content;
margin-top: 1em;
margin-left: auto;
margin-right: auto;
}
@ -33,6 +34,18 @@ ul {
padding-left: 1.5em;
}
#album-children {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
#album-children > * {
margin: 1em;
padding: 0.75em;
background-color: lightgrey;
}
#album-photos {
display: flex;
flex-wrap: wrap;