8000 DOC: tweak style a bit · matplotlib/matplotlib@25509fa · GitHub
[go: up one dir, main page]

Skip to content

Commit 25509fa

Browse files
committed
DOC: tweak style a bit
1 parent 0f356cb commit 25509fa

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

doc/_static/mpl.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ div.sphinxsidebar {
223223
text-align: left;
224224
/* margin-left: -100%; */
225225
}
226+
div.sphinxsidebarwrapper {
227+
padding-top: 28px
228+
}
226229

227230
div.sphinxsidebar h4, div.sphinxsidebar h3 {
228231
margin: 1em 0 0.5em 0;
@@ -669,6 +672,12 @@ figcaption {
669672
transition: background .25s ease;
670673
}
671674

675+
.donate_button:last-of-type {
676+
margin: 15px auto 30px;
677+
678+
679+
}
680+
672681
.donate_button:hover, .donate_button:active, .donate_button:focus {
673682
background: #003c63;
674683
outline-color: #003c63;

doc/_templates/donate_sidebar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2+
<div>
23
<div onclick="open_window('MjI1OA==')" class="donate_button">Support matplotlib</div>
3-
4-
54
<div onclick="open_window('MjM2OA==')" class="donate_button">Support NumFOCUS</div>
5+
</div>

0 commit comments

Comments
 (0)
0