From 2f3ffb8878770fa4b800d8a90489f6327e801cfa Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 1 Apr 2019 16:35:18 +0100 Subject: Add version and contact details in footer --- app/static/sticky_footer.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/static/sticky_footer.css (limited to 'app/static/sticky_footer.css') 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; +} -- cgit v1.2.3