diff options
Diffstat (limited to 'app/static')
| -rw-r--r-- | app/static/sticky_footer.css | 20 |
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; +} |
