From c483876a90671b7fd845af59d1149ce05355c78e Mon Sep 17 00:00:00 2001
From: Mark Lentczner <markl@glyphic.com>
Date: Sat, 28 Aug 2010 18:26:18 +0000
Subject: [PATCH] push footer to bottom of window

---
 html/Ocean.std-theme/ocean.css | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/html/Ocean.std-theme/ocean.css b/html/Ocean.std-theme/ocean.css
index d8b2844438..c6dc58e34e 100644
--- a/html/Ocean.std-theme/ocean.css
+++ b/html/Ocean.std-theme/ocean.css
@@ -6,12 +6,15 @@
 html {
   background-color: white;
   width: 100%;
+  height: 100%;
 }
 
 body {
   background: white;
   color: black;
   text-align: left;
+  min-height: 100%;
+  position: relative;
 }
 
 p {
@@ -176,7 +179,7 @@ pre {
 
 #content {
   margin: 0 auto;
-  padding: 0 2em;
+  padding: 0 2em 6em;
 }
 
 #package-header {
@@ -266,12 +269,15 @@ div#style-menu-holder {
 }
 
 #footer {
-  margin: 1em 0 0 0;
   background: #ddd;
   border-top: 1px solid #aaa;
-  padding: 0.5em;
+  padding: 0.5em 0;
   color: #666;
   text-align: center;
+  position: absolute;
+  bottom: 0;
+  width: 100%;
+  height: 3em;
 }
 
 /* @end */
@@ -456,7 +462,7 @@ div#style-menu-holder {
 
 #mini {
   margin: 0 auto;
-  padding: 0 1em;
+  padding: 0 1em 1em;
 }
 
 #mini > * {
-- 
GitLab