Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css')
-rw-r--r--docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css b/docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css
new file mode 100644
index 0000000000..07fd56a640
--- /dev/null
+++ b/docs/4.1/examples/sticky-footer-navbar/sticky-footer-navbar.css
@@ -0,0 +1,37 @@
+/* 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%;
+}