mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-10 22:24:19 +01:00
0e920ce3f4
With the current docs directory setup, I'm making too many mistakes and have to manually address path changes and directory moves on deploy. This makes for a frustrating experience developing locally and shipping releases. With this PR, we're basically back to the same setup from v3—duplicating the dist directory into our docs directory. Not the most ideal, but very straightforward for me as the release manager.
38 lines
693 B
CSS
38 lines
693 B
CSS
/* Sticky footer styles
|
|
-------------------------------------------------- */
|
|
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;
|
|
line-height: 60px; /* Vertically center the text there */
|
|
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%;
|
|
}
|