File tree Expand file tree Collapse file tree 3 files changed +38
-41
lines changed
Expand file tree Collapse file tree 3 files changed +38
-41
lines changed Original file line number Diff line number Diff line change 1+ : root {
2+ --sd-color-primary : # 11557C ;
3+ --sd-color-primary-highlight : # 003c63 ;
4+ }
5+
16a {
27 color : # 11557C ;
38 text-decoration : none;
@@ -174,29 +179,6 @@ hr.box-sep {
174179 font-size : 1.0em ;
175180}
176181
177-
178- .mpl-button {
179- background : # 11557C ;
180- font-weight : normal;
181- display : inline-block;
182- padding : 0 1em ;
183- line-height : 2.8 ;
184- font-size : 16px ;
185- text-align : center;
186- cursor : pointer;
187- color : # fff ;
188- text-decoration : none;
189- border-radius : 6px ;
190- z-index : 1 ;
191- transition : background .25s ease;
192- }
193-
194- .mpl-button : hover , .mpl-button : active , .mpl-button : focus {
195- background : # 003c63 ;
196- outline-color : # 003c63 ;
197- }
198-
199-
200182/* Hide red ¶ between the thumbnail and caption in gallery
201183
202184Due the way that sphinx-gallery floats its captions the perma-link
@@ -251,11 +233,6 @@ table.property-table td {
251233 margin : 2.75rem 0 ;
252234}
253235
254- .sidebar-donate .mpl-button {
255- /* fix width to width of cheatsheet */
256- width : 210px ;
257- }
258-
259236/* Fix selection of parameter names; remove when fixed in the theme
260237 * https://github.com/sphinx-doc/sphinx/pull/9763
261238 */
Original file line number Diff line number Diff line change 1-
2-
3-
41< div class ="sidebar-donate ">
5- < a href ="https://numfocus.org/donate-to-matplotlib " target ="_blank ">
6- < span class =" mpl-button " > Support Matplotlib</ span >
2+ < a class =" sd-btn sd-btn-primary sd-fs-5 sd-px-5 sd-py-2 " href ="https://numfocus.org/donate-to-matplotlib " target ="_blank ">
3+ Support Matplotlib
74 </ a >
85</ div >
Original file line number Diff line number Diff line change @@ -19,14 +19,37 @@ process or how to fix something feel free to ask on `gitter
1919<https://gitter.im/matplotlib/matplotlib> `_ for short questions and on
2020`discourse <https://discourse.matplotlib.org >`_ for longer questions.
2121
22- .. raw :: html
23-
24- <div style =" margin : 2em 0 ;" >
25- <a href =" contributing.html#submitting-a-bug-report" ><span class =" mpl-button" >Report a bug</span ></a >
26- <a href =" contributing.html#request-a-new-feature" ><span class =" mpl-button" >Request a feature</span ></a >
27- <a href =" contributing.html#contributing-code" ><span class =" mpl-button" >Contribute code</span ></a >
28- <a href =" contributing.html#contributing-documentation" ><span class =" mpl-button" >Write documentation</span ></a >
29- </div >
22+ .. rst-class :: sd-d-inline-block
23+
24+ .. button-ref :: submitting-a-bug-report
25+ :class: sd-fs-6
26+ :color: primary
27+
28+ Report a bug
29+
30+ .. rst-class :: sd-d-inline-block
31+
32+ .. button-ref :: request-a-new-feature
33+ :class: sd-fs-6
34+ :color: primary
35+
36+ Request a feature
37+
38+ .. rst-class :: sd-d-inline-block
39+
40+ .. button-ref :: contributing-code
41+ :class: sd-fs-6
42+ :color: primary
43+
44+ Contribute code
45+
46+ .. rst-class :: sd-d-inline-block
47+
48+ .. button-ref :: contributing_documentation
49+ :class: sd-fs-6
50+ :color: primary
51+
52+ Write documentation
3053
3154.. toctree ::
3255 :maxdepth: 2
You can’t perform that action at this time.
0 commit comments