8000 Re-style sphinx-gallery download buttons · matplotlib/matplotlib@a2d2f0a · GitHub
[go: up one dir, main page]

Skip to content

Commit a2d2f0a

Browse files
committed
Re-style sphinx-gallery download buttons
to be more consistent with the new theme style
1 parent 7e3c773 commit a2d2f0a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/_static/mpl.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,18 @@ div.sphx-glr-download-link-note {
225225
visibility: hidden;
226226
}
227227

228+
/* re-style the download button */
229+
div.sphx-glr-download a {
230+
background-color: #E3F0F6;
231+
background-image: none;
232+
color: #11557c;
233+
border: 0;
234+
}
235+
236+
div.sphx-glr-download a:hover {
237+
background-color: #BCD4DF;
238+
}
239+
228240
table.property-table th,
229241
table.property-table td {
230242
padding: 4px 10px;

0 commit comments

Comments
 (0)
0