File tree 3 files changed +17
-7
lines changed
3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -232,9 +232,6 @@ div.sphinxsidebar {
232
232
text-align : left;
233
233
/* margin-left: -100%; */
234
234
}
235
- div .sphinxsidebarwrapper {
236
- padding-top : 28px
237
- }
238
235
239
236
div .sphinxsidebar h4 , div .sphinxsidebar h3 {
240
237
margin : 1em 0 0.5em 0 ;
@@ -245,6 +242,11 @@ div.sphinxsidebar h4, div.sphinxsidebar h3 {
245
242
background-color : # AFC1C4 ;
246
243
}
247
244
245
+ div .sphinxsidebar h3 a {
246
+ /* workaround for table of contents heading, which is a link */
247
+ color : white !important ;
248
+ }
249
+
248
250
div .sphinxsidebar ul {
249
251
padding-left : 1.5em ;
250
252
margin-top : 7px ;
@@ -258,6 +260,11 @@ div.sphinxsidebar ul ul {
258
260
margin-left : 20px ;
259
261
}
260
262
263
+ # searchbox input [type = text ] {
264
+ width : 100% ;
265
+ box-sizing : border-box;
266
+ }
267
+
261
268
p {
262
269
margin : 0.8em 0 0.8em 0 ;
263
270
}
@@ -787,6 +794,10 @@ figcaption {
787
794
}
788
795
}
789
796
797
+ # sidebar-donations {
798
+ margin-top : 28px ;
799
+ }
800
+
790
801
.donate_button {
791
802
background : # 11557C ;
792
803
font-weight : normal;
Original file line number Diff line number Diff line change 1
1
2
- < div >
2
+ < div id =" sidebar-donations " >
3
3
< a href ="https://www.flipcause.com/secure/cause_pdetails/MjI1OA== " target ="_blank "> < div class ="donate_button " > Support Matplotlib</ div > </ a >
4
4
< a href ="https://www.flipcause.com/secure/cause_pdetails/MTY3NTU= " target ="_blank "> < div class ="donate_button " > Support NumFOCUS</ div > </ a >
5
5
</ div >
Original file line number Diff line number Diff line change @@ -241,9 +241,8 @@ def _check_deps():
241
241
242
242
# Custom sidebar templates, maps page names to templates.
243
243
html_sidebars = {
244
- 'index' : ['donate_sidebar.html' , 'searchbox.html' ],
245
- '**' : ['localtoc.html' , 'relations.html' ,
246
- 'sourcelink.html' , 'searchbox.html' ]
244
+ 'index' : ['searchbox.html' , 'donate_sidebar.html' ],
245
+ '**' : ['searchbox.html' , 'localtoc.html' , 'relations.html' ]
247
246
}
248
247
249
248
# If false, no module index is generated.
You can’t perform that action at this time.
0 commit comments