diff options
author | Lucian I. Last <li@last.nl> | 2018-11-12 20:14:37 +0100 |
---|---|---|
committer | Lucian I. Last <li@last.nl> | 2018-11-12 20:14:37 +0100 |
commit | e2e8f488bfcad871fe24173722d631596580ef97 (patch) | |
tree | 107547cd1d1b79cbaa608aa034f11298f8c204bc | |
parent | 40909408a8ca36720fdee4d5f5e5b3880e7503e5 (diff) | |
download | simple-dash-fork-e2e8f488bfcad871fe24173722d631596580ef97.zip |
Center grid
-rw-r--r-- | common/css/main.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/common/css/main.css b/common/css/main.css index 6d4bf93..8ef6d27 100644 --- a/common/css/main.css +++ b/common/css/main.css @@ -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); } |