From 12a9435e17438be392924b9e3f90c85aff1b4d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Dahlgren?= Date: Wed, 9 Apr 2014 00:36:01 +0200 Subject: [PATCH] Fixed footer --- public/css/styles.css | 18 ++++++++++++++++++ public/js/tpl/layout.html | 16 +++++++++------- 2 files changed, 27 insertions(+), 7 deletions(-) diff --git a/public/css/styles.css b/public/css/styles.css index be8aebf..280c70c 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1,4 +1,22 @@ +html { + position: relative; + min-height: 100%; +} + /* Move down content because we have a fixed navbar that is 50px tall */ body { padding-top: 70px; + margin-bottom: 60px; +} + +#footer { + position: absolute; + bottom: 0; + width: 100%; + height: 60px; + background-color: #f5f5f5; +} + +#footer .container .text-muted { + margin: 20px 0; } diff --git a/public/js/tpl/layout.html b/public/js/tpl/layout.html index a26c98c..b5f316b 100644 --- a/public/js/tpl/layout.html +++ b/public/js/tpl/layout.html @@ -1,11 +1,13 @@
- +
- -
-

© Anrop 2014

-
- -
\ No newline at end of file + + + +