Skip to content

Commit

Permalink
Revert "Revert "Add a banner to inform users about the mail.p.o failu…
Browse files Browse the repository at this point in the history
…re.""

This reverts commit 06e40b8.
  • Loading branch information
berkerpeksag committed Oct 25, 2015
1 parent 06e40b8 commit e80239b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
6 changes: 5 additions & 1 deletion static/sass/_functions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@
}
}
}
#oldie-warning {
#python-status {
@extend #oldie-warning;
padding: .30em 0;
}
#oldie-warning, #python-status {
background-color: #ff7;

p {
Expand Down
19 changes: 11 additions & 8 deletions static/sass/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3024,28 +3024,31 @@ p.quote-by-organization {
.flex-control-paging {
display: none; } }
/* ! ==== No JS warning message... more of a suggestion, really ==== */
#nojs, #oldie-warning {
#nojs, #oldie-warning, #python-status {
padding: .75em .75em .65em;
text-align: center;
background-color: #c33; }
#nojs p, #oldie-warning p {
#nojs p, #oldie-warning p, #python-status p {
color: #e6e6e6;
font-weight: bold;
margin: 0; }
#nojs a, #oldie-warning a {
#nojs a, #oldie-warning a, #python-status a {
color: #e6e6e6;
text-decoration: underline; }
#nojs a:hover, #nojs a:focus, #oldie-warning a:hover, #oldie-warning a:focus {
#nojs a:hover, #nojs a:focus, #oldie-warning a:hover, #python-status a:hover, #oldie-warning a:focus, #python-status a:focus {
color: #fff;
text-decoration: none; }

#oldie-warning {
#python-status {
padding: .30em 0; }

#oldie-warning, #python-status, #python-status {
background-color: #ff7; }
#oldie-warning p {
#oldie-warning p, #python-status p, #python-status p {
color: #444; }
#oldie-warning a {
#oldie-warning a, #python-status a, #python-status a {
color: #444; }
#oldie-warning a:hover, #oldie-warning a:focus {
#oldie-warning a:hover, #python-status a:hover, #oldie-warning a:focus, #python-status a:focus, #python-status a:hover, #python-status a:focus {
color: #000; }

.js #nojs {
Expand Down
7 changes: 7 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@
</div>
<![endif]-->

<div id="python-status" class="do-not-print">
<p>
<strong>Notice:</strong> mail.python.org has suffered a hardware failure.
<a href="https://status.python.org/incidents/l1jd6jcswlkh">(more info)</a>
</p>
</div>

<!-- Sister Site Links -->
<div id="top" class="top-bar do-not-print">

Expand Down

0 comments on commit e80239b

Please sign in to comment.