sticky footer

This commit is contained in:
Riku Rouvila
2015-02-12 14:39:04 +02:00
parent 686a14c647
commit ee2880e11a
2 changed files with 39 additions and 27 deletions

View File

@@ -30,9 +30,18 @@ a
&:hover
text-decoration underline
.site
display flex
min-height 100vh
flex-direction column
.container
flex 1
min-height 100vh
padding-bottom 50px
.jumbo
width 100%
height 50%
height 50vh
min-height 300px
position relative
overflow hidden
@@ -86,13 +95,14 @@ section
z-index 2
position relative
padding-right feedWidth
min-height 50vh
box-sizing border-box
section:first-child
box-shadow -1px -1px 1px rgba(0, 0, 0, 0.05)
border-bottom 1px solid #EEEEEE
background #FCFCFC
.row
max-width 800px
margin auto
@@ -176,6 +186,7 @@ section:first-child
footer
font-size 1.5em
margin-top -50px
padding 0.5em
background textColor
z-index 2