From 180d4411bd02b422f749eea7fd8b2e7f74a3025f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 26 Nov 2014 08:25:19 +0100 Subject: template: make footer always appear at bottom --- _static/styles.css | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to '_static/styles.css') diff --git a/_static/styles.css b/_static/styles.css index 205ffcb..18d2362 100644 --- a/_static/styles.css +++ b/_static/styles.css @@ -1,5 +1,11 @@ +html { + height: 100%; +} + html, body { overflow-x: hidden; + margin: 0; + padding: 0; } body { @@ -7,9 +13,9 @@ body { color: #111; font-family: sans-serif; font-size: 11pt; - padding: 0; - margin: 0; - box-shadow: 0em 0.33em 0.33em #888888; + position: relative; + min-height: 100%; +// box-shadow: 0em 0.33em 0.33em #888888; } .block-left { @@ -186,7 +192,7 @@ table.downloads td, table.downloads th { margin: 1em; // position: relative; //top: 50%; -// -webkit-transform: translateY(300%); +// -webkit-transform: translateY(300%); // -ms-transform: translateY(300%); // transform: translateY(300%); // border-style: solid; @@ -194,6 +200,11 @@ table.downloads td, table.downloads th { // padding: 0; } +div#wide-content { + padding-bottom: 2em; + overflow: hidden; +} + footer { background-color: #0D597F; font-size: .7em; @@ -202,5 +213,9 @@ footer { text-align: center; clear: both; margin-top: 5em; + position: absolute; + bottom: 0; + width: 100%; + height: 1.1em; } -- cgit v1.2.3