-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
340 lines (324 loc) · 11.7 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
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
<!doctype html>
<html lang="en">
<head>
<title> Conquer Remake </title>
<meta name="robots" content="index, follow" />
<meta charset="UTF-8">
<link rel="canonical" href="" />
<meta name="keywords" content="Framework CSS CSS3 HTML HTML5 Javascript Cayla Savitzky">
<meta name = "description" content = "Conquer's design and content is built to mimic a free Bootstrap template from templatemo website. This is a demo page by Cayla Savitzky, built without any framework">
<meta name="author" content="Cayla Savitzky">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Archivo+Narrow" rel="stylesheet">
<link rel = "stylesheet" type = "text/css" href = "style.css" />
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css'>
<veiwport>
</veiwport>
<!--- Remaining Tasks
1) Better words
2) working links
2.5) Make parallax1 less wiggly
3) Upload
4?) CSS smooth scrolling
5?) Send form emails things to me
-->
</head>
<body onscroll="scrollfunc(event,this)">
<header id = "section1" class = section >
<div class = "parallax1">
<div>
<h1>
"Conquer"
</h1>
<h4>
Just css3, html5, and javascript
</h4>
</div>
</div>
</header>
<div class = "nav">
<label id = "navcheckboxlabel" for= "navcheckbox">
☰
</label>
<input type = "checkbox" name = "checkbox" id = "navcheckbox"></input>
<ul id = "navitems">
<li>
<a class = "sectionlink highlighted" href = "#section1" onclick = "scrollscreen(this);">
Homepage
</a>
</li>
<li>
<a class = "sectionlink" href = "#section2" onclick = "scrollscreen(this);">
About Us
</a>
</li>
<li>
<a class = "sectionlink" href = "#section3" onclick = "scrollscreen(this);">
Services
</a>
</li>
<li>
<a class = "sectionlink" href = "#section4" onclick = "scrollscreen(this);">
Contact
</a>
</li>
<li>
<a class = "sectionlink" href = "#section5" onclick = "scrollscreen(this);">
External
</a>
</li>
</ul>
</div>
<div id = "section2" class = section>
<section class = "section2_area1">
<div class = "material_holder_outer">
<div class = "material_holder_inner col_3_holder">
<div class = "content_holder_outer col_3">
<div class = "content_holder_inner">
<img src = "img/1-1.jpg">
<h2 class = "green_txt">
Column 1
</h2>
<p>
Morbi sagittis justo a velit placerat ullamcorper quis quis velit. Sed convallis at risus ullamcorper auctor. Praesent quis velit neque. Quisque semper porta nisi vitae suscipit. Duis lectus magna, ornare ac scelerisque.
</p>
<a class = "green_bk">
Button Green
</a>
</div>
</div>
<div class = "content_holder_outer col_3">
<div class = "content_holder_inner">
<img src = "img/1-2.jpg">
<h2 class = "blue_txt">
Column 2
</h2>
<p>
Morbi sagittis justo a velit placerat ullamcorper quis quis velit. Sed convallis at risus ullamcorper auctor. Praesent quis velit neque. Quisque semper porta nisi vitae suscipit. Duis lectus magna, ornare ac scelerisque.
</p>
<a class = "blue_bk">
Button Blue
</a>
</div>
</div>
<div class = "content_holder_outer col_3">
<div class = "content_holder_inner">
<img src = "img/1-3.jpg">
<h2 class = "red_txt">
Column 3
</h2>
<p>
Morbi sagittis justo a velit placerat ullamcorper quis quis velit. Sed convallis at risus ullamcorper auctor. Praesent quis velit neque. Quisque semper porta nisi vitae suscipit. Duis lectus magna, ornare ac scelerisque.
</p>
<a class = "red_bk">
Button Red
</a>
</div>
</div>
</div>
</div>
</section>
<section class = "section2_area2" >
<div class = "material_holder_outer">
<div class = "material_holder_inner flex_holder">
<div class = "content_holder_outer col_2">
<div class = "content_holder_inner">
<img src = "img/2-1.jpg">
<h2>
If you're interested in seeing my work
</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam tempor eros eget eros maximus, ut cursus sem euismod. Donec iaculis tristique odio at consectetur. Nullam dignissim varius suscipit. Sed in leo sit amet velit finibus pretium.
<br>
Vestibulum vel mauris at erat mattis accumsan et ac lorem. Cras non venenatis orci, sed tincidunt massa. Duis nisl lectus, auctor eu sodales at, dignissim eu orci. Sed vitae venenatis magna, in blandit metus.
</p>
</div>
</div>
<div class = "content_holder_outer col_2">
<div class = "content_holder_inner">
<img src = "img/2-2.jpg">
<h2>
Then check out my site!
</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam tempor eros eget eros maximus, ut cursus sem euismod. Donec iaculis tristique odio at consectetur. Nullam dignissim varius suscipit. Sed in leo sit amet velit finibus pretium.
<br>
Vestibulum vel mauris at erat mattis accumsan et ac lorem. Cras non venenatis orci, sed tincidunt massa. Duis nisl lectus, auctor eu sodales at, dignissim eu orci. Sed vitae venenatis magna, in blandit metus.
</p>
<a class = "grey_button">
blandit metus.
</a>
</div>
</div>
</div>
</div>
</section>
</div>
<div id = "section3" class = section>
<section class = "section3_area1">
<div class = "parallax2">
<div>
<h2>
"Our Services"
</h2>
<p>
Nunc diam leo, fringilla vulputate elit lobortis, consectetur vestibulum quam. Sed id <br>felis ligula. In euismod libero at magna dapibus, in rutrum velit lacinia. <br> Etiam a mi quis arcu varius condimentum
</p>
</div>
</div>
</section>
<section class = "section3_area2">
<div class = "material_holder_outer flex_holder">
<div class = "material_holder_inner flex">
<div class = "content_holder_outer col_4">
<div class = "content_holder_inner">
<img src = "img/4-1.jpg">
<h2>
Column 1
</h2>
<p>
Ut ac odio scelerisque ante ornare commodo. Sed faucibus dui libero, in tincidunt purus pretium quis. Fusce posuere egestas enim eu viverra.
</p>
</div>
</div>
<div class = "content_holder_outer col_4">
<div class = "content_holder_inner">
<img src = "img/4-2.jpg">
<h2>
Column 2
</h2>
<p>
Ut ac odio scelerisque ante ornare commodo. Sed faucibus dui libero, in tincidunt purus pretium quis. Fusce posuere egestas enim eu viverra.
</p>
</div>
</div>
</div>
<div class = "material_holder_inner flex">
<div class = "content_holder_outer col_4">
<div class = "content_holder_inner">
<img src = "img/4-3.jpg">
<h2>
Column 3
</h2>
<p>
Ut ac odio scelerisque ante ornare commodo. Sed faucibus dui libero, in tincidunt purus pretium quis. Fusce posuere egestas enim eu viverra.
</p>
</div>
</div>
<div class = "content_holder_outer col_4">
<div class = "content_holder_inner">
<img src = "img/4-4.jpg">
<h2>
Column 4
</h2>
<p>
Ut ac odio scelerisque ante ornare commodo. Sed faucibus dui libero, in tincidunt purus pretium quis. Fusce posuere egestas enim eu viverra.
</p>
</div>
</div>
</div>
</div>
<div class = "material_holder_outer">
<div class = "material_holder_inner flex_holder">
<div class = "content_holder_outer col_1">
<div class = "content_holder_inner">
<img src = "img/4-5.jpg">
<h2>
Column 1
</h2>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam tempor eros eget eros maximus, ut cursus sem euismod. Donec iaculis tristique odio at consectetur. Nullam dignissim varius suscipit. Sed in leo sit amet velit finibus pretium. Vivamus dictum nisi ac fermentum interdum. Vestibulum vel mauris at erat mattis accumsan et ac lorem. Cras non venenatis orci, sed tincidunt massa. Duis nisl lectus, auctor eu sodales at, dignissim eu orci. Sed vitae venenatis magna, in blandit metus. Praesent volutpat cursus rhoncus. Aenean arcu diam, suscipit ac neque in, sollicitudin convallis orci.
</p>
<p>
Fusce eu porta massa, sed tincidunt turpis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus a urna tellus. Integer pharetra vitae nisi et lacinia. Morbi sagittis justo a velit placerat ullamcorper quis quis velit. Sed convallis at risus ullamcorper auctor. Praesent quis velit neque. Quisque semper porta nisi vitae suscipit. Duis lectus magna, ornare ac scelerisque quis, maximus eget nisi.
</p>
</div>
</div>
</div>
</div>
</section>
</div>
<div id = "section4" class = section>
<section class = section4_area1>
<div class = "material_holder_outer">
<div class = "material_holder_inner parallax3">
<div class = "material_holder_outer flex">
<div class = "col_1_medium">
<h2 class = "full">
Contact Form
</h2>
</div>
</div>
<div class = "content_holder_outer flex">
<div class = "content_holder_inner col_1_medium margin_sides_15">
<p>
Nunc diam leo, fringilla vulputate elit lobortis, consectetur vestibulum quam. Sed id <br>felis ligula. In euismod libero at magna dapibus, in rutrum velit lacinia. <br> Etiam a mi quis arcu varius condimentum.
</p>
</div>
</div>
<form class = "content_holder_outer flex margin_top_30">
<div class = "content_holder_inner col_2_s2">
<input class = "full input" type="text" value = "Name"> <br>
<input class = "full input" type="email" value = "Email"> <br>
<input class = "full input" type="subject" value = "Subject">
</div>
<div class = "content_holder_inner col_2_s2">
<textarea class = "col_2_s2 input full">Your message here...
</textarea>
<div class="full">
<button class = "input left black_button">
Send
</button>
</div>
</div>
</form>
</div>
</div>
</section>
</div>
<footer id = "section5" class = section>
<div class = "material_holder_outer">
<div class = "material_holder_inner">
<div class = "content_holder_outer 1_col padding_top_45">
<div class = "content_holder_inner">
<h2 >
Column 1
</h2>
<p class = "border_bottom_sm">
"Conquer"'s design and content is built to mimic a free Bootstrap template from templatemo website.
<br>
No backlink is required to use this layout.”
</p>
<p>
Copyright © 2084 Your Company Name | Design: template mo | Implementation Cayla Savitzky
</p>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>
<script>
var links = document.getElementsByClassName("sectionlink");
for (i = 0; i<links.length; i++){
links[i].name = links[i].href;
links[i].removeAttribute("href");
}
function scrollscreen(element){
var address = element.name.slice(-8);
var tar = document.getElementById(address);
tar.scrollIntoView({behavior: 'smooth', block: "start"});
console.log(tar);
for (i = 0; i<links.length; i++){
links[i].classList.remove("highlighted");
}
element.classList.add("highlighted");
}
var sections = document.getElementsByClassName('section')
console.log(sections[4].getBoundingClientRect().top)
function scrollfunc(event,element){
screenLocY = element.scrollY;
}
</script>
</body>