From: Jef van Schendel Date: Fri, 24 Jun 2011 19:03:05 +0000 (+0200) Subject: Implement basic footer X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9f661642ef073ff4f820573d06f6ef9896ce8f3f;p=mediagoblin.git Implement basic footer --- 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 %} +