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

Commit

Permalink
Make the footer sticky
Browse files Browse the repository at this point in the history
This resolves #56.
  • Loading branch information
brandonaaron committed Jul 16, 2019
1 parent 785a52c commit efc07d2
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 efc07d2

Please sign in to comment.