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

Skip to content

Commit e6d6175

Browse files
committed
DOC: add jobs banner
1 parent 4da7b4b commit e6d6175

2 files changed

Lines changed: 41 additions & 7 deletions

File tree

doc/_static/mpl.css

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
font-family: 'CarlogoRegular';
99
font-style: normal;
1010
src: local('Carlito'),
11-
url('fonts/carlogo-regular.woff2') format('woff2'),
11+
url('fonts/carlogo-regular.woff2') format('woff2'),
1212
url('fonts/carlogo-regular.woff') format('woff'),
1313
url('fonts/carlogo-regular.ttf') format('truetype')
1414
}
@@ -17,7 +17,7 @@
1717
font-family: 'CarlogoBold';
1818
font-style: bold;
1919
src: local('Carlito Bold'),
20-
url('fonts/carlogo-bold.woff2') format('woff2'),
20+
url('fonts/carlogo-bold.woff2') format('woff2'),
2121
url('fonts/carlogo-bold.woff') format('woff'),
2222
url('fonts/carlogo-bold.ttf') format('truetype')
2323
}
@@ -926,6 +926,30 @@ figcaption {
926926
#unreleased-message a {
927927
color: #fff;
928928
text-decoration:underline;
929+
930+
}
931+
932+
/* "We're hiring" message. */
933+
#job-posting {
934+
box-sizing: border-box;
935+
left: 0;
936+
min-height: 3em;
937+
padding: 0.7em;
938+
top: 0;
939+
width: 100%;
940+
z-index: 10000;
941+
background-image: linear-gradient(90deg, #440154, #482475, #414487, #355f8d, #2a788e, #21908d, #22a884, #42be71, #7ad151, #bddf26, #bddf26);
942+
padding: 5px
943+
}
944+
945+
#job-posting a {
946+
font-weight: bold;
947+
}
948+
949+
#job-posting p{
950+
background-color: rgba(255, 255, 255, .8);
951+
padding: 13px;
952+
margin:0;
929953
}
930954

931955
/* Fork me on GitHub "button" */
@@ -1150,23 +1174,23 @@ nav.main-nav{
11501174
font-family: 'CarlogoRegular', 'Carlito', sans-serif;
11511175
font-size: 16px;
11521176
}
1153-
1177+
11541178
nav.main-nav ul{
11551179
margin: 0;
11561180
padding: 0;
11571181
display: flex;
11581182
flex-direction: row;
11591183
}
1160-
1184+
11611185
nav.main-nav li{
11621186
margin: 8px 15px;
11631187
list-style-type: none;
11641188
}
1165-
1189+
11661190
nav.main-nav a{
11671191
color: white;
11681192
}
1169-
1193+
11701194
nav.main-nav a:hover{
11711195
text-decoration: underline;
1172-
}
1196+
}

doc/_templates/layout.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,15 @@ <h3>{{ _('Navigation') }}</h3>
171171
<body>
172172
{%- block header %}{% endblock %}
173173

174+
<div id="job-posting">
175+
<p>Matplotlib is hiring a Research Software Engineering Fellow!
176+
<a href="https://discourse.matplotlib.org/t/now-hiring-matplotlib-research-software-engineering-fellow/20701"> See discourse for details.
177+
</a>
178+
179+
Apply by January, 3 2020 </p>
180+
</div>
181+
182+
174183
{% block relbar1 %}
175184

176185
{%- if '+' in release %}
@@ -180,6 +189,7 @@ <h3>{{ _('Navigation') }}</h3>
180189
Try searching for the released version of this page instead?
181190
</a>
182191
</div>
192+
183193
{%- endif %}
184194

185195
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px; position: relative;">

0 commit comments

Comments
 (0)