Skip to content

Commit

Permalink
Merge pull request #11 from garrett/stickyfooter
Browse files Browse the repository at this point in the history
Stickyfooter
  • Loading branch information
garrett authored Oct 25, 2016
2 parents fd3fd71 + 2d8a875 commit 29723b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ $content-width: 60em;
// Navbar (check out lib/navbar.sass for customizable options)
@import "lib/navbar.sass";

// Stretch the page to fill the browser
// (but allow it to scroll further too)
@import "lib/stickyfooter.sass";

// Minima also includes a mixin for defining media queries.
// Use media queries like this:
// @include media-query($on-palm) {
Expand Down
7 changes: 7 additions & 0 deletions assets/lib/stickyfooter.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
body
display: flex
min-height: 100vh
flex-direction: column

#page-wrap
flex: 1

0 comments on commit 29723b0

Please sign in to comment.