File tree 3 files changed +29
-22
lines changed 3 files changed +29
-22
lines changed Original file line number Diff line number Diff line change @@ -1001,26 +1001,36 @@ figcaption {
1001
1001
}
1002
1002
}
1003
1003
1004
+ .mpl-button {
1005
+ background : # 11557C ;
1006
+ font-weight : normal;
1007
+ display : inline-block;
1008
+ padding : 0 1em ;
1009
+ line-height : 2.8 ;
1010
+ font-size : 16px ;
1011
+ text-align : center;
1012
+ cursor : pointer;
1013
+ color : # fff ;
1014
+ text-decoration : none;
1015
+ border-radius : 6px ;
1016
+ z-index : 1 ;
1017
+ transition : background .25s ease;
1018
+ }
1019
+
1020
+ .mpl-button : hover , .mpl-button : active , .mpl-button : focus {
1021
+ background : # 003c63 ;
1022
+ outline-color : # 003c63 ;
1023
+ }
1024
+
1004
1025
# sidebar-donations {
1005
1026
margin-top : 40px ;
1006
1027
}
1007
1028
1008
1029
.donate_button {
1009
- background : # 11557C ;
1010
- font-weight : normal;
1011
1030
clear : both;
1012
1031
display : block;
1013
- width : 200px ;
1014
- line-height : 2.8 ;
1015
- font-size : 16px ;
1016
- text-align : center;
1017
- cursor : pointer;
1018
- color : # fff ;
1019
- text-decoration : none;
1032
+ width : 200px ;
1020
1033
margin : 30px auto 0 ;
1021
- border-radius : 6px ;
1022
- z-index : 1 ;
1023
- transition : background .25s ease;
1024
1034
}
1025
1035
1026
1036
.donate_button : last-of-type {
@@ -1029,12 +1039,6 @@ figcaption {
1029
1039
1030
1040
}
1031
1041
1032
- .donate_button : hover , .donate_button : active , .donate_button : focus {
1033
- background : # 003c63 ;
1034
- outline-color : # 003c63 ;
1035
- }
1036
-
1037
-
1038
1042
div .responsive_screenshots {
1039
1043
/* Horizontally centered */
1040
1044
display : block;
Original file line number Diff line number Diff line change 2
2
3
3
4
4
< div id ="sidebar-donations ">
5
- < a href ="https://numfocus.org/donate-to-matplotlib " target ="_blank "> < div class ="donate_button " > Support Matplotlib</ div > </ a >
5
+ < a href ="https://numfocus.org/donate-to-matplotlib " target ="_blank "> < span class ="mpl-button donate_button " > Support Matplotlib</ span > </ a >
6
6
</ div >
Original file line number Diff line number Diff line change 4
4
The Matplotlib Developers' Guide
5
5
################################
6
6
7
- .. only :: html
7
+ .. raw :: html
8
8
9
- :Release: |version |
10
- :Date: |today |
9
+ <div style =" margin : 2em 0 ;" >
10
+ <a href =" contributing.html#submitting-a-bug-report" ><span class =" mpl-button" >Report a bug</span ></a >
11
+ <a href =" contributing.html#contributing-code" ><span class =" mpl-button" >Contribute code</span ></a >
12
+ <a href =" contributing.html#contributing-documentation" ><span class =" mpl-button" >Write documentation</span ></a >
13
+ </div >
11
14
12
15
.. toctree ::
13
16
:maxdepth: 2
You can’t perform that action at this time.
0 commit comments