diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-09-14 18:22:26 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-09-14 18:22:26 +0200 |
| commit | 5721be1d15ba02e47f98fb9a487248adb297a082 (patch) | |
| tree | 1f01914ed05de330dde45405f2345b07a769e0f1 /budget | |
| parent | 7bf349296173e1d3d5b006ace0839c512ad33686 (diff) | |
| download | ihatemoney-mirror-5721be1d15ba02e47f98fb9a487248adb297a082.zip ihatemoney-mirror-5721be1d15ba02e47f98fb9a487248adb297a082.tar.gz ihatemoney-mirror-5721be1d15ba02e47f98fb9a487248adb297a082.tar.bz2 | |
Fix #26. Footer is now relative
Diffstat (limited to 'budget')
| -rw-r--r-- | budget/static/main.css | 9 | ||||
| -rw-r--r-- | budget/templates/layout.html | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/budget/static/main.css b/budget/static/main.css index aa2be62..d1bf24b 100644 --- a/budget/static/main.css +++ b/budget/static/main.css @@ -1,6 +1,10 @@ @import "bootstrap-1.0.0.min.css"; @import url(http://fonts.googleapis.com/css?family=Lobster|Comfortaa); +html body{ + height: 100%; +} + .topbar h3{ margin-left: 75px; } .topbar ul{ padding-left: 75px; } div.topbar ul.secondary-nav { padding-right: 75px; } @@ -80,8 +84,9 @@ div.topbar ul.secondary-nav { padding-right: 75px; } height: 100px; } -.footer{ - position: absolute; +#footer{ + margin-top: 30px; + position: relative; bottom: 0px; width: 100%; text-align: center; diff --git a/budget/templates/layout.html b/budget/templates/layout.html index afdda85..d79c39f 100644 --- a/budget/templates/layout.html +++ b/budget/templates/layout.html @@ -81,7 +81,7 @@ </div> {% endblock %} {% block footer %} -<div class="footer"> +<div id="footer"> <p><a href="https://github.com/ametaireau/budget-manager">This is a free software</a>, you can contribute and improve it!</p> </div> {% endblock %} |
