From 9f661642ef073ff4f820573d06f6ef9896ce8f3f Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Fri, 24 Jun 2011 21:03:05 +0200 Subject: [PATCH] Implement basic footer --- mediagoblin/static/css/base.css | 27 +++++++++++++++++++++ mediagoblin/templates/mediagoblin/base.html | 13 +++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 9c9bcea3..31f14680 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -4,6 +4,12 @@ body { font-family: sans-serif; padding:none; margin:0px; + height:100%; +} + +form { + margin:0px; + padding:0px; } /* Carter One font */ @@ -38,6 +44,11 @@ label { /* website structure */ +.mediagoblin_body { + position:relative; + min-height:100%; +} + .mediagoblin_header { width:100%; height:36px; @@ -46,6 +57,22 @@ label { margin-bottom:40px; } +.mediagoblin_footer { + width:100%; + height:26px; + background-color:#393939; + bottom:0px; + padding-top:8px; + position:absolute; + text-align:center; + font-size:14px; + color:#999; +} + +.mediagoblin_content { + padding-bottom:74px; +} + a.mediagoblin_logo { width:34px; height:25px; diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 6250bf3c..63749f68 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -28,6 +28,7 @@ {% block mediagoblin_body %} +
{% block mediagoblin_header %}
@@ -50,12 +51,22 @@
{% endblock %} -
+
{% block mediagoblin_content %} {% endblock mediagoblin_content %}
+ {% block mediagoblin_footer %} + + {% endblock %} {% endblock mediagoblin_body %} +
-- 2.25.1