Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #59 from brandonaaron/sticky-footer
Browse files Browse the repository at this point in the history
Make the footer sticky
  • Loading branch information
Andy-set-studio authored Jul 16, 2019
2 parents 827e05d + efc07d2 commit 79b8e88
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/scss/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,23 @@
@import 'typography';

/**
* GLOBAL STYLES
* GLOBAL STYLES
*/
html, body {
height: 100%;
}

body {
scroll-behavior: smooth;
display: flex;
flex-direction: column;
}

main:focus {
outline: none;
main {
flex: 1 0 auto;
&:focus {
outline: none;
}
}

hr {
Expand Down

0 comments on commit 79b8e88

Please sign in to comment.