10000 DOC: add job advert · matplotlib/matplotlib@9808026 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9808026

Browse files
committed
DOC: add job advert
1 parent c1f749a commit 9808026

File tree

3 files changed

+94
-3
lines changed

3 files changed

+94
-3
lines changed

doc/_static/mpl.css

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,62 @@
1+
:root {
2+
/* START COLOR PALETTE */
3+
4+
/* viridis solid colors */
5+
--dark-purple: #440154;
6+
--purple: #482475;
7+
--blue: #355f8d;
8+
--teal: #22a884;
9+
--green: #7ad151;
10+
--lime: #bddf26;
11+
12+
/* utility colors for text, links, etc... */
13+
--grey: #4f4f4f;
14+
--logo-blue: #11557c;
15+
--pale-blue: #869fbb;
16+
--pale-orange: #ffc9a5;
17+
--orange: #ffaa70;
18+
--bold-orange: #ffaa70;
19+
--light-gray: #e5e5e5;
20+
--medium-gray: #c4c4c4;
21+
--black: #000;
22+
--white: #fff;
23+
--alpha-white: rgba(255, 255, 255, 0.8);
24+
/* END COLOR PALETTE */
25+
26+
/* START BACKGROUND GRADIENTS */
27+
28+
/* viridis gradients */
29+
--viridis: linear-gradient(
30+
90deg,
31+
#0c0154,
32+
#482475,
33+
#414487,
34+
#355f8d,
35+
#2a788e,
36+
#21908d,
37+
#22a884,
38+
#7ad151,
39+
#bddf26
40+
);
41+
--viridis-purple: linear-gradient(90deg, #440154, #355f8d);
42+
--viridis-blue: linear-gradient(90deg, #414487, #21908d);
43+
--viridis-teal: linear-gradient(90deg, #2a788e, #42be71);
44+
--viridis-green: linear-gradient(90deg, #42be71, #bddf26);
45+
46+
--viridis-purple-vert: linear-gradient(180deg, #440154, #355f8d);
47+
--viridis-blue-vert: linear-gradient(180deg, #414487, #21908d);
48+
/* END BACKGROUND GRADIENTS */
49+
50+
/* FONTS */
51+
--regular: 400;
52+
--bold: 700;
53+
54+
/* Other metrics */
55+
--border-radius: 4px;
56+
--shadow: 0px 2px 2px rgba(0, 0, 0, 0.11);
57+
}
58+
59+
160
a {
261
color: #11557C;
362
text-decoration: none;
@@ -256,6 +315,30 @@ table.property-table td {
256315
width: 210px;
257316
}
258317

318+
.sidebar-announcement {
319+
border-left: solid 1px var(--light-gray);
320+
border-bottom: solid 1px var(--light-gray);
321+
border-right: solid 1px var(--light-gray);
322+
border-bottom-right-radius: var(--border-radius);
323+
border-bottom-left-radius: var(--border-radius);
324+
box-shadow: var(--shadow);
325+
margin-bottom: 20px;
326+
padding: 28px 20px 20px;
327+
position: relative;
328+
}
329+
330+
.sidebar-announcement::before {
331+
content: "";
332+
position: absolute;
333+
top: 0;
334+
left: 0;
335+
display: block;
336+
height: 8px;
337+
width: 100%;
338+
background-color: var(--blue);
339+
background-image: var(--viridis-purple);
340+
}
341+
259342
/* Two columns for install code blocks */
260343
div.twocol {
261344
padding-left: 0;
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<div class="sidebar-announcement">
2-
<p>Matplotlib 3.0 is Python 3 only.</p>
3-
<p>Python 2 support has been dropped on January 1, 2020.</p>
4-
<p>The last Python 2 compatible release is 2.2.5.</p>
2+
<h3>Matpotlib is Hiring!</h3>
3+
<p>We have support for a 3-year Research Software Enigneer Position via
4+
a <a href="https://discourse.matplotlib.org/t/maplotlib-selected-for-nasa-roses-ostfl-2020/22303">grant
5+
from NASA.</a>
6+
</p>
7+
<p>Please
8+
see <a href="https://discourse.matplotlib.org/t/research-software-engineer-roses-2020-position/22597">
9+
the job poisting</a> for more deails and how to apply.</p>
10+
<p><strong>Applications will close April 15, 2022.</strong></p>
11+
512
</div>

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
321321
# and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
322322
"collapse_navigation": not is_release_build,
323323
"show_prev_next": False,
324+
"left_sidebar_end": ["sidebar_announcement.html"],
324325
}
325326
include_analytics = is_release_build
326327
if include_analytics:

0 commit comments

Comments
 (0)
0