Skip to content

Commit

Permalink
Fixed, footer at the bottom for short content
Browse files Browse the repository at this point in the history
  • Loading branch information
apzeero committed May 12, 2019
1 parent d99922a commit dbae4e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@
</header>
<!--/HEADER-->

<main id="main-content" class="uk-section uk-padding-remove-vertical"><div class="uk-container">
<main id="main-content" class="uk-section"><div class="uk-container">

13 changes: 13 additions & 0 deletions site.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,19 @@

// 5. Quick Inline Hacks

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

main#main-content {
min-height: 100vh;
margin-top: -80px;
padding-top: 80px;
padding-bottom: 100px;
}
footer#colophon {
margin-top: -100px;
}
/*
Text meant only for screen readers.
@see https://make.wordpress.org/accessibility/handbook/markup/the-css-class-screen-reader-text/
Expand Down

0 comments on commit dbae4e3

Please sign in to comment.