aboutsummaryrefslogtreecommitdiff
path: root/app/static/sticky_footer.css
diff options
context:
space:
mode:
Diffstat (limited to 'app/static/sticky_footer.css')
-rw-r--r--app/static/sticky_footer.css20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/static/sticky_footer.css b/app/static/sticky_footer.css
new file mode 100644
index 0000000..452b6d4
--- /dev/null
+++ b/app/static/sticky_footer.css
@@ -0,0 +1,20 @@
+/* Sticky footer styles
+-------------------------------------------------- */
+html {
+ position: relative;
+ min-height: 100%;
+}
+
+body {
+ margin-bottom: 40px; /* Margin bottom by footer height */
+}
+
+footer {
+ position: absolute;
+ bottom: 0;
+ width: 100%;
+ /* Set the fixed height of the footer here */
+ height: 40px;
+ line-height: 40px; /* Vertically center the text there */
+ background-color: #f5f5f5;
+}