Skip to content

DOC: GSOC and JHEP banners #16826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -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" */
Expand Down
19 changes: 19 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<li><a href="{{ pathto('contents') }}">contents</a> &raquo;</li>
{%- endblock %}


{%- block relbar1 %}{{ relbar() }}{% endblock %}
{%- block relbar2 %}{% endblock %}

Expand All @@ -27,7 +28,25 @@
Try searching for the released version of this page instead?
</a>
</div>

{%- endif %}


<div id="annc-banner">
<p>Matplotlib is partcipating in GSOC 2020!
<a href="https://discourse.matplotlib.org/t/gsoc-due-march-31-18-00utc/20975"> See discourse for details.
</a>
Apply by March 31, 2020.</p>
</div>

<div id="annc-banner">
<p>John Hunter Excellence in Plotting Contest 2020
<a href="https://jhepc.github.io/about.html"> submissions are open!
</a>
Entries are due June 1, 2020.</p>
</div>


<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px; position: relative;">
{%- if builder in ('htmlhelp', 'devhelp', 'latex') %}
<a href="{{ pathto('index') }}">
Expand Down