forked from reps54321/def-hacks-overhaul
-
Notifications
You must be signed in to change notification settings - Fork 0
/
announcement.html
147 lines (134 loc) · 3.03 KB
/
announcement.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html>
<head> <title> Announcement Bar</title></head>
<style>
body{
margin: 0;
padding: 0;
width: 100%;
}
#hellobar-bar {
font-family: "Open Sans", sans-serif;
width: 100%;
margin: 0;
height: 30px;
display: table;
font-size: 17px;
font-weight: 400;
padding: .33em .5em;
-webkit-font-smoothing: antialiased;
color: #5c5e60;
position: fixed;
background-color: white;
box-shadow: 0 1px 3px 2px rgba(0,0,0,0.15);
}
#hellobar-bar.regular {
height: 30px;
font-size: 14px;
padding: .2em .5em;
}
.hb-content-wrapper {
text-align: center;
text-align: center;
position: relative;
display: table-cell;
vertical-align: middle;
}
.hb-content-wrapper p {
margin-top: 0;
margin-bottom: 0;
}
.hb-text-wrapper {
margin-right: .67em;
display: inline-block;
line-height: 1.3;
}
.hb-text-wrapper .hb-headline-text {
font-size: 1em;
display: inline-block;
vertical-align: middle;
}
#hellobar-bar .hb-cta {
display: inline-block;
vertical-align: middle;
margin: 5px 0;
color: #ffffff;
background-color: green;
border-color: green;
}
.hb-cta-button {
opacity: 1;
color: #fff;
display: block;
cursor: pointer;
line-height: 1.5;
max-width: 22.5em;
text-align: center;
position: relative;
border-radius: 3px;
white-space: nowrap;
margin: 1.75em auto 0;
text-decoration: none;
padding: 0;
overflow: hidden;
}
.hb-cta-button .hb-text-holder {
border-radius: inherit;
padding: 5px 15px;
}
.hb-close-wrapper {
display: table-cell;
width: 1.6em;
}
.hb-close-wrapper .icon-close {
font-size: 14px;
top: 15px;
right: 25px;
width: 15px;
height: 15px;
opacity: .3;
color: #000;
cursor: pointer;
position: absolute;
text-align: center;
line-height: 15px;
z-index: 1000;
text-decoration: none;
}
td {
position: relative;
width: fit-content;
font-size: 14px;
transition: font-size 0.3s;
}
td:hover {
top: 0;
left: 0;
font-size: 16px;
text-decoration: solid;
}
</style>
<body>
<div id="hellobar-bar" class="regular closable">
<div class="hb-content-wrapper">
<div class="hb-text-wrapper">
<div class="hb-headline-text">
<table>
<tr>
<td>The </td><td>Global </td> <td>v2.0 </td> <td>Hackathon </td> <td>will </td> <td>start </td> <td>soon. </td> <td>Willing </td> <td>to </td> <td> Participate?? </td>
</tr>
</table>
</div>
</div>
<a href=".\global_2.0.html#subscribe" target="_blank" class="hb-cta hb-cta-button">
<div class="hb-text-holder">
<p>Register Now</p>
</div>
</a>
</div>
<div class="hb-close-wrapper">
<a href="javascript:void(0);" class="icon-close" onClick="$('#hellobar-bar').fadeOut()">✖</a>
</div>
</div>
</body>
</html>