-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* Sticky footer styles | ||
-------------------------------------------------- */ | ||
html { | ||
position: relative; | ||
min-height: 100%; | ||
} | ||
body { | ||
/* Margin bottom by footer height */ | ||
margin-bottom: 60px; | ||
} | ||
.footer { | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
/* Set the fixed height of the footer here */ | ||
height: 60px; | ||
line-height: 60px; /* Vertically center the text there */ | ||
background-color: #f5f5f5; | ||
} | ||
|
||
|
||
/* Custom page CSS | ||
-------------------------------------------------- */ | ||
/* Not required for template or sticky footer method. */ | ||
|
||
body > .container { | ||
padding: 60px 15px 0; | ||
} | ||
|
||
.footer > .container { | ||
padding-right: 15px; | ||
padding-left: 15px; | ||
} | ||
|
||
code { | ||
font-size: 80%; | ||
} |