Skip to content

Commit d1bfb90

Browse files
Merge pull request #53 from data-8/archive-sp20
Add Archive Banner to sp20 website
2 parents e3c4cc1 + c4d0706 commit d1bfb90

9 files changed

Lines changed: 78 additions & 1 deletion

File tree

sp20/calendar.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
</nav>
5858

5959
<div class="container">
60+
<div class="container">
61+
<div class="archive-banner">
62+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
63+
<a href="https://data8.org">Find current offerings.</a>
64+
</div>
6065
<h2>Calendar</h2>
6166

6267

sp20/faq.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
</nav>
5858

5959
<div class="container">
60+
<div class="container">
61+
<div class="archive-banner">
62+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
63+
<a href="https://data8.org">Find current offerings.</a>
64+
</div>
65+
6066
<h2>FAQ</h2>
6167

6268

sp20/index.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@
5858

5959
<div class="container">
6060
<section id="content">
61-
61+
<div class="container">
62+
<div class="archive-banner">
63+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
64+
<a href="https://data8.org">Find current offerings.</a>
65+
</div>
6266

6367
<h2>Announcements</h2>
6468

sp20/materials.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
</nav>
5858

5959
<div class="container">
60+
<div class="container">
61+
<div class="archive-banner">
62+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
63+
<a href="https://data8.org">Find current offerings.</a>
64+
</div>
65+
6066
<h2>Materials</h2>
6167

6268

sp20/office-hours.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
</nav>
5858

5959
<div class="container">
60+
<div class="container">
61+
<div class="archive-banner">
62+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
63+
<a href="https://data8.org">Find current offerings.</a>
64+
</div>
6065
<h2>Office Hours</h2>
6166

6267

sp20/policies.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
</nav>
5858

5959
<div class="container">
60+
<div class="container">
61+
<div class="archive-banner">
62+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
63+
<a href="https://data8.org">Find current offerings.</a>
64+
</div>
65+
6066
<h2>Policies</h2>
6167

6268

sp20/python-reference.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@
5757
</nav>
5858

5959
<div class="container">
60+
61+
<div class="container">
62+
<div class="archive-banner">
63+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
64+
<a href="https://data8.org">Find current offerings.</a>
65+
</div>
66+
6067
<h2>Python Reference</h2>
6168

6269

sp20/staff.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@
5757
</nav>
5858

5959
<div class="container">
60+
<div class="container">
61+
<div class="archive-banner">
62+
⚠️ This content is archived as of March 2026 and is retained exclusively for reference.
63+
<a href="https://data8.org">Find current offerings.</a>
64+
</div>
65+
6066
<h2>Staff</h2>
6167

6268

sp20/theme/css/main.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,35 @@ a.anchor-link {
9595
.staff .name .biohover:active .bio {
9696
visibility: visible;
9797
}
98+
99+
.archive-banner {
100+
background-color: #d32f2f; /* Deep Red */
101+
color: white;
102+
text-align: center;
103+
padding: 12px 10px;
104+
font-family: sans-serif;
105+
font-weight: bold;
106+
position: relative;
107+
/* position: fixed;
108+
top: 0;
109+
left: 0; */
110+
z-index: 9999;
111+
width: 100%;
112+
box-sizing: border-box;
113+
border-bottom: 2px solid #b71c1c;
114+
}
115+
.archive-banner a {
116+
color: #ffffff;
117+
text-decoration: underline;
118+
text-decoration-thickness: 2px;
119+
text-underline-offset: 3px;
120+
font-weight: 700;
121+
}
122+
123+
.archive-banner a:hover,
124+
.archive-banner a:focus {
125+
text-decoration: none;
126+
background-color: #ffffff;
127+
color: #b30000;
128+
outline: 3px solid #ffcc00;
129+
}

0 commit comments

Comments
 (0)