Update gallery layout styling (#96)
This commit is contained in:
parent
e62bbaf918
commit
47c2963280
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue