refactor(layout): Vertically center for every pages

This commit is contained in:
Tixie 2019-03-09 21:14:15 +01:00
parent 267829aabe
commit 4c8147feb6
2 changed files with 5 additions and 0 deletions

View file

@ -5,6 +5,7 @@
body {
display: flex;
flex-direction: column;
justify-content: center;
min-height: 100vh;
background: var(--color-tertiary) url("/img/dotgrid.png");
color: var(--color-light-text);

View file

@ -3,6 +3,10 @@
/* ----------------------------------------------------------- */
@media (min-width: 768px) {
.layout {
flex-grow: inherit;
}
.welcome {
justify-content: center;
}