Skip to content

Commit e1c6b60

Browse files
committed
lab move banner
1 parent 4dc6c9e commit e1c6b60

File tree

2 files changed

+36
-2
lines changed

2 files changed

+36
-2
lines changed

_includes/header.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,9 @@
4040
{% endfor %}
4141
</ul>
4242
</div>
43-
</div>
43+
</div>
44+
<br><br><br>
45+
<div id="lab-move-banner">
46+
<p><strong>🚚 Part of the lab is moving to TU Graz in Austria!</strong> <br>
47+
Visit our new website at <a href="http://visdesignlab.net">visdesignlab.net</a>. This site will remain available indefinitely for archival purposes, but it will no longer be updated after August 2025.</p></div>
48+

css/site.scss

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,35 @@ $small-display: new-breakpoint(max-width 749px $small-display-columns);
1717
$medium-display: new-breakpoint(min-width 750px max-width 1199px $medium-display-columns);
1818
$large-display: new-breakpoint(min-width 1200px $large-display-columns);
1919

20+
#lab-move-banner {
21+
background-color: #fffae6;
22+
color: #333;
23+
text-align: left;
24+
padding: 1em 1.5em;
25+
font-size: 1.1rem;
26+
border-bottom: 2px solid #f0c000;
27+
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
28+
z-index: 1000;
29+
}
30+
31+
#lab-move-banner a {
32+
color: #b85c00;
33+
font-weight: bold;
34+
text-decoration: underline;
35+
}
36+
37+
#lab-move-banner a:hover {
38+
color: #8a4500;
39+
}
40+
41+
@media screen and (max-width: 600px) {
42+
#lab-move-banner {
43+
font-size: 1rem;
44+
padding: 0.8em;
45+
margin-bottom: 0;
46+
}
47+
}
48+
2049
/* site specific changes that do not fit into base */
2150

2251
@mixin navigation-button($color) {
@@ -98,7 +127,7 @@ $large-display: new-breakpoint(min-width 1200px $large-display-columns);
98127
.banner {
99128
display: block;
100129
//height: 40px;
101-
margin-top: 40px;
130+
margin-top: 0px;
102131
margin-bottom: 40px;
103132
//margin-bottom: 20px;
104133
//padding-bottom:20px;

0 commit comments

Comments
 (0)