Vertically center the content.

master
Icedream 2017-08-20 05:22:54 +02:00
parent 09c8a3ce29
commit 2e4cff3fff
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@
font-family: 'Titillium Web', sans-serif
display: flex
flex-direction: column
justify-content: space-between
align-items: center
.content
@ -15,6 +16,6 @@
max-width: 1024px
padding: 1em 0
text-align: center
flex: 1 0 auto
flex: 0 0 auto
// @FIXME - known issue: padding will be treated like outer margins, causes scrollbars to appear