forked from malarkey/320andup
-
Notifications
You must be signed in to change notification settings - Fork 8
/
320andup.html
executable file
·728 lines (581 loc) · 17.8 KB
/
320andup.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
<!doctype html>
<!--
320 and Up by Andy Clarke
Version: 3.0
URL: http://stuffandnonsense.co.uk/projects/320andup/
Apache License: v2.0. http://www.apache.org/licenses/LICENSE-2.0
-->
<!-- HTML5 Boilerplate -->
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>320 and Up | The ‘tiny screen first’ responsive boilerplate</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- For all browsers -->
<link rel="stylesheet" href="css/320andup.css">
<!--[if (lt IE 9) & (!IEMobile)]>
<script src="js/selectivizr-min.js"></script>
<![endif]-->
<!-- JavaScript -->
<script src="js/modernizr-2.5.3-min.js"></script>
<link rel="shortcut icon" href="/favicon.ico">
<meta http-equiv="cleartype" content="on">
</head>
<body class="clearfix">
<header role="banner" class="clearfix">
<h2><a href="http://stuffandnonsense.co.uk/projects/320andup/">320 and Up</a></h2>
</header>
<div class="content clearfix">
<h1 class="h1">‘320 and Up’ styles</h1>
<section>
<h1 class="h2">Colour</h1>
<h2 class="h3">Base colour</h2>
<div class="swatch swatch-base">
<div class="swatch-row swatch-row-one clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="swatch-row swatch-row-two clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<h2 class="h3">Alert</h2>
<div class="swatch swatch-alert">
<div class="swatch-row swatch-row-one clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="swatch-row swatch-row-two clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<h2 class="h3">Error</h2>
<div class="swatch swatch-error">
<div class="swatch-row swatch-row-one clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="swatch-row swatch-row-two clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<h2 class="h3">Info</h2>
<div class="swatch swatch-info">
<div class="swatch-row swatch-row-one clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="swatch-row swatch-row-two clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<h2 class="h3">Success</h2>
<div class="swatch swatch-success">
<div class="swatch-row swatch-row-one clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="swatch-row swatch-row-two clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
<h2 class="h3">Warning</h2>
<div class="swatch swatch-warning">
<div class="swatch-row swatch-row-one clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="swatch-row swatch-row-two clearfix">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
</section>
<section>
<h1 class="h2">Typography</h1>
<ul class="furniture-list">
<li><h1>Heading 1 <span>(32px)</span></h1></li>
<li><h2>Heading 2 <span>(24px)</span></h2></li>
<li><h3>Heading 3 <span>(21px)</span></h3></li>
<li><h4>Heading 4 <span>(18px)</span></h4></li>
<li><h5>Heading 5 <span>(16px)</span></h5></li>
<li><h6>Heading 6 <span>(14px)</span></h6></li>
</ul>
<h2 class="h3">Paragraphs</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<h2 class="h3">Blockquote</h2>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</blockquote>
<h2 class="h3">Text level elements</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Element</th>
<th>Use</th>
</tr>
</thead>
<tbody>
<tr>
<td><code><strong></code></td>
<td>Strong emphasis</td>
</tr>
<tr>
<td><code><b></code></td>
<td>Presentational bold</td>
</tr>
<tr>
<td><code><em></code></td>
<td>Emphasis</td>
</tr>
<tr>
<td><code><i></code></td>
<td>Presentational italics</td>
</tr>
<tr>
<td><code><abbr></code></td>
<td>Abbreviations and acronyms</td>
</tr>
<tr>
<td><code><address></code></td>
<td>Content contact information</td>
</tr>
</tbody>
</table>
<h2 class="h3">Unordered list</h2>
<ul>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
</ul>
<h2 class="h3">Ordered list</h2>
<ol>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
<li>Ordered list item</li>
</ol>
<h2 class="h3">Definition list</h2>
<dl>
<dt>Definition term</dt>
<dd>Definition description</dd>
<dt>Definition term</dt>
<dd>Definition description</dd>
</dl>
<h2 class="h3">Horizontal definition list</h2>
<dl class="dl-horizontal">
<dt>Definition term</dt>
<dd>Definition description</dd>
<dt>Definition term</dt>
<dd>Definition description</dd>
</dl>
</section>
<section>
<h1 class="h2">Texture</h1>
<h2 class="h3">Alerts</h2>
<p>For more alert styles: <a href="http://twitter.github.com/bootstrap/components.html#alerts">Bootstrap alerts</a>,
<a href="https://github.com/twitter/bootstrap/blob/master/less/alerts.less">Bootstrap alerts LESS on Github</a></p>
<div class="alert">
<a class="close" data-dismiss="alert">×</a>
<strong>Alert</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<div class="alert alert-block">
<a class="close" data-dismiss="alert">×</a>
<h4 class="alert-heading">Alert block</h4>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<div class="alert alert-success">
<a class="close" data-dismiss="alert">×</a>
<strong>Success</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<div class="alert alert-warning">
<a class="close" data-dismiss="alert">×</a>
<strong>Warning</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<div class="alert alert-error">
<a class="close" data-dismiss="alert">×</a>
<strong>Error</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<div class="alert alert-info">
<a class="close" data-dismiss="alert">×</a>
<strong>Info</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<div class="alert alert-inverse">
<a class="close" data-dismiss="alert">×</a>
<strong>Inverse</strong> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<h2 class="h3">Boxes</h2>
<div class="well">
<p><strong>Well</strong> Lorem ipsum dolor sit amet, <a href="#" title="This is a tool-tip">adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
<div class="well well-large">
<p><strong>Well large</strong> Lorem ipsum dolor sit amet, <a href="#" title="This is a tool-tip">adipisicing elit</a>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>
<h2 class="h3">Badges</h2>
<p>For more badges styles: <a href="http://twitter.github.com/bootstrap/components.html#badges">Bootstrap forms</a>,
<a href="https://github.com/twitter/bootstrap/blob/master/less/badges.less">Bootstrap badges LESS on Github</a></p>
<table class="table table-bordered">
<thead>
<tr>
<th>Name</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>Default</td>
<td><span class="badge">1</span></td>
</tr>
<tr>
<td>Success</td>
<td><span class="badge badge-success">2</span></td>
</tr>
<tr>
<td>Warning</td>
<td><span class="badge badge-warning">4</span></td>
</tr>
<tr>
<td>Error</td>
<td><span class="badge badge-error">6</span></td>
</tr>
<tr>
<td>Info</td>
<td><span class="badge badge-info">8</span></td>
</tr>
<tr>
<td>Inverse</td>
<td><span class="badge badge-inverse">10</span></td>
</tr>
</tbody>
</table>
<h2 class="h3">Form</h2>
<p>For more form styles: <a href="http://twitter.github.com/bootstrap/base-css.html#forms">Bootstrap forms</a>,
<a href="https://github.com/twitter/bootstrap/blob/master/less/forms.less">Bootstrap forms LESS on Github</a></p>
<h3 class="h4">Standard form</h3>
<form class="well">
<p><label>Label</label>
<input type="text" placeholder="Placeholder">
<span class="help-inline">Associated help text!</span></p>
<p><label class="checkbox"><input type="checkbox"> Checkbox option</label></p>
<p><button class="btn">Button</button></p>
</form>
<h3 class="h4">Search form</h3>
<form class="well">
<p><label>Label</label>
<input type="search" class="search-query"></p>
<p><button class="btn">Button</button></p>
</form>
<h3 class="h4">Inline form</h3>
<form class="well form-inline">
<input type="text" class="input-small">
<input type="password" class="input-small">
<label class="checkbox"> <input type="checkbox">Checkbox option</label>
<button class="btn">Button</button>
</form>
<h3 class="h4">Form elements</h3>
<form>
<p><label for="text">type="text"</label>
<input type="text" id="text" placeholder="Placeholder"></p>
<p><label for="email">type="email"</label><br>
<input type="email" id="email"></p>
<p><label for="url">type="url</label><br>
<input type="url" id="url"></p>
<p><label for="number">type="number"</label><br>
<input type="number" id="number"></p>
<p><label for="tel">type="tel"</label><br>
<input type="tel" id="tel"></p>
<p><label for="select-1">Select group</label><br>
<select id="select-1">
<option>1</option>
<option>2</option>
</select>
<select id="">
<option>January</option>
<option>February</option>
</select>
<select id="">
<option>2012</option>
<option>2013</option>
</select>
</p>
<ul>
<li><label class="checkbox"><input type="checkbox"> Checkbox option</label></li>
<li><label class="checkbox"><input type="checkbox"> Checkbox option</label></li>
</ul>
<ul>
<li><input type="radio" id="radio" class="radio"> Radio option</label></li>
<li><input type="radio" id="radio" class="radio"> Radio option</li>
</ul>
<p><label for="textarea">Textarea</label><br>
<textarea id="textarea"> </textarea></p>
</form>
<h2 class="h3">Form buttons</h2>
<p>For more buttons styles: <a href="http://twitter.github.com/bootstrap/base-css.html#buttons">Bootstrap buttons</a>,
<a href="https://github.com/twitter/bootstrap/blob/master/less/buttons.less">Bootstrap buttons LESS on Github</a></p>
<table class="table table-bordered">
<tbody>
<tr>
<td><button class="btn">Default</button></td>
<td><a href="#" class="btn">Default</a></td>
<td><input type="submit" value="Default" class="btn"></td>
<td>Standard button</td>
</tr>
<tr>
<td><button class="btn btn-disabled">Disabled</button></td>
<td><a href="#" class="btn btn-disabled">Disabled</a></td>
<td><input type="submit" value="Disabled" class="btn btn-disabled"></td>
<td>Disabled standard button</td>
</tr>
<tr>
<td><button class="btn btn-large">Default</button></td>
<td><a href="#" class="btn btn-large">Default</a></td>
<td><input type="submit" value="Default" class="btn btn-large"></td>
<td>Standard button (large)</td>
</tr>
<tr>
<td><button class="btn btn-small">Default</button></td>
<td><a href="#" class="btn btn-small">Default</a></td>
<td><input type="submit" value="Default" class="btn btn-small"></td>
<td>Standard button (small)</td>
</tr>
<tr>
<td><button class="btn btn-mini">Default</button></td>
<td><a href="#" class="btn btn-mini">Default</a></td>
<td><input type="submit" value="Default" class="btn btn-mini"></td>
<td>Standard button (mini)</td>
</tr>
<tr>
<td><button class="btn btn-primary">Primary</button></td>
<td><a href="#" class="btn btn-primary">Primary</a></td>
<td><input type="submit" value="Primary" class="btn btn-primary"></td>
<td>Extra visual weight and identifies a primary action</td>
</tr>
<tr>
<td><button class="btn btn-info">Info</button></td>
<td><a href="#" class="btn btn-info">Info</a></td>
<td><input type="submit" value="Info" class="btn btn-info"></td>
<td>An alternate to default styles</td>
</tr>
<tr>
<td><button class="btn btn-success">Success</button></td>
<td><a href="#" class="btn btn-success">Success</a></td>
<td><input type="submit" value="Success" class="btn btn-success"></td>
<td>A positive action</td>
</tr>
<tr>
<td><button class="btn btn-warning">Warning</button></td>
<td><a href="#" class="btn btn-warning">Warning</a></td>
<td><input type="submit" value="Warning" class="btn btn-warning"></td>
<td>Caution should be taken</td>
</tr>
<tr>
<td><button class="btn btn-inverse">Inverse</button></td>
<td><a href="#" class="btn btn-inverse">Inverse</a></td>
<td><input type="submit" value="Inverse" class="btn btn-inverse"></td>
<td>Dark grey button</td>
</tr>
</tbody></table>
<h2 class="h3">Tables</h2>
<p>For more tables styles: <a href="http://twitter.github.com/bootstrap/base-css.html#tables">Bootstrap tables</a>,
<a href="https://github.com/twitter/bootstrap/blob/master/less/tables.less">Bootstrap tables LESS on Github</a></p>
<h3 class="h4">Unclassified table</h3>
<table>
<thead>
<tr>
<th scope="col">Header</th>
<th>Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
</tbody>
</table>
<!-- Next -->
<h2>Condensed table</h2>
<table class="table-condensed">
<thead>
<tr>
<th scope="col">Header</th>
<th>Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
</tbody>
</table>
<!-- Next -->
<h3 class="h4">Table (table-striped)</h3>
<table class="table-striped">
<thead>
<tr>
<th scope="col">Header</th>
<th>Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
</tbody>
</table>
<!-- Next -->
<h3 class="h4">Table (table-bordered)</h3>
<table class="table-bordered">
<thead>
<tr>
<th scope="col">Header</th>
<th>Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
</tbody>
</table>
<!-- Next -->
<h3 class="h4">Table (table-bordered and table-striped)</h3>
<table class="table-bordered table-striped">
<thead>
<tr>
<th scope="col">Header</th>
<th>Header</th>
<th>Header</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<th scope="row">Data</th>
<td>Data</td>
<td>Data</td>
</tr>
</tbody>
</table>
</section>
</div><!-- / content -->
<footer role="contentinfo">
<small>320 and Up, a Fashionably Flexible © responsive web design boilerplate by <a href="http://stuffandnonsense.co.uk">Andy Clarke</a>.</small>
<small>‘320 and Up’ wouldn’t be possible without <a href="http://html5boilerplate.com/">HTML5 Boilerplate</a>, <a href="http://framelessgrid.com/">Frameless grid</a> and <a href="http://twitter.github.com/bootstrap/">Bootstrap</a>. Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>. The Font Awesome webfont, CSS, and LESS files are licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</small>
</footer>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>
<script src="js/plugins.js"></script>
<script src="js/script.js"></script>
<script src="js/helper.js"></script>
<script>
var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
s.parentNode.insertBefore(g,s)}(document,"script"));
</script>
</body>
</html>