diff --git a/sites/scrapy.org/static/style/style.css b/sites/scrapy.org/static/style/style.css index 5da0edc69..bd263023b 100644 --- a/sites/scrapy.org/static/style/style.css +++ b/sites/scrapy.org/static/style/style.css @@ -1,6 +1,9 @@ /* Scrapy.org style sheet *******************************/ /* main elements */ +html, body { + height: 100%; +} body { margin:0; @@ -10,6 +13,7 @@ body { font-size:small; color:#333; background-color:#FFF; + } a { color:#6e0909; text-decoration:none; border-bottom:1px solid #d78888;} a:hover { color:#f99800; border-bottom:1px solid #f7b7b7; } @@ -28,18 +32,21 @@ p { line-height:1.5em; } /* structure */ #header h1 { background:url('../images/logo.jpg') no-repeat left top ; text-indent: -5000px; width:545px; height:65px } - +#mainwrap { + position: relative; + min-height: 100%; } #container { float: left; width: 100%; max-width: 1074px; - margin: 42px 20px 0; + margin: 42px 20px 66px; } #content { clear:left; margin-top:10px; } #left-column { float:left; margin: 25px 274px 0 0; + } #right-column { width:274px; @@ -77,7 +84,7 @@ padding:0pt 0px 5px; border-bottom:4px solid #462217;} .box .post a.more { font-size:0.8em; color:#ffe114; border-bottom:none;} .box .post a:hover.more { color:#FFF;} -#footer { margin: 45px 0 0; color:#FFF; padding: 15px 20px; background:url('../images/footer-bg.jpg') repeat-x left top #5b2a16; border-top:1px solid #b5331a;} +#footer { margin: 45px 0 0; color:#FFF; padding: 15px 0px 0px 26px; background:url('../images/footer-bg.jpg') repeat-x left top #5b2a16; border-top:1px solid #b5331a; position:absolute; width:98%; bottom:0;} #footer ul { list-style-type:none; margin:0 0 0 -10px; padding: 0;} #footer ul li { display: inline; padding:0 10px; border-right:1px solid #b2c0c9; } #footer ul li.last { border-right:none;} diff --git a/sites/scrapy.org/templates/base.html b/sites/scrapy.org/templates/base.html index cced6546b..7a6e79309 100644 --- a/sites/scrapy.org/templates/base.html +++ b/sites/scrapy.org/templates/base.html @@ -16,11 +16,13 @@ {% block extrascripts %}{% endblock %} -
- {% block content %}{% endblock %} -
+
+
+ {% block content %}{% endblock %} +
-
- {% include "footer.html" %} +
+ {% include "footer.html" %} +