-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
311 lines (278 loc) · 13.8 KB
/
index.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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<html>
<head>
<!--Welcome To all.Here we included css and bootstrap but not jquery to boost the loading speed-->
<link rel="stylesheet" href="Scripts/css/beauty.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Baloo+Tammudu|Lobster" rel="stylesheet">
<title>HackerRIT</title>
<script src="core.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="Scripts/js/functions.js"></script>
<script> window.onload =function(){ showImg(1)};</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<!--This part is for the login bar-->
<!--------lOGIN BAR-------->
<!---
<div class="row banner" id="ban">
<div id="banner1">
<img src="https://avatars3.githubusercontent.com/u/16742127?v=4&s=200" class="logo">
<p class="logoTitle">HackerRIT</p>
</div>
<div id="banner2"><a class="comp" style="text-decoration:none">Competitions</a></div>
<div id="banner2"><a class="discuss" style="text-decoration:none">Discussions</a></div>
<div id="banner2"><a class="login" id="login-btn" style="text-decoration:none">Login</a></div>
<div id="banner3"><a class="signup" style="text-decoration:none">SignUp</a></div>
</div>
--->
<!---------user-login-popup----------->
<div id="popup">
<div id="login-box">
<h1 id="close">X</h1>
<h1 id="heading">Login</h1>
<form method="post">
<input type="text" id="username" name="u" placeholder="Username" required="required" /><h2 id="tag"><h2/>
<input type="password" name="p" placeholder="Password" required="required" /><h2 id="tag2"><h2/>
<button type="submit" id="login-button" class="btn btn-primary btn-block btn-large">Login</button>
<div id="social" >Login with : <a href="">Google+</a>, <a href="">Github</a></br>, <a href="">facebook</a></div>
<div style="text-align:center;margin-top:20px"><a id="link"><u>create an account</u></a></div>
<div style="text-align:center;margin-top:20px"><a id="forgot"><u>forgot password</u></a></div>
</form>
</div>
</div>
<nav class="navbar navbar-fixed-top" style="background-color:white;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="logoTitle" style="text-decoration:none;"href="#"><img src="https://avatars3.githubusercontent.com/u/16742127?v=4&s=200" class="logo">HackerRIT</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="#" class="key">Competition</a></li>
<li><a href="#" class="key">Practice</a></li>
<li><a href="#" class="key">Discussions</a></li>
<li><a href="#" class="login"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
<li><a href="#" class="signup"><span class="glyphicon glyphicon-user"></span>SignUp</a></li>
</ul>
</div>
</div>
</nav>
<!------------------------------->
<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown" style="position:relative;top:20px;left:50px;">Menu
</button>
<ul class="dropdown-menu">
<li><a class="login" href="#">LogIn</a></li>
<li><a class="signup" href="#">SignUp</a></li>
<li><a href="#">Competitions</a></li>
<li><a href="#">Discussions</a></li>
</ul>
</div>
<!--------lOGIN BAR ENDS-------->
<div class="container-fluid" style="padding-right: 0;padding-left: 0;background-color: #191919;">
<div class="parallax"> </div>
<div class="kword">#whatsYourLANGUAGE</div>
<div class="about text-center">
HackerRIT is platform developed by a team of developers and designers from Rajiv Gandhi Institute of Technology, Kottayam.Its where we practice,clash and win to be at the top.
<br><span style="font-size:28px;font-family:sans sherif"><strong>So Are You Ready To Take The Challenge Or Give The Challenge</strong></span>
<div><a href="#" class="btn btn-lg btn-danger">Join A Challenge</a></div>
</div>
<!-------------------------------->
<div class="gallery">
<div class="images fade">
<img src="http://cfile210.uf.daum.net/image/266C054956D9157D12A7E9" style="width:100%;" class="img-responsive">
<div class="text">Descrip 1</div>
</div>
<div class="images fade">
<img src="https://kbdevstorage1.blob.core.windows.net/asset-blobs/19185_en_1" style="width:100%" class="img-responsive">
<div class="text">Descrip 2</div>
</div>
<div class="images fade">
<img src="http://cfile210.uf.daum.net/image/266C054956D9157D12A7E9" style="width:100%" class="img-responsive">
<div class="text">Descrip 3</div>
</div>
<a class="prev" onclick="imgPos(-1)">❮</a>
<a class="next" onclick="imgPos(1)">❯</a>
</div>
<br>
<div style="text-align:center">
<span class="dot" onclick="currentImg(1)"></span>
<span class="dot" onclick="currentImg(2)"></span>
<span class="dot" onclick="currentImg(3)"></span>
</div>
<!---------------------->
<hr>
<div class="sites text-center">
<h4 style="color:white;">Contact Us Via</h4>
<a href="#"><i class="fa fa-github" style="font-size:50px;" aria-hidden="true"></i></a>
<a href="#"><i class="fa fa-facebook-square" style="font-size:50px;" aria-hidden="true"></i></a>
<a href="#"><img src="https://avatars3.githubusercontent.com/u/16742127?v=4&s=200" style="border-radius:15px;width:45px;height:45px;position:relative;bottom:14px;"></i></a>
</div>
</body>
<!----------css and js for login popup---------------------->
<style>
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
.btn { display: inline-block; *display: inline; *zoom: 1; padding: 4px 10px 4px; margin-bottom: 0; font-size: 13px; line-height: 18px; color: #333333; text-align: center;text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); vertical-align: middle; background-color: #f5f5f5; background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); background-image: linear-gradient(top, #ffffff, #e6e6e6); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#ffffff, endColorstr=#e6e6e6, GradientType=0); border-color: #e6e6e6 #e6e6e6 #e6e6e6; border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); border: 1px solid #e6e6e6; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); cursor: pointer; *margin-left: .3em; }
.btn:hover, .btn:active, .btn.active, .btn.disabled, .btn[disabled] { background-color: #e6e6e6; }
.btn-large { padding: 9px 14px; font-size: 15px; line-height: normal; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }
.btn:hover { color: #333333; text-decoration: none; background-color: #e6e6e6; background-position: 0 -15px; -webkit-transition: background-position 0.1s linear; -moz-transition: background-position 0.1s linear; -ms-transition: background-position 0.1s linear; -o-transition: background-position 0.1s linear; transition: background-position 0.1s linear; }
.btn-primary, .btn-primary:hover { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); color: #ffffff; }
.btn-primary.active { color: rgba(255, 255, 255, 0.75); }
.btn-primary { background-color: #4a77d4; background-image: -moz-linear-gradient(top, #6eb6de, #4a77d4); background-image: -ms-linear-gradient(top, #6eb6de, #4a77d4); background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6eb6de), to(#4a77d4)); background-image: -webkit-linear-gradient(top, #6eb6de, #4a77d4); background-image: -o-linear-gradient(top, #6eb6de, #4a77d4); background-image: linear-gradient(top, #6eb6de, #4a77d4); background-repeat: repeat-x; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#6eb6de, endColorstr=#4a77d4, GradientType=0); border: 1px solid #3762bc; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.5); }
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] { filter: none; background-color: #4a77d4; }
.btn-block { width: 100%; display:block; }
* { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; -o-box-sizing:border-box; box-sizing:border-box; }
html { width: 100%; height:100%; overflow:hidden; }
#popup{
display:none;
z-index:20;
position:absolute;
text-align:center;
width: 100%;
height:100%;
font-family: 'Open Sans', sans-serif;
background:hsla(0, 0%, 0%, 0.6);
alpha:60;
}
input {
width: 100%;
margin-bottom: 10px;
background: rgba(0,0,0,0.3);
border: none;
outline: none;
padding: 10px;
font-size: 13px;
color: #fff;
text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
border: 1px solid rgba(0,0,0,0.3);
border-radius: 4px;
box-shadow: inset 0 -5px 45px rgba(100,100,100,0.2), 0 1px 1px rgba(255,255,255,0.2);
-webkit-transition: box-shadow .5s ease;
-moz-transition: box-shadow .5s ease;
-o-transition: box-shadow .5s ease;
-ms-transition: box-shadow .5s ease;
transition: box-shadow .5s ease;
}
input:focus { box-shadow: inset 0 -5px 45px rgba(100,100,100,0.4), 0 1px 1px rgba(255,255,255,0.2); }
#link{
color:white;
text-align:center;
font-size:15px;
}
#forgot{
color:white;
text-align:center;
font-size:15px;
}
#link:hover{
cursor:pointer;
}
#logo{
text-align:center;
font-family:Baloo Tammudu;
color:white;
position:fixed;
width:100%;
}
#social{
font-size:15px;
font-family:Baloo tammudu;
color: white;
margin:5px;
margin-top:15px;
}
#heading{
text-align:center;
color:white;
}
#close{
font-family:Baloo Tammudu;
color:white;
font-size:25px;
right:1;top:1;
position:absolute;
margin-right:10px;
cursor:pointer;
}
#login-box{
width:40%;
max-height:90%;
border:1px solid white;
margin: auto;
position:absolute;
overflow:scroll;
top:0;
bottom:0;
left:0;
right:0;
padding:50px;
border-radius:30px;
opacity:0;
<!-----------creates the background gradient------------------>
background: #092756;
background: -moz-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%),-moz-linear-gradient(top, rgba(57,173,219,.25) 0%, rgba(42,60,87,.4) 100%), -moz-linear-gradient(-45deg, #670d10 0%, #092756 100%);
background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), -webkit-linear-gradient(top, rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), -webkit-linear-gradient(-45deg, #670d10 0%,#092756 100%);
background: -o-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), -o-linear-gradient(top, rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), -o-linear-gradient(-45deg, #670d10 0%,#092756 100%);
background: -ms-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), -ms-linear-gradient(top, rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), -ms-linear-gradient(-45deg, #670d10 0%,#092756 100%);
background: -webkit-radial-gradient(0% 100%, ellipse cover, rgba(104,128,138,.4) 10%,rgba(138,114,76,0) 40%), linear-gradient(to bottom, rgba(57,173,219,.25) 0%,rgba(42,60,87,.4) 100%), linear-gradient(135deg, #670d10 0%,#092756 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3E1D6D', endColorstr='#092756',GradientType=1 );
}
::-webkit-scrollbar {
width: 0px; /* remove scrollbar space */
background: transparent; /* optional: just make scrollbar invisible */
}
@media screen and (max-width: 500px){
#login-box{
width:90%;
max-height:90%;
padding:10px;
border-radius:30px;
}
}
}
</style>
<script>
$("#link").click(function(){
$('#tag').append('<input type="text" id="email" name="u" placeholder="email adress" required="required" />');
$('#tag2').append('<input type="text" id="confpass" name="u" placeholder="Confirm password" required="required" />');
$('#link').html('<a id="link2"><u>cancel</u></a>');
$('#forgot').remove();
$('#heading').text('Signup');
$("#login-button").text('Signup');
$("#link2").click(function(){
location.reload();
});
});
$(".login").click(function(){
$('#popup').show();
$('#login-box').animate({
opacity:'1'
});
});
$(".signup").click(function(){
$('#popup').show();
$('#tag').append('<input type="text" id="email" name="u" placeholder="email adress" required="required" />');
$('#tag2').append('<input type="text" id="confpass" name="u" placeholder="Confirm password" required="required" />');
$('#link').html('<a id="link2"><u>cancel</u></a>');
$('#forgot').remove();
$('#heading').text('Signup');
$("#login-button").text('Signup');
$("#link2").click(function(){
location.reload();
});
});
$('#login-box').animate({
opacity:'1'
});
$("#close").click(function(){
location.reload();
});
</script>
</html>