-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfreethink.html
341 lines (334 loc) · 7.88 KB
/
freethink.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
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Oswald">
</head>
<title>FreeThinkers</title>
<script>
$(window).on("scroll", function() {
if($(window).scrollTop() > 50) {
$(".navbar-fixed-top").addClass("active");
} else {
//remove the background property so it comes transparent again (defined in your css)
$(".navbar-fixed-top").removeClass("active");
}
});
$(document).ready(function(){
$('.about').click(function() {
$('html, body').animate({ scrollTop: 550 }, 50);
});
$('.join').click(function() {
$('html, body').animate({ scrollTop: 800 }, 50);
});
$('.contactus').click(function() {
$('html, body').animate({ scrollTop: 1000 }, 50);
});
});
</script>
<style>
.active{
background-color:white;
}
body{
font-family:'Oswald';
}
.page-header{
border-bottom:0px;
margin:0px;
padding-bottom:9px;
padding:20px 0 20px;
}
.row{
width:100%;
}
#main{
width:45%;
margin-left:27.5%;
margin-top:6%;
font-size:49px;
text-align:center;
margin-bottom:1.8%;
font-family:'Oswald';
}
.jumbotron{
height:51em;
background-color:#708090;
}
#headlink{
text-align:center;
font-size:1.5em;
color:black;
}
.col-sm-2{
text-align:center;
}
#liberal{
float:left;
height:58.5px;
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
border-top-left-radius:0px;
border-top-right-radius:0px;
border: 1px solid black;
}
button#liberal{
width:8%;
color:white;
background-color:black;
font-size:1.5em;
font-weight:600;
}
.email{
width:23.4%;
margin-left:34.25%;
}
p#or{
margin-top:5%;
text-align:center;
}
.btn-lg{
margin-left:45.6%;
}
.jumbotron p{
font-size:2.642em;
color:black;
text-align:center;
}
#aboutpar{
width:50%;
text-align:center;
margin-left:25%;
font-size:2em;
}
#abtheader{
text-align:center;
color:#708090;
font-size:2.642em;
}
.glyphicon{
top:15px;
font-size: 6.21em;
margin-left:43%;
}
.joinus{
background-color:#708090;
color:white;
}
#joinhead{
text-align:center;
font-size:2.642em;
font-weight:700;
}
#joindescrip{
font-size:1.5em;
text-align:center;
}
#whyjoin{
font-size:2em;
text-align:center;
margin-top:3%;
font-weight:700;
}
.btn-lg{
background-color:white;
margin-left:45.4%;
font-size:1.5em;
font-weight:700;
text-align:center;
}
.contact{
width:20%;
margin:auto;
margin-top:2%;
}
#contacthead{
text-align:center;
font-size:2em;
margin-top:4%;
}
.menu{
text-align:center;
}
@media (min-width:450px) and (max-width:1500px) {
#main{
width:62%;
margin-left:19%;
margin-bottom:2.2%;
margin-top:2%;
}
.email{
width:33%;
margin-left:27%;
}
button#liberal{
width:13%;
}
p#or{
margin-top:6%;
}
.btn-lg{
margin-left:42.5%;
}
.jumbotron{
background-color:#708090;
margin-bottom:1.5%;
height:44em;
}
.joinus{
background-color:#708090;
}
#launch{
margin-top:-2%;
font-size:2em;
}
#aboutpar{
width:60%;
margin-left:20%;
}
}
@media (max-width:450px){
#main{
font-size:21px;
width:80%;
margin-left:10%;
margin-top:18%;
margin-bottom:5.8%;
}
button#liberal{
width:26%;
}
.email{
width:60%;
margin-left:7%;
}
.btn-lg{
margin-left:25%;
}
.about{
margin-left:0%;
}
#aboutpar{
width:80%;
margin-left:10%;
font-size:19px;
}
.glyphicon{
font-size:49px;
margin-left:44%;
}
#joinhead{
font-size:28px;
}
#whyjoin{
font-size:21px;
margin-top:9%;
}
col-xs-4{
width:100%;
}
#joindescrip{
font-size:19px;
}
.contact{
width:100%;
}
#launch{
font-size:2em;
}
}
a{
color:black;
}
#launch{
font-weight:700;
color:white;
margin-top:-1%;
margin-bottom:1%;
}
</style>
<body>
<div class="page-header navbar-fixed-top">
<div class="row">
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-4 menu about">
<a href="#" id="headlink"><b>About Us</b></a>
</div>
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-4 menu join">
<a href="#" id="headlink"><b>Why Join Us?</b></a>
</div>
<div class="col-lg-4 col-sm-4 col-md-4 col-xs-4 menu contactus">
<a href="#" id="headlink"><b>Contact Us</b></a>
</div>
</div>
</div>
<div class="jumbotron">
<p id="main">A Groundbreaking Platform for High School Students to Engage with the World's Most Pressing Issues.</p>
<p id="launch">Sign up now or submit an article for when we launch in September 2016 </p>
<form role="form" action="landing.php" method="post">
<input type="text" class="form-control email" name="email" placeholder="Enter your email adress" id="liberal">
<button type="submit" name="signup" class="btn" id="liberal">Sign Up</button>
</form>
<p id="or">Or</p>
<a href="blogupload.php"><button type="button" class="btn btn-lg" name="submit">Submit an article</button></a>
</div>
<div class="aboutus">
<p id="abtheader">About Us</p>
<p id="aboutpar">In the age of the internet, there is no reason for there not to exist a platform for thoughtful, passionate high schoolers to voice their opinions about the world and engage in a conversation with their generation. FreeThinkers is a platform that provides that opportunity. Any high school student can submit an article about issues they care about, including but not limited to politics, culture, education, and technology. </p>
</div>
<div class="joinus">
<p id="joinhead">Why Join Us</p>
<div class="row">
<div class="col-sm-4 col-lg-4 col-xs-12 col-md-4 ">
<span class="glyphicon glyphicon-pencil"></span>
<p id="whyjoin">Share Your Opinion</p>
<p id="joindescrip">Don’t keep your insights in your head. Share them with the world. Take pride in the content you create and allow thousands of your peers to read and critique your ideas.</p>
</div>
<div class="col-sm-4 col-lg-4 col-xs-12 col-md-4">
<span class="glyphicon glyphicon-globe"></span>
<p id="whyjoin">Engage in a Discussion</p>
<p id="joindescrip">FreeThinkers is a place to learn about and debate the incredibly varying opinions of today’s high school students. View new perspectives and have enriching conversations with your peers. </p>
</div>
<div class="col-sm-4 col-lg-4 col-xs-12 col-md-4">
<span class="glyphicon glyphicon-usd"></span>
<p id="whyjoin">Get Paid</p>
<p id="joindescrip">You deserve to be compensated for your hard work. FreeThinkers will receive advertising revenue which will be shared with authors. Authors will receive compensation depending on the number of views their articles receive.</p>
</div>
</div>
</div>
<div class="contact">
<h1 id="abtheader">Contact Us</h1>
<form role="form" action="landing.php" method="post">
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" name="conname">
</div>
<div class="form-group">
<label for="email">Email Address:</label>
<input type="email" name="email" class="form-control" id="conemail">
</div>
<div class="form-group">
<label for="phone">Phone # (Optional):</label>
<input type="text" class="form-control" id="phone" name="conphone">
</div>
<div class="form-group">
<label for="Subject">Subject:</label>
<input type="subject" class="form-control" id="Subject" name="consub">
</div>
<div class="form-group">
<label for="Message">Message:</label>
<textarea class="form-control" rows="5" id="message" name="conmessage"></textarea>
</div>
<div class="form-group">
<input type="submit" class="btn btn-default" name="contactsubmit" class="form-control" value="submit" id="mybtn"></input>
</div>
</form>
</div>
</body>
</html>
END;
?>