Skip to content

Commit 3c769da

Browse files
committed
Add nrcon banner
1 parent f2f6f78 commit 3c769da

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

_includes/header.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@
4242
{% endif %}
4343
</head>
4444
<body>
45-
45+
<div class="banner">
46+
<a href="https://nrcon.nodered.org" class="banner-content">
47+
Node-RED Con - 4th November 2025 - Call for Papers now open &raquo;
48+
</a>
49+
</div>
4650
<div class="header">
4751
<div class="header-content">
4852
<div class="brand"><a href="/">Node-RED</a></div>

css/style.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ dd {
5454
padding: 0px 10px;
5555
min-height: 50px;
5656
background: #333;
57-
5857
}
5958
.header-content {
6059
width: 100%;
@@ -124,6 +123,23 @@ dd {
124123
text-align: center;
125124
}
126125

126+
.banner {
127+
font-family: "Roboto Slab";
128+
font-size: 16px;
129+
line-height: 50px;
130+
padding: 0px 10px;
131+
min-height: 50px;
132+
background: #333;
133+
border-bottom: 1px solid #eee;
134+
text-align: center;
135+
}
136+
.banner-content {
137+
width: 100%;
138+
max-width: 1155px;
139+
min-width: 755px;
140+
margin: 0 auto;
141+
color: #fff;
142+
}
127143

128144
/**** END HEADER ****/
129145

@@ -287,4 +303,8 @@ dd {
287303
.header ul a:hover {
288304
border: none;
289305
}
306+
307+
.banner-content {
308+
min-width: 0;
309+
}
290310
}

0 commit comments

Comments
 (0)