From c1653c500ec55949fdb4b31894371e3a3392ee21 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Tue, 17 Dec 2019 22:08:46 -0500 Subject: [PATCH] DOC: GSOC and JHEP banners --- doc/_static/mpl.css | 24 ++++++++++++++++++++++++ doc/_templates/layout.html | 19 +++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/doc/_static/mpl.css b/doc/_static/mpl.css index d037550666c4..6063c9a16224 100644 --- a/doc/_static/mpl.css +++ b/doc/_static/mpl.css @@ -926,6 +926,30 @@ figcaption { #unreleased-message a { color: #fff; text-decoration:underline; + +} + +/* top-banner style message. */ +#annc-banner { + box-sizing: border-box; + left: 0; + min-height: 3em; + padding: 0.7em; + top: 0; + width: 100%; + z-index: 10000; + background-image: linear-gradient(90deg, #440154, #482475, #414487, #355f8d, #2a788e, #21908d, #22a884, #42be71, #7ad151, #bddf26, #bddf26); + padding: 5px +} + +#annc-banner a { + font-weight: bold; +} + +#annc-banner p{ + background-color: rgba(255, 255, 255, .8); + padding: 13px; + margin:0; } /* Fork me on GitHub "button" */ diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 75984fed978a..d81e8c23fb2f 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -5,6 +5,7 @@
  • contents »
  • {%- endblock %} + {%- block relbar1 %}{{ relbar() }}{% endblock %} {%- block relbar2 %}{% endblock %} @@ -27,7 +28,25 @@ Try searching for the released version of this page instead? + {%- endif %} + + +
    +

    Matplotlib is partcipating in GSOC 2020! + See discourse for details. + + Apply by March 31, 2020.

    +
    + +
    +

    John Hunter Excellence in Plotting Contest 2020 + submissions are open! + + Entries are due June 1, 2020.

    +
    + +
    {%- if builder in ('htmlhelp', 'devhelp', 'latex') %}