mdb-ui-kit/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css

49 lines
1.1 KiB
CSS
Raw Normal View History

2015-11-20 00:58:21 +03:00
/* Sticky footer styles
2015-12-10 18:02:44 +03:00
-------
[//]: # DO NOT EDIT IT WILL BE OVERWRITTEN - copy of bootstrap documentation generated by grunt docs-copy-bootstrap-docs
{% callout info %}
**Bootstrap Reference Documentation**
This is reference documentation from <a href="http://getbootstrap.com">Bootstrap</a>.
It is being rendered with Material Design for Bootstrap to demonstrate default styling.
See addons(TODO: add link) for additional Material Design elements.
{% endcallout %}
------------------------------------------- */
2015-11-20 00:58:21 +03:00
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;
2015-12-10 18:02:44 +03:00
line-height: 60px; /* Vertically center the text there */
2015-11-20 00:58:21 +03:00
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%;
}