8000 added banner layout · codezoned/codezoned.com@7836a9b · GitHub
[go: up one dir, main page]

Skip to content

Commit 7836a9b

Browse files
committed
added banner layout
1 parent 3083aa3 commit 7836a9b

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

assets/css/banner.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.banner {
2+
text-align: center;
3+
width: 100%;
4+
height: fit-content;
5+
background-color: #c64236;
6+
}
7+
.banner-text {
8+
line-height: normal;
9+
font-family: profontwindows;
10+
font-size: 1.7rem;
11+
color: #ffffff;
12+
margin-bottom: 0;
13+
padding: 1% 0 1% 0;
14+
}
15+
.banner-text strong {
16+
font-family: 'Quicksand', sans-serif;
17+
font-size: 2rem;
18+
}
19+
.banner-text a {
20+
color: #ffffff;
21+
}
22+
.banner-text a:hover {
23+
color: #202020;
24+
}

index.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
<link rel="stylesheet" type="text/css" href="assets/slick.css">
3030
<link rel="stylesheet" type="text/css" href="slick-theme.css">
31-
31+
<link rel="stylesheet" type="text/css" href="./assets/css/banner.css">
32+
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap" rel="stylesheet">
3233

3334
<style>
3435
@font-face{
@@ -241,7 +242,7 @@
241242
<header style="position: absolute;">
242243
<nav class="navbar navbar-toggleable-sm navbar-fixed-top" style="background-color: black;">
243244

244-
<div><a href="http://www.codezoned.com" class="navbar-brand mb-0" style=""><img src="assets/img/CZmainsmall.png" style="width: 12%; min-width: 150px;"></a></div>
245+
<div><a href="http://www.codezoned.com" class="navbar-brand mb-0" style=""><img src="/home/swaaz/swaaz/github/codezoned.com/assets/img/CZmainSmall.png" style="width: 12%; min-width: 150px;"></a></div>
245246

246247
<button class="navbar-toggler navbar-toggler-right collapsed" type="button" data-toggle="collapse" data-target="#headerNav" aria-controls="headerNav" aria-expanded="false" aria-label="Toggle navigation">
247248
<span class="navbar-toggler-icon" style="color: white; width: 80px; background-color: #343434; padding-top: 2px; margin-top: 5px;">Menu</span>
@@ -271,6 +272,10 @@
271272
</ul>
272273
</div>
273274
</nav>
275+
276+
<div class="banner" onclick="window.location.href='https://hac.codezoned.com';" value="Hac">
277+
<p class="banner-text"><a href="https://hac.codezoned.com">Codezoned's latest hackathon -<strong> HAC "HackAgainstCovid" </strong> is open for registration</a> </p>
278+
</div>
274279
</header>
275280
<br>
276281

0 commit comments

Comments
 (0)
0