File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,11 +309,11 @@ h2 {
309309 margin : 0.5em 0 0.2em 0 ;
310310 padding-top : 0.5em ;
311311 font-size : 1.7em ;
312- padding : 0 ;
313312}
314313
315314h3 {
316315 margin : 0.2em 0 0.1em 0 ;
316+ padding-top : 0.5em ;
317317 font-size : 1.2em ;
318318}
319319
@@ -846,14 +846,12 @@ figcaption {
846846}
847847
848848# sidebar-donations {
849- margin-top : 28 px ;
849+ margin-top : 40 px ;
850850}
851851
852852.donate_button {
853853 background : # 11557C ;
854854 font-weight : normal;
855- border : solid 1px # fff ;
856- outline : solid 1px # 11557C ;
857855 clear : both;
858856 display : block;
859857 width : 200px ;
@@ -864,6 +862,7 @@ figcaption {
864862 color : # fff ;
865863 text-decoration : none;
866864 margin : 30px auto 0 ;
865+ border-radius : 6px ;
867866 z-index : 1 ;
868867 transition : background .25s ease;
869868}
@@ -972,3 +971,13 @@ p.sphx-glr-signature a.reference.external {
972971 font-weight : 400 ;
973972}
974973
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():
233233
234234# Custom sidebar templates, maps page names to templates.
235235html_sidebars = {
236- 'index' : ['searchbox.html' , 'donate_sidebar.html' ],
236+ 'index' : ['searchbox.html' , 'sidebar_announcement.html' ,
237+ 'donate_sidebar.html' ],
237238 '**' : ['searchbox.html' , 'localtoc.html' , 'relations.html' ,
238239 'pagesource.html' ]
239240}
You can’t perform that action at this time.
0 commit comments