forked from skeleton-framework/skeleton-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
772 lines (707 loc) · 31.1 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
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Skeleton Framework Test File</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="skeleton.css">
<link rel="icon" type="image/png" href="images/favicon.png">
<style>
.demo-col {
padding-top: 1em;
padding-bottom: 1em;
background-color: #0074D9;
color: #fff;
text-align: center;
}
.demo-row {
margin-bottom: 1rem;
}
.nested {
background-color: #001f3f;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="twelve columns">
<h1>Skeleton Framework</h1>
<hr>
</div>
</div>
<div class="row">
<div class="twelve columns">
<h2>Grid</h2>
</div>
</div>
</div>
<div class="container">
<div class="row demo-row">
<div class="twelve columns">
<div class="demo-col">twelve columns</div>
</div>
</div>
<div class="row demo-row">
<div class="one column">
<div class="demo-col">one</div>
</div>
<div class="eleven columns">
<div class="demo-col">eleven columns</div>
</div>
</div>
<div class="row demo-row">
<div class="two columns">
<div class="demo-col">two columns</div>
</div>
<div class="ten columns">
<div class="demo-col">ten columns</div>
</div>
</div>
<div class="row demo-row">
<div class="three columns">
<div class="demo-col">three columns</div>
</div>
<div class="nine columns">
<div class="demo-col">nine columns</div>
</div>
</div>
<div class="row demo-row">
<div class="four columns">
<div class="demo-col">four columns</div>
</div>
<div class="eight columns">
<div class="demo-col">eight columns</div>
</div>
</div>
<div class="row demo-row">
<div class="five columns">
<div class="demo-col">five columns</div>
</div>
<div class="seven columns">
<div class="demo-col">seven columns</div>
</div>
</div>
<div class="row demo-row">
<div class="six columns">
<div class="demo-col">six columns</div>
</div>
<div class="six columns">
<div class="demo-col">six columns</div>
</div>
</div>
<div class="row demo-row">
<div class="four columns">
<div class="demo-col">four columns</div>
</div>
<div class="four columns">
<div class="demo-col">four columns</div>
</div>
<div class="four columns">
<div class="demo-col">four columns</div>
</div>
</div>
<div class="row demo-row">
<div class="three columns">
<div class="demo-col">three columns</div>
</div>
<div class="three columns">
<div class="demo-col">three columns</div>
</div>
<div class="three columns">
<div class="demo-col">three columns</div>
</div>
<div class="three columns">
<div class="demo-col">three columns</div>
</div>
</div>
<div class="row demo-row">
<div class="two columns">
<div class="demo-col">two columns</div>
</div>
<div class="eight columns">
<div class="demo-col">eight columns</div>
</div>
<div class="two columns">
<div class="demo-col">two columns</div>
</div>
</div>
<div class="row demo-row">
<div class="seven columns">
<div class="demo-col">seven columns</div>
</div>
<div class="five columns">
<div class="demo-col">five columns</div>
</div>
</div>
<div class="row demo-row">
<div class="one-third column">
<div class="demo-col">one-third column</div>
</div>
<div class="two-thirds column">
<div class="demo-col">two-thirds column</div>
</div>
</div>
<div class="row demo-row">
<div class="one-half column">
<div class="demo-col">one-half column</div>
</div>
<div class="one-half column">
<div class="demo-col">one-half column</div>
</div>
</div>
<div class="row demo-row">
<div class="one-quarter column">
<div class="demo-col">one-quarter column</div>
</div>
<div class="one-quarter columns">
<div class="demo-col">one-quarter column</div>
</div>
<div class="one-quarter column">
<div class="demo-col">one-quarter column</div>
</div>
<div class="one-quarter column">
<div class="demo-col">one-quarter column</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="tweleve columns">
<h3>grid offsets</h3>
</div>
</div>
</div>
<div class="container">
<div class="row demo-row">
<div class="eleven columns offset-by-one">
<div class="demo-col">eleven columns offset by one</div>
</div>
</div>
<div class="row demo-row">
<div class="ten columns offset-by-two">
<div class="demo-col">ten columns offset by two</div>
</div>
</div>
<div class="row demo-row">
<div class="nine columns offset-by-three">
<div class="demo-col">nine columns offset by three</div>
</div>
</div>
<div class="row demo-row">
<div class="eight columns offset-by-four">
<div class="demo-col">eight columns offset by four</div>
</div>
</div>
<div class="row demo-row">
<div class="seven columns offset-by-five">
<div class="demo-col">seven columns offset by five</div>
</div>
</div>
<div class="row demo-row">
<div class="six columns offset-by-six">
<div class="demo-col">six columns offset by six</div>
</div>
</div>
<div class="row demo-row">
<div class="five columns offset-by-seven">
<div class="demo-col">five columns offset by seven</div>
</div>
</div>
<div class="row demo-row">
<div class="four columns">
<div class="demo-col">four columns</div>
</div>
<div class="four columns offset-by-four">
<div class="demo-col">four columns offset by four</div>
</div>
</div>
<div class="row demo-row">
<div class="three columns offset-by-nine">
<div class="demo-col">three columns offset by nine</div>
</div>
</div>
<div class="row demo-row">
<div class="six columns offset-by-three">
<div class="demo-col">six columns offset by three</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="tweleve columns">
<h3>nested grids</h3>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="six columns">
<div class="demo-col">six columns</div>
</div>
<div class="six columns">
<div class="demo-col">
six columns with nested grid
<div class="container container__nested">
<div class="row demo-row" style="margin-top: 15px;">
<div class="six columns">
<div class="demo-col nested">
six columns nested
</div>
</div>
<div class="six columns">
<div class="demo-col nested">
six columns nested
</div>
</div>
</div>
<div class="row">
<div class="twelve columns">
<div class="demo-col nested">
twelve columns nested
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="tweleve columns">
<h3>responsive grids</h3>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row demo-row">
<div class="xs-six sm-seven columns">
<div class="demo-col">xs-six sm-seven columns</div>
</div>
<div class="xs-six sm-five columns">
<div class="demo-col">xs-six sm-five columns</div>
</div>
</div>
<div class="row demo-row">
<div class="sm-twelve md-six lg-four columns">
<div class="demo-col">sm-twelve md-six lg-four columns</div>
</div>
<div class="sm-twelve md-six lg-four columns">
<div class="demo-col">sm-twelve md-six lg-four columns</div>
</div>
<div class="sm-twelve lg-four columns">
<div class="demo-col">sm-twelve lg-four columns</div>
</div>
</div>
<div class="row demo-row">
<div class="md-six columns">
<div class="demo-col">md-six columns</div>
</div>
<div class="md-six columns">
<div class="demo-col">md-six columns</div>
</div>
</div>
<div class="row demo-row">
<div class="md-eight lg-six lg-offset-by-six columns">
<div class="demo-col">md-eight lg-six lg-offset-by-six columns</div>
</div>
</div>
<div class="row demo-row">
<div class="md-eight md-offset-by-two lg-twelve lg-offset-by-zero columns">
<div class="demo-col">md-eight md-offset-by-two lg-twelve lg-offset-by-zero columns</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="tweleve columns">
<h3>typography</h3>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<h1>Heading<span class="heading-font-size"> <code><h1></code> 3.6rem</span></h1>
<h2>Heading<span class="heading-font-size"> <code><h2></code> 3.0rem</span></h2>
<h3>Heading<span class="heading-font-size"> <code><h3></code> 2.4rem</span></h3>
<h4>Heading<span class="heading-font-size"> <code><h4></code> 1.8rem</span></h4>
<h5>Heading<span class="heading-font-size"> <code><h5></code> 1.5rem</span></h5>
<h6>Heading<span class="heading-font-size"> <code><h6></code> 1.2rem</span></h6>
<p>
<strong>Bolded</strong>
<em>Italicized</em>
<a>Colored</a>
<u>Underlined</u>
<s>Stroked</s>
<span class="text-primary">Text Primary</>
<span class="text-success">Text Success</>
<span class="text-danger">Text Danger</>
</p>
<p>
check out this paragraph "Who are you who speaks out of the darkness?" he answered "John Carter, a friend of the red men of Helium." "I am of Helium," he said, "but I do not recall your name." And then I told him my story as I have written it here, omitting only any reference to my love for Dejah Thoris. </p>
<p>He was much excited by the news of Helium's princess and seemed quite positive that she and Sola could easily have reached a point of safety from where they left me. He said that he knew the place well because the defile through which the Warhoon warriors had passed when they discovered us was the only one ever used by them when marching to the south. "Dejah Thoris and Sola entered the hills not five miles from a great waterway and are now probably quite safe," he assured me. My fellow prisoner
</p>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="tweleve columns">
<h3>buttons</h3>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<div>
<a class="button" href="#">Anchor button</a>
<button>Button element</button>
<input type="submit" value="submit input">
<input type="button" value="button input">
<input type="button" value="active button" active>
<input type="button" value="disabled button" disabled>
</div>
<div>
<a class="button button-primary" href="#">Anchor button</a>
<button class="button-primary">Button element</button>
<input class="button-primary" type="submit" value="submit input">
<input class="button-primary" type="button" value="button input">
<input class="button-primary" type="button" value="active button" active>
<input class="button-primary" type="button" value="disabled button" disabled>
</div>
<div>
<a class="button button-success" href="#">Anchor button</a>
<button class="button-success">Button element</button>
<input class="button-success" type="submit" value="submit input">
<input class="button-success" type="button" value="button input">
<input class="button-success" type="button" value="active button" active>
<input class="button-success" type="button" value="disabled button" disabled>
</div>
<div>
<a class="button button-danger" href="#">Anchor button</a>
<button class="button-danger">Button element</button>
<input class="button-danger" type="submit" value="submit input">
<input class="button-danger" type="button" value="button input">
<input class="button-danger" type="button" value="active button" active>
<input class="button-danger" type="button" value="disabled button" disabled>
</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="tweleve columns">
<h3>forms</h3>
</div>
</div>
</div>
<br>
<div class="container">
<form>
<div class="row">
<div class="six columns">
<label for="exampleEmailInput">Your email</label>
<input class="u-full-width" type="email" placeholder="[email protected]">
</div>
<div class="six columns">
<label for="exampleRecipientInput">Reason for contacting</label>
<select class="u-full-width">
<option value="Option 1">Questions</option>
<option value="Option 2">Admiration</option>
<option value="Option 3">Can I get your number?</option>
</select>
</div>
</div>
<div class="row">
<div class="six columns">
<label for="exampleEmailInput">Your email</label>
<input class="u-full-width has-error" type="email" placeholder="[email protected]" value="john@doe">
</div>
<div class="six columns">
<label for="exampleRecipientInput">Reason for contacting</label>
<select class="u-full-width has-success">
<option value="Option 1">Questions</option>
<option value="Option 2">Admiration</option>
<option value="Option 3">Can I get your number?</option>
</select>
</div>
</div>
<div class="row">
<div class="twelve columns">
<label for="exampleMessage">Message</label>
<textarea class="u-full-width" placeholder="Hey guys …"></textarea>
<label>
<input type="checkbox">
<span class="label-body">Send a copy to yourself</span>
</label>
<input class="button-primary" type="submit" value="Submit">
</div>
</div>
</form>
</div>
<br>
<div class="container">
<div class="row">
<div class="tweleve columns">
<h3>lists</h3>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="six columns">
<ul>
<li>Unordered lists have basic styles</li>
<li>
They use the circle list style
<ul>
<li>Nested lists styled to feel right</li>
<li>Can nest either type of list into the other</li>
</ul>
</li>
<li>Just more list items mama san</li>
</ul>
</div>
<div class="six columns">
<ol>
<li>Ordered lists also have basic styles</li>
<li>
They use the decimal list style
<ul>
<li>Ordered and unordered can be nested</li>
<li>Can nest either type of list into the other</li>
</ul>
</li>
<li>Last list item just for the fun</li>
</ol>
</div>
</div>
<div class="row">
<div class="twelve columns">
<ul class="list-inline">
<li>Inline lists have basic styles as well</li>
<li>All of their items</li>
<li>Just appear on the same line</li>
</ul>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<h3>code</h3>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<pre>
<code>
.some-class {
background-color: red;
}
</code>
</pre>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<h3>alerts</h3>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<div class="alert">
This is an alert!
</div>
<div class="alert alert-primary">
This is a primary alert!
</div>
<div class="alert alert-success">
This is a success alert!
</div>
<div class="alert alert-danger">
This is a danger alert!
</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<h3>tables</h3>
</div>
</div>
<div class="row">
<div class="twelve columns">
<h4> regular tables </h4>
<p>
Sharp looking, minimalist tables. Content in the cells
wraps on small screen sizes.
</p>
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>Sex</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>Dave Gamache</td>
<td>26</td>
<td>Male</td>
<td>San Francisco</td>
</tr>
<tr>
<td>Dwayne Johnson</td>
<td>42</td>
<td>Male</td>
<td>Hayward</td>
</tr>
</tbody>
</table>
<h4> responsive tables </h4>
<p>
Wrap your <code>table</code> element in <code><div class="table-responsive" /></code>
to make it scroll horizontally at smaller viewport sizes.
</p>
<div class="table-responsive">
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>Sex</th>
<th>Location</th>
</tr>
</thead>
<tbody>
<tr>
<td>Dave Gamache</td>
<td>26</td>
<td>Male</td>
<td>San Francisco</td>
</tr>
<tr>
<td>Dwayne Johnson</td>
<td>42</td>
<td>Male</td>
<td>Hayward</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="twelve columns">
<h3>cards</h3>
<p>
Pretty sweet, very mobile. Group your
callout content, or keep things organized
without a creating a visual heirarchy.
</p>
</div>
</div>
<div class="row">
<div class="six columns">
<div class="card">
<h5>Text</h5>
<p>Text</p>
<div class="u-text-right">
<button class="button-primary">Nice Button</button>
</div>
</div>
</div>
<div class="six columns">
<div class="card">
<h5>Text</h5>
<p>Text</p>
<div class="u-text-right">
<button class="button-primary">Nice Button</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="three columns">
<a href="#" class="card">
<h6>Link Card</h6>
<p>Text</p>
</a>
</div>
<div class="six columns">
<a href="#" class="card">
<h6>Link Card</h6>
<p>Text</p>
</a>
</div>
<div class="three columns">
<a href="#" class="card">
<h6>Link Card</h6>
<p>Text</p>
</a>
</div>
</div>
<div class="row">
<div class="seven columns">
<div class="card">
<h6> Big Card </h6>
<p>
I have never told this story, nor shall
mortal man see this manuscript until after
I have passed over for eternity. I know
that the average human mind will not
believe what it cannot grasp, and so I do
not purpose being pilloried by the public,
the pulpit, and the press, and held up as
a colossal liar when I am but telling the
simple truths
</p>
</div>
</div>
<div class="five columns">
<div class="card">
<h6> Small Card </h6>
<p>
I have never told this story, nor shall
mortal man see this manuscript until
</p>
</div>
</div>
</div>
</div>
<br>
</body>
</html>