Center grid

This commit is contained in:
Lucian I. Last 2018-11-12 20:14:37 +01:00
parent 40909408a8
commit e2e8f488bf

View File

@ -17,14 +17,15 @@ body {
}
#wrapper {
text-align: center;
height: 100%;
display: grid;
}
.itemlist {
display: inline-grid;
grid-template-columns: repeat(2, 1fr);
margin: 0.5em 0;
margin: auto;
}
@media only screen and (min-width: 600px) and (max-width: 799px) {
@media only screen and (min-width: 600px) {
.itemlist {
grid-template-columns: repeat(3, 1fr);
}