From 90485ed40e0a3c31e4071bec9eeb26257f7db690 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 7 Jun 2019 13:44:02 +0100 Subject: Reorganise static folder --- app/static/css/footer.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/static/css/footer.css (limited to 'app/static/css/footer.css') diff --git a/app/static/css/footer.css b/app/static/css/footer.css new file mode 100644 index 0000000..452b6d4 --- /dev/null +++ b/app/static/css/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; +} -- cgit v1.2.3