Add cover images to albums. If a cover.jpg doesn't exist, use the first image
This commit is contained in:
parent
2875805444
commit
217950eeaf
3 changed files with 62 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue