File tree 3 files changed +20
-5
lines changed
3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -309,11 +309,11 @@ h2 {
309
309
margin : 0.5em 0 0.2em 0 ;
310
310
padding-top : 0.5em ;
311
311
font-size : 1.7em ;
312
- padding : 0 ;
313
312
}
314
313
315
314
h3 {
316
315
margin : 0.2em 0 0.1em 0 ;
316
+ padding-top : 0.5em ;
317
317
font-size : 1.2em ;
318
318
}
319
319
@@ -846,14 +846,12 @@ figcaption {
846
846
}
847
847
848
848
# sidebar-donations {
849
- margin-top : 28 px ;
849
+ margin-top : 40 px ;
850
850
}
851
851
852
852
.donate_button {
853
853
background : # 11557C ;
854
854
font-weight : normal;
855
- border : solid 1px # fff ;
856
- outline : solid 1px # 11557C ;
857
855
clear : both;
858
856
display : block;
859
857
width : 200px ;
@@ -864,6 +862,7 @@ figcaption {
864
862
color : # fff ;
865
863
text-decoration : none;
866
864
margin : 30px auto 0 ;
865
+ border-radius : 6px ;
867
866
z-index : 1 ;
868
867
transition : background .25s ease;
869
868
}
@@ -972,3 +971,13 @@ p.sphx-glr-signature a.reference.external {
972
971
font-weight : 400 ;
973
972
}
974
973
974
+ .sidebar-announcement {
975
+ border : 1px solid # 11557C ;
976
+ background : # eff9ff ;
977
+ padding : 2px ;
978
+ margin-top : 40px ;
979
+ }
980
+
981
+ .sidebar-announcement p {
982
+ margin : 0.4em 0.4em 0.6em 0.4em ;
983
+ }
Original file line number Diff line number Diff line change
1
+ < div class ="sidebar-announcement ">
2
+ < p > The upcoming version Matplotlib 3.0 will be Python 3 only.</ p >
3
+ < p > For Python 2 support, Matplotlib 2.2.x will be continued as a LTS release
4
+ and updated with bugfixes until January 1, 2020.</ p >
5
+ </ div >
Original file line number Diff line number Diff line change @@ -233,7 +233,8 @@ def _check_deps():
233
233
234
234
# Custom sidebar templates, maps page names to templates.
235
235
html_sidebars = {
236
- 'index' : ['searchbox.html' , 'donate_sidebar.html' ],
236
+ 'index' : ['searchbox.html' , 'sidebar_announcement.html' ,
237
+ 'donate_sidebar.html' ],
237
238
'**' : ['searchbox.html' , 'localtoc.html' , 'relations.html' ,
238
239
'pagesource.html' ]
239
240
}
You can’t perform that action at this time.
0 commit comments