Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

removed menu from footer, added django badge

Ismael Carnalesc149e2de2cf4
diff --git a/sites/scrapy.org/static/style/style.css b/sites/scrapy.org/static/style/style.css
index 5e13e5ea5..990b0f288 100644
--- a/sites/scrapy.org/static/style/style.css
+++ b/sites/scrapy.org/static/style/style.css
@@ -58,7 +58,7 @@ p { line-height:1.5em; }
}
#body {
- padding-bottom: 80px;
+ padding-bottom: 45px;
}
#content-wrapper {
@@ -80,7 +80,7 @@ p { line-height:1.5em; }
position: absolute;
bottom: 0;
width: 100%;
- height: 80px;
+ height: 45px;
border-top: 1px solid #b5331a;
background: url('../images/footer-bg.jpg') repeat-x left top #5b2a16;
}
@@ -110,41 +110,27 @@ p { line-height:1.5em; }
border-bottom: none;
}
-#footer ul {
- list-style-type: none;
- margin: 15px 10px;
- padding: 0;
-}
-
-#footer ul li {
- display: inline;
- padding: 0 10px;
- border-right: 1px solid #b2c0c9;
+#footer a:hover {
+ color: #ffe114;
}
-#footer ul li.last {
- border-right:none;
-}
-
-#footer li a {
- text-decoration: none;
- border-bottom: 1px solid #884a2b;
+#footer p {
+ margin: 10px 20px;
+ line-height: 25px;
+ font-size: .85em;
color: #fff;
}
-#footer li a:hover, #footer p a:hover { i
- color:#ffe114;
+#footer p a {
+ color: #fff;
}
-#footer p {
- margin: 0 20px;
- line-height: 1.1em;
- font-size: .8em;
- color: #fff;
+#badge {
+ float: right;
}
-#footer p a {
- color:#fff;
+#badge a {
+ border-bottom: none;
}
.box { margin-bottom:15px; background:url('../images/box-borders-bottom.gif') no-repeat left bottom #4d271c; padding-bottom:5px; }
diff --git a/sites/scrapy.org/templates/footer.html b/sites/scrapy.org/templates/footer.html
index 4dd6f2591..c2784dc69 100644
--- a/sites/scrapy.org/templates/footer.html
+++ b/sites/scrapy.org/templates/footer.html
@@ -1,11 +1,6 @@
<div id="footer">
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="/download/">Download</a></li>
- <li><a href="/docs/">Documentation</a></li>
- <li><a href="/news/">News</a></li>
- <li><a href="/community/">Community</a></li>
- <li class="last"><a href="http://dev.scrapy.org">Development</a></li>
- </ul>
+ <p id="badge">
+ <a href="http://www.djangoproject.com/"><img src="http://media.djangoproject.com/img/badges/djangosite100x25.gif" alt="A Django site." title="A Django site." /></a>
+ </p>
<p>&copy; 2007-2008 <a href="http://insophia.com/">Insophia</a>, <a href="http://mydeco.com/the-magazine/style/mydeco-about-us">By Design UK</a></p>
</div>