Skip to content

Commit 749edb3

Browse files
author
Kenneth Reitz
committed
new sidebar logo
1 parent 882b465 commit 749edb3

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

docs/_static/requests-sidebar.png

11.7 KB
Loading

docs/_templates/sidebarlogo.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
<h3><a href="http://python-requests.org">About Requests</a></h3>
1+
<p class="logo">
2+
<a href="{{ pathto(master_doc) }}">
3+
<img class="logo" src="{{ pathto('_static/requests-sidebar.png', 1) }}" alt="Logo"/>
4+
</a>
5+
</p>
6+
27
<p>
38
Requests is an elegant and simple HTTP library for Python, built for
49
human beings. You are currently looking at the documentation of the

docs/_themes/kr/static/flasky.css_t

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ div.sphinxsidebarwrapper {
9191
}
9292

9393
div.sphinxsidebarwrapper p.logo {
94-
padding: 0 0 20px 0;
95-
margin: 0;
94+
padding: 0;
95+
margin: -10px 0 0 -20px;
9696
text-align: center;
9797
}
9898

0 commit comments

Comments
 (0)