Mercurial > zeropaste
comparison app/assets/stylesheets/sticky_footer.scss @ 370:5a4d31e97937
Remove extra file extensions.
| author | edogawaconan <me@myconan.net> |
|---|---|
| date | Tue, 14 Apr 2015 00:22:07 +0900 |
| parents | app/assets/stylesheets/sticky_footer.css.scss@5ac923264129 |
| children |
comparison
equal
deleted
inserted
replaced
| 369:c0d4e6115642 | 370:5a4d31e97937 |
|---|---|
| 1 /* Sticky footer styles | |
| 2 -------------------------------------------------- */ | |
| 3 | |
| 4 html, | |
| 5 body { | |
| 6 height: 100%; | |
| 7 /* The html and body elements cannot have any padding or margin. */ | |
| 8 } | |
| 9 | |
| 10 /* Wrapper for page content to push down footer */ | |
| 11 #wrap { | |
| 12 min-height: 100%; | |
| 13 height: auto !important; | |
| 14 height: 100%; | |
| 15 /* Negative indent footer by its height */ | |
| 16 margin: 0 auto -60px; | |
| 17 /* Pad bottom by footer height + 10 */ | |
| 18 padding: 0 0 70px; | |
| 19 } | |
| 20 | |
| 21 /* Set the fixed height of the footer here */ | |
| 22 #footer { | |
| 23 height: 60px; | |
| 24 background-color: #f5f5f5; | |
| 25 } | |
| 26 | |
| 27 | |
| 28 /* Custom page CSS | |
| 29 -------------------------------------------------- */ | |
| 30 /* Not required for template or sticky footer method. */ | |
| 31 | |
| 32 .container .credit { | |
| 33 margin: 20px 0; | |
| 34 } |
