summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKenneth Reitz <me@kennethreitz.com>2011-06-23 05:16:13 -0400
committerKenneth Reitz <me@kennethreitz.com>2011-06-23 05:16:13 -0400
commit749edb35541d7bc008f5db860c798f800881cd2e (patch)
treeaecbb301d697051b5e9a02572e99ba8f4b761e2b /docs
parent882b465968ca9b8baecd6449e42c3253d0f29bef (diff)
downloadpython-requests-749edb35541d7bc008f5db860c798f800881cd2e.tar.gz
new sidebar logo
Diffstat (limited to 'docs')
-rw-r--r--docs/_static/requests-sidebar.pngbin0 -> 12001 bytes
-rw-r--r--docs/_templates/sidebarlogo.html7
-rw-r--r--docs/_themes/kr/static/flasky.css_t4
3 files changed, 8 insertions, 3 deletions
diff --git a/docs/_static/requests-sidebar.png b/docs/_static/requests-sidebar.png
new file mode 100644
index 00000000..88a81477
--- /dev/null
+++ b/docs/_static/requests-sidebar.png
Binary files differ
diff --git a/docs/_templates/sidebarlogo.html b/docs/_templates/sidebarlogo.html
index 3abc57cc..3b62ed23 100644
--- a/docs/_templates/sidebarlogo.html
+++ b/docs/_templates/sidebarlogo.html
@@ -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
diff --git a/docs/_themes/kr/static/flasky.css_t b/docs/_themes/kr/static/flasky.css_t
index 41e9dfe4..00a382cb 100644
--- a/docs/_themes/kr/static/flasky.css_t
+++ b/docs/_themes/kr/static/flasky.css_t
@@ -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;
}