From 81909e25e6860f6b9a33ddfa5c934b5d18237996 Mon Sep 17 00:00:00 2001 From: veal Date: Mon, 15 Feb 2016 19:13:22 +0100 Subject: [PATCH] Fix footer (CSS). --- static/css/bootstrap.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css index 13d0915..5a94618 100644 --- a/static/css/bootstrap.css +++ b/static/css/bootstrap.css @@ -7,13 +7,17 @@ /*! normalize.css v3.0.1 | MIT License | git.io/normalize */ html { font-family: sans-serif; + height: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } + body { margin: 0; + height: 100%; padding-top: 100px; } + article, aside, details, @@ -1396,6 +1400,8 @@ pre code { padding-left: 15px; margin-right: auto; margin-left: auto; + height: 100%; + min-height: 100%; } @media (min-width: 768px) { .container { @@ -6203,10 +6209,13 @@ button.close { } .footer { - position: absolute; - bottom: 0; width: 100%; + position: relative; + margin-top: -60px; height: 60px; + clear: both; + background: #f5f5f5; padding-top: 20px; - background-color: #f5f5f5; + bottom: 0; + text-align: left; } \ No newline at end of file