This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
584 lines (552 loc) · 22.3 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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!DOCTYPE html>
<html>
<head>
<!-- title -->
<title>CodeLight- Official Website</title>
<!-- meta -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Prayag Jain">
<meta name="description"
content="Do you love the updated material design of Google? If yes, then this CSS framework is for you! With this framework, you can quickly make fast and responsive websites which look like Google's websites! Visit the website for more information.">
<meta name="keywords"
content="google, CodeLight, material, material design, new material design, fresh look, css framework, google framework, google like css framework, material.io, materializecss, materialize css, material-ui, CodeLight framework">
<!-- stylesheets -->
<link rel="stylesheet" href="css/codelight.min.css">
<link rel="stylesheet" href="custom.css">
<!-- favicon -->
<link rel="shortcut icon" href="media/favicon (1).ico" type="image/x-icon">
<link rel="icon" href="media/favicon (1).ico" type="image/x-icon">
</head>
<body class="bg-light">
<!-- navbar -->
<nav class="nav-wrapper nav-fixed">
<a href="#" class="brand-logo nav-item">
<img src="media/logo.png" alt="#" style="height: 42px;">
<div class="mr-1"></div>
CodeLight
</a>
<ul class="nav-list nav-left nav-hide">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="https://github.com/Prayag2/CodeLight">GitHub</a></li>
</ul>
<div class="nav-item nav-right nav-hide">
<a href="https://dl.dropbox.com/s/xlrnserc7gt7tgw/codelight.zip" class="button button-primary">Download Now</a>
</div>
<div class="nav-menu nav-right">
<i class="icon ion-md-menu"></i>
</div>
</nav>
<div class="sidenav-backdrop"></div>
<div class="sidenav">
<a href="index.html" class="brand-logo">
<img src="media/logo.png" alt="logo" style="width: 42px; margin-bottom: -7px;">
CodeLight</a>
<ul>
<li><a href="index.html" class="active">Home</a></li>
<li><a href="https://github.com/Prayag2/CodeLight">GitHub</a></li>
</ul>
<a href="https://dl.dropbox.com/s/xlrnserc7gt7tgw/codelight.zip" class="button button-primary">Download</a>
</div>
<!-- main -->
<div class="container box-shadow mt-4 p-3 bg-white">
<div class="center">
<div class="mt-4"></div>
<img src="media/logo.png" alt="Logo" style="width: 100px;">
<br>
<h1>A fast, simple and clean boilerplate.</h1>
<br>
<br>
<a href="https://dl.dropbox.com/s/xlrnserc7gt7tgw/codelight.zip" class="button button-primary">Download Now</a>
<div class="mb-4"></div>
</div>
<br>
<br>
<div class="sm-container">
<hr>
<div class="center">
<div class="mt-4"></div>
<h3>When should you use CodeLight?</h3>
<br>
<p>You should use CodeLight when you are making small, responsive or basic projects. This
boilerplate has almost 1000 lines of code which makes it light as feather. You will have to include
your own CSS file in some cases.</p>
<div class="mb-4"></div>
</div>
<hr>
<div class="mt-4"></div>
<h2>The Grid System</h2>
<br>
<p>CodeLight has a simple 12 column grid system which has simple class names. This grid system is
highly responsive. You can check that by resizing your browser.</p>
<br>
<div class="grid-example">
<div class="row">
<div class="col-1">col-1</div>
<div class="col-11">col-11</div>
</div>
<div class="row">
<div class="col-2">col-2</div>
<div class="col-10">col-10</div>
</div>
<div class="row">
<div class="col-3">col-3</div>
<div class="col-9">col-9</div>
</div>
<div class="row">
<div class="col-4">col-4</div>
<div class="col-8">col-8</div>
</div>
<div class="row">
<div class="col-5">col-5</div>
<div class="col-7">col-7</div>
</div>
<div class="row">
<div class="col-6">col-6</div>
<div class="col-6">col-6</div>
</div>
<div class="row">
<div class="col-12">col-12</div>
</div>
</div>
<br>
<pre><code><div class="row">
<div class="col-1">col-1</div>
<div class="col-11">col-11</div>
</div>
<div class="row">
<div class="col-2">col-2</div>
<div class="col-10">col-10</div>
</div>
<div class="row">
<div class="col-3">col-3</div>
<div class="col-9">col-9</div>
</div>
<div class="row">
<div class="col-4">col-4</div>
<div class="col-8">col-8</div>
</div>
<div class="row">
<div class="col-5">col-5</div>
<div class="col-7">col-7</div>
</div>
<div class="row">
<div class="col-6">col-6</div>
<div class="col-6">col-6</div>
</div>
<div class="row">
<div class="col-12">col-12</div>
</div></code></pre>
<div class="mb-4"></div>
<hr>
<div class="mt-4"></div>
<h2>Buttons</h2>
<br>
<p>The buttons in CodeLight have simple class names. There are 5 types of buttons. They are:</p>
<br>
<a href="#" class="button">Button</a>
<a href="#" class="button button-primary">Button Primary</a>
<a href="#" class="button button-secondary">Button Secondary</a>
<a href="#" class="button button-danger">Button Danger</a>
<a href="#" class="button button-success">Button Success</a>
<div class="mb-4"></div>
<hr>
<div class="mt-4"></div>
<h2>Forms</h2>
<br>
<p>The forms in CodeLight are beautiful. They have a very special animation when in focus. You can use the Grid System to make them responsive. There are two types of forms you can use. You can use the first one only if you include the Javascript file, but you can use the second one without including the Javascript file. Here is an example:</p>
<br>
<h4>Javascript Needed</h4>
<br>
<form>
<div class="row">
<div class="col-6">
<div class="input-field">
<input type="text" id="fname">
<label for="fname">First Name</label>
</div>
</div>
<div class="col-6">
<div class="input-field">
<input type="text" id="lname">
<label for="lname">Last Name</label>
</div>
</div>
</div>
<div class="input-field">
<input type="email" id="email">
<label for="email">Email Address</label>
</div>
<div class="input-field">
<textarea name="msg" id="msg" cols="30" rows="10"></textarea>
<label for="msg">Your Message</label>
</div>
<div class="row">
<div class="col-6">
<input type="submit" class="button button-primary" value="Send Message">
</div>
<br>
<div class="col-6 right">
<label>
<input type="checkbox">
<span>This is a checkbox</span>
</label>
</div>
</div>
</form>
<br>
<pre><code><form>
<div class="row">
<div class="col-6">
<div class="input-field">
<input type="text" id="fname">
<label for="fname">First Name</label>
</div>
</div>
<div class="col-6">
<div class="input-field">
<input type="text" id="lname">
<label for="lname">Last Name</label>
</div>
</div>
</div>
<div class="input-field">
<input type="email" id="email">
<label for="email">Email Address</label>
</div>
<div class="input-field">
<textarea name="msg" id="msg" cols="30" rows="10"></textarea>
<label for="msg">Your Message</label>
</div>
<div class="row">
<div class="col-6">
<input type="submit" class="button button-primary" value="Send Message">
</div>
<br>
<div class="col-6 right">
<label>
<input type="checkbox">
<span>This is a checkbox</span>
</label>
</div>
</div>
</form></code></pre>
<br>
<h4>Javascript Not Needed</h4>
<br>
<form>
<div class="row">
<div class="col-6">
<div class="input-field">
<input type="text" id="fname" placeholder="First Name">
</div>
</div>
<div class="col-6">
<div class="input-field">
<input type="text" id="lname" placeholder="Last Name">
</div>
</div>
</div>
<div class="input-field">
<input type="email" id="email" placeholder="Email Address">
</div>
<div class="input-field">
<textarea name="msg" id="msg" cols="30" rows="10" placeholder="Your Message"></textarea>
</div>
<div class="row">
<div class="col-6">
<input type="submit" class="button button-primary" value="Send Message">
</div>
<br>
<div class="col-6 right">
<label>
<input type="checkbox">
<span>This is a checkbox</span>
</label>
</div>
</div>
</form>
<br>
<pre><code><form>
<div class="row">
<div class="col-6">
<div class="input-field">
<input type="text" id="fname" placeholder="First Name">
</div>
</div>
<div class="col-6">
<div class="input-field">
<input type="text" id="lname" placeholder="Last Name">
</div>
</div>
</div>
<div class="input-field">
<input type="email" id="email" placeholder="Email Address">
</div>
<div class="input-field">
<textarea name="msg" id="msg" cols="30" rows="10" placeholder="Your Message"></textarea>
</div>
<div class="row">
<div class="col-6">
<input type="submit" class="button button-primary" value="Send Message">
</div>
<br>
<div class="col-6 right">
<label>
<input type="checkbox">
<span>This is a checkbox</span>
</label>
</div>
</div>
</form></code></pre>
<div class="mb-4"></div>
<hr>
<div class="mt-4"></div>
<h2>Typography</h2>
<br>
<p>We don't have much to explain you about the typography. The font included is 'DM Sans' provided by <a target="_blank" href="https://fonts.google.com">Google Fonts</a>. There are headings, display classes, <a href="#!">Anchor Elements</a>, <u>Underlined Elements</u>, <strong>Strong Elements</strong>, and a little bit more.</p>
<br>
<div class="row">
<div class="col-6">
<h1>Headings</h1>
<p>These are the headings. You can add class names to any element to make it a heading. For eg- <p class="h1">This is a heading </p></p>
</div>
<div class="col-6">
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
</div>
</div>
<div class="row">
<div class="col-4">
<div class="mt-3"></div>
<h2>Display Classes</h2>
<br>
<p>You can use display classes like in Bootstrap. These are responsive and can be used to make big headings. For eg- <p class="display-1"> DISPLAY 1 </p></p>
</div>
<div class="col-8">
<p class="display-1">Display 1</p>
<p class="display-2">Display 2</p>
<p class="display-3">Display 3</p>
<p class="display-4">Display 4</p>
</div>
</div>
<div class="mb-4"></div>
<hr>
<div class="mt-4"></div>
<h2>Lists</h2>
<br>
<p>Lists are pretty simple. You don't need to any class name to make them look like this.</p>
<br>
<div class="row">
<div class="col-6">
<ul>
<li>List item</li>
<li>Another list item</li>
<li>Nested list
<ul>
<li>Nested list item</li>
<li>Another nested list item</li>
</ul>
</li>
<li>Last Item</li>
</ul>
</div>
<div class="col-6">
<ol>
<li>List item</li>
<li>Another list item</li>
<li>Nested list
<ul>
<li>Nested list item</li>
<li>Another nested list item</li>
</ul>
</li>
<li>Last Item</li>
</ol>
</div>
</div>
<br>
<pre><code><!-- Unordered List -->
<ul>
<li>List item</li>
<li>Another list item</li>
<li>Nested list
<ul>
<li>Nested list item</li>
<li>Another nested list item</li>
</ul>
</li>
<li>Last Item</li>
</ul>
<!-- Ordered List -->
<ol>
<li>List item</li>
<li>Another list item</li>
<li>Nested list
<ul>
<li>Nested list item</li>
<li>Another nested list item</li>
</ul>
</li>
<li>Last Item</li>
</ol></code></pre>
<div class="mt-4"></div>
<hr>
<div class="mb-4"></div>
<h2>Tables</h2>
<br>
<p>Tables are also simple. Every th and td element has a border bottom of 1px. See the example given below.</p>
<br>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>Country</th>
</tr>
</thead>
<tbody>
<tr>
<td>John Doe</td>
<td>32</td>
<td>United States of America</td>
</tr>
<tr>
<td>Huang Lee</td>
<td>24</td>
<td>China</td>
</tr>
<tr>
<td>Akshay Kumar</td>
<td>50</td>
<td>India</td>
</tr>
</tbody>
</table>
<br>
<pre><code><table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>Country</th>
</tr>
</thead>
<tbody>
<tr>
<td>John Doe</td>
<td>32</td>
<td>United States of America</td>
</tr>
<tr>
<td>Huang Lee</td>
<td>24</td>
<td>China</td>
</tr>
<tr>
<td>Akshay Kumar</td>
<td>50</td>
<td>India</td>
</tr>
</tbody>
</table></code></pre>
<div class="mb-4"></div>
<hr>
<div class="mt-4"></div>
<h2>Navbars</h2>
<br>
<p>The navbars in CodeLight are highly customizable. One example is the navbar of this webpage itself. You can inspect the navbar to see the code. You can add as many elements as you want in a navbar. Since one webpage can only have one navbar; we have made their working demos on seperate pages with their code. Here are the links for each kind of navbar:</p>
<br>
<h3>Default Navbar</h3>
<br>
<p>This navbar is easy to make but is not responsive.</p>
<br>
<a target="_blank" href="navbars/default.html" class="button button-primary">Check Now</a>
<div class="mt-1"></div>
<h3>Logo on the right</h3>
<br>
<p>This navbar has the logo on its right and the nav items on the left. This too is not responsive.</p>
<div class="mt-1"></div>
<a target="_blank" href="navbars/logo-right.html" class="button button-primary">Check Now</a>
<div class="mt-1"></div>
<h3>Logo in the center</h3>
<br>
<p>This navbar has the logo in its center</p>
<br>
<a target="_blank" href="navbars/logo-center.html" class="button button-primary">Check Now</a>
<div class="mt-1"></div>
<h3>Responsive Navbar</h3>
<br>
<p>This navbar is very responsive and is highly customizable.</p>
<br>
<a target="_blank" href="navbars/responsive.html" class="button button-primary">Check Now</a>
<div class="mb-4"></div>
<hr>
<div class="mt-4"></div>
<h2>Utilities</h2>
<br>
<p>There are many utilities in CodeLight to make your work easier. They are listed below-</p>
<br>
<pre><code><!-- Utilities -->
<!-- text aligns to left -->
<div class="left"></div>
<!-- text aligns to right -->
<div class="right"></div>
<!-- text aligns to center -->
<div class="center"></div>
<!-- sets text align to justify -->
<div class="justify"></div>
<!-- floats to left -->
<div class="float-left"></div>
<!-- floats to right -->
<div class="float-right"></div>
<!-- COLORS -->
<!-- changes text color -->
<div class="red"></div>
<div class="yellow"></div>
<div class="blue"></div>
<div class="green"></div>
<div class="black"></div>
<div class="white"></div>
<div class="light"></div>
<!-- changes background color -->
<div class="bg-red"></div>
<div class="bg-yellow"></div>
<div class="bg-blue"></div>
<div class="bg-green"></div>
<div class="bg-black"></div>
<div class="bg-white"></div>
<div class="bg-light"></div>
<!-- padding and margins -->
<!-- you can add paddings and margins by adding class names -->
<!-- like pt-2 which stands for padding top 2. It gives it a padding top = 16px * 2 -->
<!-- pb-3 gives a padding bottom = 16px * 3 -->
<div class="pb-3"></div>
<!-- This will give a margin-top= 16px * 4 -->
<div class="mt-4"></div>
<!-- This will give a padding=16px -->
<div class="p-1"></div>
<!-- Containers -->
<!-- Containers have a width of 90% and margin-left and margin-right set to auto -->
<div class="container"></div>
<!-- sm-containers have a width of 60% which changes to 95% on smaller devices. -->
<div class="sm-container"></div>
<!-- container-fluid -->
<div class="container-fluid"></div>
<!-- gives a simple and clean box-shadow -->
<div class="box-shadow"></div>
</code></pre>
</div>
</div>
<!-- footer -->
<footer class="full-width bg-white box-shadow center p-2">
© Copyright By Prayag Jain. All Rights Reserved.
</footer>
<!-- script -->
<script src="js/codelight.min.js"></script>
</body>
</html>