0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/docs/examples/sticky-footer-navbar/sticky-footer-navbar.css

46 lines
832 B
CSS
Raw Normal View History

/* 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 {
height: auto;
2014-01-31 13:20:33 +01:00
min-height: 100%;
/* Pad bottom by footer height */
padding: 0 0 60px;
2014-01-31 13:20:33 +01:00
/* Negative indent footer by its height */
margin: 0 auto -60px;
}
/* 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. */
#wrap > .container {
padding: 60px 15px 0;
}
.container .text-muted {
margin: 20px 0;
}
#footer > .container {
padding-right: 15px;
2014-01-31 13:20:33 +01:00
padding-left: 15px;
}
code {
font-size: 80%;
}