Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Add summer-fellowship banner #11042

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
Apr 13, 2018
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
20 changes: 20 additions & 0 deletions doc/_static/mpl.css
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,26 @@ figcaption {
text-align: center;
}


/* "Summer Fellowship" message. */
#summer-fellowship {
background: #11557C;
box-sizing: border-box;
color: #fffa;
font-weight: bold;
left: 0;
min-height: 3em;
padding: 0.5em;
top: 0;
width: 100%;
z-index: 10000;
}

#summer-fellowship a {
color: #fff;
text-decoration:underline;
}

/* "Go to released version" message. */
#unreleased-message {
background: #d62728;
Expand Down
6 changes: 6 additions & 0 deletions doc/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ <h3>{{ _('Navigation') }}</h3>
</a>
</div>
{%- endif %}
<div id="summer-fellowship">
Applications are open for the 2018 John Hunter Matplotlib Summer Fellowship.
<a href="https://www.numfocus.org/programs/john-hunter-technology-fellowship">
Apply now!
</a>
</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