sass-site/source/assets/stylesheets/components/_sticky_footer.scss

24 lines
400 B
SCSS
Raw Normal View History

2012-11-28 12:59:42 +01:00
// ===========================================================================
// STICKY FOOTER
2012-11-28 13:16:13 +01:00
$footer-height: 10.5em;
2012-11-28 12:59:42 +01:00
@include at-breakpoint(60em) {
html,
body { height: 100%; }
2012-11-28 12:59:42 +01:00
.page {
margin-bottom: -$footer-height;
min-height: 100%;
height: auto !important;
height: 100%;
}
2012-11-28 12:59:42 +01:00
.footer-shim,
.contentinfo {
clear: both;
height: $footer-height;
}
2012-11-28 12:59:42 +01:00
}