Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1886f7a

Browse filesBrowse files
dorafctacaswell
authored andcommitted
DOC: style donate button
Typed what @doraf said to
1 parent 56fa7b0 commit 1886f7a
Copy full SHA for 1886f7a

File tree

Expand file treeCollapse file tree

2 files changed

+25
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+25
-3
lines changed

‎doc/_static/mpl.css

Copy file name to clipboardExpand all lines: doc/_static/mpl.css
+23Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,3 +650,26 @@ figcaption {
650650
}
651651

652652

653+
.donate_button {
654+
background:#11557C;
655+
font-weight:normal;
656+
border:solid 1px #fff;
657+
outline: solid 1px #11557C;
658+
clear: both;
659+
display: block;
660+
width:200px;
661+
line-height:2.8;
662+
font-size: 16px;
663+
text-align: center;
664+
cursor:pointer;
665+
color:#fff;
666+
text-decoration: none;
667+
margin: 30px auto 0;
668+
z-index:1;
669+
transition: background .25s ease;
670+
}
671+
672+
.donate_button:hover, .donate_button:active, .donate_button:focus {
673+
background: #003c63;
674+
outline-color: #003c63;
675+
}

‎doc/_templates/donate_sidebar.html

Copy file name to clipboard
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

2-
<div style="background:#ccc; border-radius:0px 0px 0px 0px;font-weight:normal; font-family:Arial, Helvetica, sans-serif;border:none;box-shadow:none;left: 50%; margin-left:-72.5px;clear: both;display: block; width:145px;height:45px; line-height:2.8; position:relative; font-size:16px;text-align:center; cursor:pointer;color:#fff;text-decoration: none; z-index:1" onclick="open_window('MjI1OA==')">Support Matplotlib</div>
2+
<div onclick="open_window('MjI1OA==')" class="donate_button">Support matplotlib</div>
33

44

5-
6-
<div style="background:#ccc; border-radius:0px 0px 0px 0px;font-weight:normal; font-family:Arial, Helvetica, sans-serif;border:none;box-shadow:none;left: 50%; margin-left:-72.5px;clear: both;display: block; width:145px;height:45px; line-height:2.8; position:relative; font-size:16px;text-align:center; cursor:pointer;color:#fff;text-decoration: none; z-index:1" onclick="open_window('MjM2OA==')">Support NumFOCUS</div>
5+
<div onclick="open_window('MjM2OA==')" class="donate_button">Support NumFOCUS</div>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.