Update gallery layout styling (#96)

This commit is contained in:
Jonah Lawrence 2023-08-28 18:28:32 -06:00 committed by GitHub
parent e62bbaf918
commit 47c2963280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -142,10 +142,10 @@ if (isset($_GET['random'])) {
.gallery { .gallery {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-gap: 1em; grid-gap: 1em;
width: 95%; width: calc(100% - 2em);
max-width: 1200px; max-width: 3600px;
margin: auto; margin: auto;
} }
@ -155,7 +155,7 @@ if (isset($_GET['random'])) {
object-fit: cover; object-fit: cover;
object-position: center; object-position: center;
min-height: 122px; min-height: 122px;
border-radius: 8px; border-radius: 0;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;