-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathold.html
526 lines (522 loc) · 25.7 KB
/
old.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>matthewblewitt.github.io by matthewblewitt</title>
<link rel="stylesheet" href="stylesheets/vendor.css">
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div class="wrapper">
<header>
<h1>Pattern Library</h1>
<div id="searchForm">
<input type="text" placeholder="keyword search" name="keyword" id="searchLinks"/><br /><br />
<ul id="searchList"></ul>
</div>
<ul id="main_navigation" class="nav">
</ul>
<div id="mobileNav"></div>
</header>
<div class="main_content">
<!-- SECTION TEMPLATE
<section class="pattern">
<h2>
<a name="link-name" class="anchor" href="#link-name">
<span class="octicon octicon-link"></span>
</a>
Element Title</h2>
<p>HTML content</p>
</section> -->
<section class="pattern">
<h2><a name="color-palette" class="anchor" href="#color-palette"><span class="octicon octicon-link"></span></a>Color palette</h2>
<ul class="color-palette">
<li class="color1">#hex1 (rgb/name)</li>
<li class="color2">#hex2 (rgb/name)</li>
<li class="color3">#hex3 (rgb/name)</li>
<li class="color4">#hex4 (rgb/name)</li>
<li class="color5">#hex5 (rgb/name)</li>
</ul>
</section>
<div id="text" class="section-element">
<!-- TEXT -->
<section class="pattern">
<h2><a name="fonts" class="anchor" href="#fonts"><span class="octicon octicon-link"></span></a>Fonts</h2>
<ul>
<li>Font 1 Regular</li>
<li>Font 1 Bold</li>
<li>Font 2</li>
</ul>
</section>
<section class="pattern">
<h2><a name="font-sizes" class="anchor" href="#font-sizes"><span class="octicon octicon-link"></span></a>Font Sizes</h2>
<ul>
<li>Font 1 XXpx</li>
<li>Font 1 XXpx</li>
<li>Font 1 XXpx</li>
<li>Font 1 XXpx</li>
<li>Font 1 XXpx</li>
<li>Font 1 XXpx</li>
<li>Font 1 XXpx Uppercase</li>
<li>Font 1 XXpx italic</li>
</ul>
</section>
<section class="pattern">
<h2><a name="headings" class="anchor" href="#headings"><span class="octicon octicon-link"></span></a>Headings</h2>
<div class="html-snippet"><h1 class="h1">Heading 1</h1>
<h2 class="h2">Heading 2</h2>
<h3 class="h3">Heading 3</h3>
<h4 class="h4">Heading 4</h4>
<h5 class="h5">Heading 5</h5>
<h6 class="h6">Heading 6</h6>
</div>
</section>
<section class="pattern">
<h2><a name="lede" class="anchor" href="#lede"><span class="octicon octicon-link"></span></a>Lede</h2>
<div class="html-snippet">
<p class="lede">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
</section>
<section class="pattern">
<h2><a name="paragraph" class="anchor" href="#paragraph"><span class="octicon octicon-link"></span></a>Paragraph</h2>
<div class="html-snippet">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Incidunt, beatae, molestiae alias quae nisi quam cupiditate doloribus inventore corporis iste odit ea fuga nam dignissimos obcaecati dolore eum atque ducimus magni totam doloremque at assumenda! Aut, sapiente, consectetur, veritatis non libero architecto voluptates aliquam quibusdam fugiat doloribus labore temporibus aperiam aliquid earum excepturi similique eaque. Iure, modi, non consequuntur consequatur iste illum libero tenetur cupiditate fugit id ipsam dignissimos. Aspernatur, expedita, sit reprehenderit velit placeat aliquam iste ducimus atque optio nihil alias pariatur laboriosam saepe natus repudiandae possimus consectetur doloremque ratione excepturi nemo quisquam! Ducimus, obcaecati deserunt aliquam doloremque excepturi!
</p>
</div>
</section>
<section class="pattern">
<h2><a name="mark" class="anchor" href="#mark"><span class="octicon octicon-link"></span></a>Mark</h2>
<p>The mark element is used to represent a run of text marked or highlighted for reference purposes. When used in a quotation it indicates a highlight not originally present but added to bring the reader’s attention to that part of the text. When used in the main prose of a document, it indicates a part of the document that has been highlighted due to its relevance to the user’s current activity. Example:
</p>
<div class="html-snippet">
<p>The research, carried out by experts from the <mark>University’s School of Medicine</mark> over the past three years, focuses on identifying <mark>new genes</mark> which, when mutated, cause these blinding disorders.
</p>
</div>
</section>
<section class="pattern">
<h2><a name="caption" class="anchor" href="#caption"><span class="octicon octicon-link"></span></a>Caption</h2>
<div class="html-snippet">
<p class="caption">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
</div>
</section>
<section class="pattern">
<h2><a name="horizontal-rule" class="anchor" href="#horizontal-rule"><span class="octicon octicon-link"></span></a>Horizontal rule</h2>
<div class="html-snippet"><hr /></div>
</section>
<section class="pattern">
<h2><a name="emphasis" class="anchor" href="#emphasis"><span class="octicon octicon-link"></span></a>Stressed Emphasis</h2>
<div class="html-snippet"><p>Researchers uncover <em>new</em> forms of blindness</p></div>
</section>
<section class="pattern">
<h2><a name="small-print" class="anchor" href="#small-print"><span class="octicon octicon-link"></span></a>Small Print</h2>
<div class="html-snippet">
<p><small>© 2014 University of Leeds</small></p>
</div>
</section>
<section class="pattern">
<h2><a name="strikethrough" class="anchor" href="#strikethrough"><span class="octicon octicon-link"></span></a>Strikethrough</h2>
<p>The s element is used to represent content that is no longer accurate or relevant. When indicating document edits i.e., marking a span of text as having been removed from a document, use the del element instead. Example:
</p>
<div class="html-snippet">
<p><s>Recommended retail price: £3.99 per bottle</s><br><strong>Now selling for just £2.99 a bottle!</strong>
</p>
</div>
</section>
<section class="pattern">
<h2><a name="italicised" class="anchor" href="#italicised"><span class="octicon octicon-link"></span></a>Italicised</h2>
<p>The i element is used for text in an alternate voice or mood, or otherwise offset from the normal prose. Examples include taxonomic designations, technical terms, idiomatic phrases from another language, the name of a ship or other spans of text whose typographic presentation is typically italicised. Example:
</p>
<div class="html-snippet"><p>here is a certain <i>je ne sais quoi</i> in the air.</p></div>
</section>
<section class="pattern">
<h2><a name="tooltip" class="anchor" href="#tooltip"><span class="octicon octicon-link"></span></a>Tooltip</h2>
<p>Source: <a href="http://iamceege.github.io/tooltipster/" target="_blank">iamceege.github.io</a></p>
<div class="html-snippet"><p><a href="#" title="Tooltip text" class="tooltip">Hover to show tooltip</a></p></div>
<img src="images/tooltip.gif" alt="Tooltip in action" class="demo" width="246"/>
</section>
<section class="pattern">
<h2><a name="small-print" class="anchor" href="#small-print"><span class="octicon octicon-link"></span></a>Citations</h2>
<p>The cite element is used to represent the title of a work (e.g. a book, essay, poem, song, film, TV show, sculpture, painting, musical, exhibition, etc). This can be a work that is being quoted or referenced in detail (i.e. a citation), or it can just be a work that is mentioned in passing. Example:
</p>
<div class="html-snippet"><p><cite>Universal Declaration of Human Rights</cite></p></div>
</section>
<section class="pattern">
<h2><a name="blockquote" class="anchor" href="#blockquote"><span class="octicon octicon-link"></span></a>Blockquote</h2>
<div class="html-snippet"><blockquote cite="http://hansard.millbanksystems.com/commons/1947/nov/11/parliament-bill#column_206">
<p>Many forms of Government have been tried, and will be tried in this world of sin and woe. No one pretends that democracy is perfect or all-wise. Indeed, it has been said that democracy is the worst form of government except all those other forms that have been tried from time to time.
</p>
</blockquote>
</div>
</section>
<section class="pattern">
<h2><a name="link" class="anchor" href="#link"><span class="octicon octicon-link"></span></a>Link</h2>
<div class="html-snippet"><p><a href="#" title="Some info about the destination">Link</a></div>
</section>
<section class="pattern">
<h2><a name="external-link" class="anchor" href="#external-link"><span class="octicon octicon-link"></span></a>External Link</h2>
<div class="html-snippet">
<p><a href="#" rel="external" title="Some info about the destination">External link</a></p>
</div>
</section>
<section class="pattern">
<h2><a name="link-button" class="anchor" href="#link-button"><span class="octicon octicon-link"></span></a>Link Button</h2>
<div class="html-snippet"><p><a href="#" class="button" title="Some info about the destination">Link Button</a></div>
</section>
</div><!-- end #generalText -->
<div id="tables" class="section-element">
<section class="pattern">
<h2><a name="tabular-data" class="anchor" href="#tabular-data"><span class="octicon octicon-link"></span></a>Tabular Data</h2>
<div class="html-snippet">
<table>
<caption>Table 1.1 shows: The Very Best Eggnog</caption>
<colgroup>
<col style="width:50%">
<col style="width:25%">
<col style="width:25%">
</colgroup>
<thead>
<tr>
<th scope="col">Ingredients</th>
<th scope="col">Serves 12</th>
<th scope="col">Serves 24</th>
</tr>
</thead>
<tbody>
<tr>
<td>Milk</td>
<td>1 quart</td>
<td>2 quart</td>
</tr>
<tr>
<td>Cinnamon Sticks</td>
<td>2</td>
<td>1</td>
</tr>
<tr>
<td>Vanilla Bean, Split</td>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>Cloves</td>
<td>5</td>
<td>10</td>
</tr>
<tr>
<td>Mace</td>
<td>10 blades</td>
<td>20 blades</td>
</tr>
<tr>
<td>Egg Yolks</td>
<td>12</td>
<td>24</td>
</tr>
<tr>
<td>Cups Sugar</td>
<td>1 ½ cups</td>
<td>3 cups</td>
</tr>
<tr>
<td>Dark Rum</td>
<td>1 ½ cups</td>
<td>3 cups</td>
</tr>
<tr>
<td>Brandy</td>
<td>1 ½ cups</td>
<td>3 cups</td>
</tr>
<tr>
<td>Vanilla</td>
<td>1 tbsp</td>
<td>2 tbsp</td>
</tr>
<tr>
<td>Half-and-half or Light Cream</td>
<td>1 quart</td>
<td>2 quart</td>
</tr>
<tr>
<td>Freshly grated nutmeg to taste</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</div>
</section>
</div><!-- end #tables -->
<div id="lists" class="section-element">
<section class="pattern">
<h2><a name="unordered-lists" class="anchor" href="#unordered-lists"><span class="octicon octicon-link"></span></a>Unordered Lists</h2>
<div class="html-snippet">
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3
<ul>
<li>Item 3.1</li>
<li>Item 3.2</li>
<li>Item 3.3</li>
</ul>
</li>
<li>Item 4</li>
<li>Item 5</li>
</ul>
</div>
</section>
<section class="pattern">
<h2><a name="ordered-lists" class="anchor" href="#ordered-lists"><span class="octicon octicon-link"></span></a>Ordered Lists</h2>
<div class="html-snippet">
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
</ol>
</div>
</section>
<section class="pattern">
<h2><a name="definition-lists" class="anchor" href="#definition-lists"><span class="octicon octicon-link"></span></a>Definition lists</h2>
<p></p>
<div class="html-snippet">
<dl>
<dt>This is a term.</dt>
<dd>This is the definition of that term, which both live in a <code>dl</code>.</dd>
<dt>Here is another term.</dt>
<dd>And it gets a definition too, which is this line.</dd>
<dt>Here is term that shares a definition with the term below.</dt>
<dt>Here is a defined term.</dt>
<dd><code>dt</code> terms may stand on their own without an accompanying <code>dd</code>, but in that case they <em>share</em> descriptions with the next available <code>dt</code>. You may not have a <code>dd</code> without a parent <code>dt</code>.
</dd>
</dl>
</div>
</section>
</div><!-- end #lists -->
<!-- FORM ELEMENTS -->
<div id="forms" class="section-element">
<section class="pattern">
<h2><a name="legend" class="anchor" href="#legend"><span class="octicon octicon-link"></span></a>Legend</h2>
<div class="html-snippet">
<fieldset>
<legend>Legend</legend>
<p><small class="caption">Required fields are marked <abbr title="Required">*</abbr></small></p>
</fieldset>
</div>
</section>
<section class="pattern">
<h2><a name="text-input" class="anchor" href="#text-input"><span class="octicon octicon-link"></span></a>Text Input</h2>
<div class="html-snippet">
<p>
<label for="text">Text Input <abbr title="Required">*</abbr></label>
<input id="text" class="input" type="text" required/>
<small class="caption">Note about this field</small>
</p>
</div>
</section>
<section class="pattern">
<h2><a name="textarea" class="anchor" href="#textarea"><span class="octicon octicon-link"></span></a>Textarea</h2>
<div class="html-snippet">
<p>
<label for="textarea">Textarea <abbr title="Required">*</abbr></label>
<textarea id="textarea" class="input" rows="8" cols="32" required></textarea>
<small class="caption">Note about this field</small>
</p>
</div>
</section>
<section class="pattern">
<h2><a name="checkbox" class="anchor" href="#checkbox"><span class="octicon octicon-link"></span></a>Password</h2>
<div class="html-snippet">
<p>
<label for="password">Password <abbr title="Required">*</abbr></label>
<input id="password" class="input" type="password" required/>
<small class="caption">Note about this field</small>
</p>
</div>
</section>
<section class="pattern">
<h2><a name="text-input" class="anchor" href="#text-input"><span class="octicon octicon-link"></span></a>Email Input (with placeholder)</h2>
<div class="html-snippet">
<p>
<label for="email">Email Address <abbr title="Required">*</abbr></label>
<input id="email" class="input" type="email" placeholder="[email protected]" required/>
<small class="caption">Note about this field</small>
</p>
</div>
</section>
<section class="pattern">
<h2><a name="checkbox-single" class="anchor" href="#checkbox-single"><span class="octicon octicon-link"></span></a>Checkbox Single</h2>
<p>
<div class="html-snippet">
<label for="checkbox" class="check"><input id="checkbox" type="checkbox" class="checkbox" required/>Single checkbox</label>
<small class="caption">Note about this field</small>
<p>
</div>
</section>
<section class="pattern">
<h2><a name="checkbox-multiple" class="anchor" href="#checkbox-multiple"><span class="octicon octicon-link"></span></a>Checkbox Multiple</h2>
<div class="html-snippet">
<fieldset class="options">
<legend>Checkbox <abbr title="Required">*</abbr></legend>
<ul>
<li>
<label for="checkbox1" class="check"><input id="checkbox1" name="checkbox" type="checkbox" checked="checked"/>Choice A</label>
<small class="caption">Note about these option</small>
</li>
<li>
<label for="checkbox2" class="check"><input id="checkbox2" name="checkbox" type="checkbox"/>Choice B</label>
<small class="caption">Note about these option</small>
</li>
<li>
<label for="checkbox3" class="check"><input id="checkbox3" name="checkbox" type="checkbox"/>Choice C</label>
<small class="caption">Note about these option</small>
</li>
</ul>
</fieldset>
</div>
</section>
<section class="pattern">
<h2><a name="radio-buttons" class="anchor" href="#radio-buttons"><span class="octicon octicon-link"></span></a>Radio Buttons</h2>
<div class="html-snippet">
<fieldset class="options">
<legend>Radio <abbr title="Required">*</abbr></legend>
<ul>
<li>
<label for="radio1" class="check"><input id="radio1" name="radio" type="radio" class="radio" checked="checked"/>Option 1</label>
</li>
<li>
<label for="radio2" class="check"><input id="radio2" name="radio" type="radio" class="radio"/>Option 2</label>
</li>
<li>
<label for="radio3" class="check"><input id="radio3" name="radio" type="radio" class="radio"/>Option 3</label>
</li>
</ul>
<small class="caption">Note about these options</small>
</fieldset>
</div>
</section>
<section class="pattern">
<h2><a name="select" class="anchor" href="#select"><span class="octicon octicon-link"></span></a>Select List</h2>
<div class="html-snippet">
<p>
<label for="select">Select <abbr title="Required">*</abbr></label>
<select id="select" class="input">
<optgroup label="Option Group">
<option>Option One</option>
<option>Option Two</option>
<option>Option Three</option>
</optgroup>
</select>
<small class="caption">Note about this selection</small>
</p>
</div>
</section>
<section class="pattern">
<h2><a name="multi-select" class="anchor" href="#multi-select"><span class="octicon octicon-link"></span></a>Multi-select</h2>
<div class="html-snippet">
<select multiple>
<option value="i1">Item 1</option>
<option value="i2">Item 2</option>
<option value="i3">Item 3</option>
<option value="i4">Item 4</option>
</select>
</div>
</section>
<section class="pattern">
<h2><a name="submit" class="anchor" href="#submit"><span class="octicon octicon-link"></span></a>Submit</h2>
<div class="html-snippet">
<p>
<input type="submit" name="submit" />
</p>
</div>
</section>
<section class="pattern">
<h2><a name="button" class="anchor" href="#button"><span class="octicon octicon-link"></span></a>Buttons</h2>
<div class="html-snippet">
<p> <button class="button">Button</button></p>
</div>
</section>
</div><!-- end #forms -->
<!-- NAVIGATION -->
<div id="nav" class="section-element">
<section class="pattern">
<h2><a name="navigation" class="anchor" href="#navigation"><span class="octicon octicon-link"></span></a>Navigation</h2>
<div class="html-snippet">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Undergraduate</a></li>
<li><a href="#">Postgraduate</a></li>
<li><a href="#">Research & Innovation</a></li>
<li><a href="#">Campus Life</a></li>
</ul>
</div>
</section>
<section class="pattern">
<h2><a name="breadcrumbs" class="anchor" href="#breadcrumbs"><span class="octicon octicon-link"></span></a>Breadcrumbs</h2>
<div class="html-snippet">
<ol class="breadcrumbs">
<li class="is-active">Level 1</li>
<li>Level 2</li>
<li>Level 3</li>
<li>Level 4</li>
</ol>
</div>
</section>
</div><!-- end #navigation -->
<!-- IMAGES -->
<div id="images" class="section-element">
<section class="pattern">
<h2><a name="images" class="anchor" href="#images"><span class="octicon octicon-link"></span></a>Images</h2>
<img src="images/600x400.png" title="600x400" alt="Sample Image (600px by 400px)" />
<img src="images/600x200.png" title="600x200" alt="Sample Image (600px by 200px)" />
<img src="images/200x200.png" title="200x200" alt="Sample Image (200px by 200px)" />
<figure>
<img src="images/withFigure.png" title="With figure" alt="With figure" />
<figcaption>
This is a placeholder image, with supporting figcaption.
</figcaption>
</figure>
</section>
</div><!-- end #images -->
<!-- WIDGETS -->
<div id="widgets" class="section-element">
<section class="pattern">
<h2><a name="loading" class="anchor" href="#loading"><span class="octicon octicon-link"></span></a>Loading</h2>
<img src="images/loading.gif" title="Loading" alt="loading image" />
</section>
<section class="pattern">
<h2><a name="accordion" class="anchor" href="#accordion"><span class="octicon octicon-link"></span></a>Accordion</h2>
<div class="html-snippet">
<dl class="accordion">
<dt><a href="">Panel 1</a></dt>
<dd>Pellentesque fermentum dolor. Aliquam quam lectus, facilisis auctor, ultrices ut, elementum vulputate, nunc.
</dd>
<dt><a href="">Panel 2</a></dt>
<dd>Donec nec justo eget felis facilisis fermentum. Aliquam porttitor mauris sit amet orci. Aenean dignissim pellentesque felis.
</dd>
<dt><a href="">Panel 3</a></dt>
<dd>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus hendrerit. Pellentesque aliquet nibh nec urna. In nisi neque, aliquet vel, dapibus id, mattis vel, nisi. Sed pretium, ligula sollicitudin laoreet viverra, tortor libero sodales leo, eget blandit nunc tortor eu nibh. Nullam mollis. Ut justo. Suspendisse potenti.
</dd>
</dl>
</div>
</section>
</div> <!-- end #widgets -->
</div>
</div>
<script src="javascripts/scale.fix.js"></script>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="javascripts/plugins.js"></script>
<script src="javascripts/scripts.js"></script>
</body>
</html>