1
0
mirror of https://github.com/danbee/danbarber.me synced 2025-03-04 08:59:10 +00:00

Add 2 column mode for smaller screens

This commit is contained in:
Daniel Barber 2019-07-10 22:20:50 -04:00
parent e6c47f3cb2
commit 24e163f478

View File

@ -2,8 +2,12 @@
@include container;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 1rem;
grid-template-columns: repeat(2, 1fr);
grid-gap: 0.65rem 1rem;
@media only screen and (min-width: 640px) {
grid-template-columns: repeat(3, 1fr);
}
}
.photo-thumb {