mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-01-20 18:50:21 +00:00
refactor(layout): Vertically center for every pages
This commit is contained in:
parent
267829aabe
commit
4c8147feb6
2 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background: var(--color-tertiary) url("/img/dotgrid.png");
|
background: var(--color-tertiary) url("/img/dotgrid.png");
|
||||||
color: var(--color-light-text);
|
color: var(--color-light-text);
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
/* ----------------------------------------------------------- */
|
/* ----------------------------------------------------------- */
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
|
.layout {
|
||||||
|
flex-grow: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
.welcome {
|
.welcome {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue