new sidebar logo
authorKenneth Reitz <me@kennethreitz.com>
Thu, 23 Jun 2011 09:16:13 +0000 (05:16 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Thu, 23 Jun 2011 09:16:13 +0000 (05:16 -0400)
docs/_static/requests-sidebar.png [new file with mode: 0644]
docs/_templates/sidebarlogo.html
docs/_themes/kr/static/flasky.css_t

diff --git a/docs/_static/requests-sidebar.png b/docs/_static/requests-sidebar.png
new file mode 100644 (file)
index 0000000..88a8147
Binary files /dev/null and b/docs/_static/requests-sidebar.png differ
index 3abc57c..3b62ed2 100644 (file)
@@ -1,4 +1,9 @@
-<h3><a href="http://python-requests.org">About Requests</a></h3>
+<p class="logo">
+  <a href="{{ pathto(master_doc) }}">
+    <img class="logo" src="{{ pathto('_static/requests-sidebar.png', 1) }}" alt="Logo"/>
+  </a>
+</p>
+
 <p>
   Requests is an elegant and simple HTTP library for Python, built for
   human beings. You are currently looking at the documentation of the
index 41e9dfe..00a382c 100644 (file)
@@ -91,8 +91,8 @@ div.sphinxsidebarwrapper {
 }
 
 div.sphinxsidebarwrapper p.logo {
-    padding: 0 0 20px 0;
-    margin: 0;
+    padding: 0;
+    margin: -10px 0 0 -20px;
     text-align: center;
 }