improve mobile compatibility

main
Midnight 3 years ago
parent 422bc33efc
commit 8b3311c5d8

@ -30,4 +30,17 @@
.gallery > div:hover .overlay {
opacity: 1;
}
/* mobile */
@media (max-aspect-ratio: 1/1) {
.gallery {
column-count: 2;
}
}
@media (max-aspect-ratio: 5/7) {
.gallery {
column-count: 1;
}
}

@ -98,6 +98,12 @@ hr {
}
}
@media(max-aspect-ratio: 3/4) {
.card {
padding: 1em;
}
}
@media(min-width: 1200px) {
.container {
max-width: 1200px;

Loading…
Cancel
Save