diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index cfca13674d18..d54229f674fd 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -1001,26 +1001,36 @@ figcaption { } } +.mpl-button { + background: #11557C; + font-weight: normal; + display: inline-block; + padding: 0 1em; + line-height: 2.8; + font-size: 16px; + text-align: center; + cursor: pointer; + color: #fff; + text-decoration: none; + border-radius: 6px; + z-index: 1; + transition: background .25s ease; +} + +.mpl-button:hover, .mpl-button:active, .mpl-button:focus { + background: #003c63; + outline-color: #003c63; +} + #sidebar-donations { margin-top: 40px; } .donate_button { - background:#11557C; - font-weight:normal; clear: both; display: block; - width:200px; - line-height:2.8; - font-size: 16px; - text-align: center; - cursor:pointer; - color:#fff; - text-decoration: none; + width: 200px; margin: 30px auto 0; - border-radius: 6px; - z-index:1; - transition: background .25s ease; } .donate_button:last-of-type { @@ -1029,12 +1039,6 @@ figcaption { } -.donate_button:hover, .donate_button:active, .donate_button:focus { - background: #003c63; - outline-color: #003c63; -} - - div.responsive_screenshots { /* Horizontally centered */ display: block; diff --git a/doc/_templates/donate_sidebar.html b/doc/_templates/donate_sidebar.html index 8f93656208f8..fc7310b70088 100644 --- a/doc/_templates/donate_sidebar.html +++ b/doc/_templates/donate_sidebar.html @@ -2,5 +2,5 @@ diff --git a/doc/devel/index.rst b/doc/devel/index.rst index 9ee547178ae4..e9347d918fb3 100644 --- a/doc/devel/index.rst +++ b/doc/devel/index.rst @@ -4,10 +4,13 @@ The Matplotlib Developers' Guide ################################ -.. only:: html +.. raw:: html - :Release: |version| - :Date: |today| +
+ Report a bug + Contribute code + Write documentation +
.. toctree:: :maxdepth: 2