Mercurial > zeropaste
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/assets/stylesheets/sticky_footer.scss Tue Apr 14 00:22:07 2015 +0900 @@ -0,0 +1,34 @@ +/* Sticky footer styles +-------------------------------------------------- */ + +html, +body { + height: 100%; + /* The html and body elements cannot have any padding or margin. */ +} + +/* Wrapper for page content to push down footer */ +#wrap { + min-height: 100%; + height: auto !important; + height: 100%; + /* Negative indent footer by its height */ + margin: 0 auto -60px; + /* Pad bottom by footer height + 10 */ + padding: 0 0 70px; +} + +/* Set the fixed height of the footer here */ +#footer { + height: 60px; + background-color: #f5f5f5; +} + + +/* Custom page CSS +-------------------------------------------------- */ +/* Not required for template or sticky footer method. */ + +.container .credit { + margin: 20px 0; +}