-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
477 lines (441 loc) · 17.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Skeleton Styleguide</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="http://fonts.googleapis.com/css?family=Raleway:300,400,600,700" rel="stylesheet" type="text/css">
<link rel="icon" type="image/png" href="./public/images/favicon.png" />
<link rel="stylesheet" href="./public/styles/skeleton-theme.css">
</head>
<body>
<div class="container">
<div class="page-title">
<h1>Skeleton Styleguide Customized</h1>
<p>This is a style guide for Skeleton and common HTML elements, which are displayed all on a single page.</p>
</div>
<div class="page-header">
<h2>Bootstrap 4 Grid</h2>
</div>
<div class="example-grid">
<div class="row">
<div class="col-lg-1">
<div>One</div>
</div>
<div class="col-lg-11">
<div>Eleven</div>
</div>
</div>
<div class="row">
<div class="col-lg-2">
<div>Two</div>
</div>
<div class="col-lg-10">
<div>Ten</div>
</div>
</div>
<div class="row">
<div class="col-lg-3">
<div>Three</div>
</div>
<div class="col-lg-9">
<div>Nine</div>
</div>
</div>
<div class="row">
<div class="col-lg-4">
<div>Four</div>
</div>
<div class="col-lg-8">
<div>Eight</div>
</div>
</div>
<div class="row">
<div class="col-lg-5">
<div>Five</div>
</div>
<div class="col-lg-7">
<div>Seven</div>
</div>
</div>
<div class="row">
<div class="col-lg-6">
<div>Six</div>
</div>
<div class="col-lg-6">
<div>Six</div>
</div>
</div>
<div class="row">
<div class="col-lg-7">
<div>Seven</div>
</div>
<div class="col-lg-5">
<div>Five</div>
</div>
</div>
<div class="row">
<div class="col-lg-8">
<div>Eight</div>
</div>
<div class="col-lg-4">
<div>Four</div>
</div>
</div>
<div class="row">
<div class="col-lg-9">
<div>Eight</div>
</div>
<div class="col-lg-3">
<div>Three</div>
</div>
</div>
<div class="row">
<div class="col-lg-10">
<div>Ten</div>
</div>
<div class="col-lg-2">
<div>Two</div>
</div>
</div>
<div class="row mb-3">
<div class="col-lg-11">
<div>Eleven</div>
</div>
<div class="col-lg-1">
<div>One</div>
</div>
</div>
<p>Offsetting columns</p>
<div class="row">
<div class="offset-lg-3 col-lg-6">
<div>.offset-lg-3 .col-lg-6</div>
</div>
</div>
<div class="row mb-3">
<div class="offset-lg-6 col-lg-6">
<div>.offset-lg-6 .col-lg-6</div>
</div>
</div>
<p>Not specifying the size will grow to the available width</p>
<div class="row">
<div class="col-lg-2">
<div>.col-lg-2</div>
</div>
<div class="col-lg">
<div>.col-lg</div>
</div>
</div>
<div class="row mb-3">
<div class="col-lg">
<div>.col-lg</div>
</div>
<div class="col-lg-2">
<div>.col-lg-2</div>
</div>
</div>
</div>
<p>Tip: add <code>.no-gutters</code> to row to remove gutters</p>
<p>See their <a href="https://v4-alpha.getbootstrap.com/layout/grid/">documentation</a> for further help</p>
<div class="page-header">
<h2>Palette</h2>
</div>
<div class="row">
<div class="col-6 col-sm-3">
<div class="swatch b-white">
<h4 class="text-center">white</h4>
</div>
</div>
<div class="col-6 col-sm-3">
<div class="swatch b-black c-white">
<h4 class="text-center">black</h4>
</div>
</div>
<div class="col-6 col-sm-3">
<div class="swatch b-primary">
<h4 class="text-center">primary</h4>
</div>
</div>
<div class="col-6 col-sm-3">
<div class="swatch b-secondary">
<h4 class="text-center">secondary</h4>
</div>
</div>
</div>
<div class="page-header">
<h2>Typography</h2>
</div>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<p>Lorem ipsum Nostrud Duis minim Ut id incididunt deserunt consequat id irure <a href="#">nostrud voluptate</a>
aliquip Ut eu aliqua eu sed anim aute laborum est officia consectetur irure aliquip ex veniam laboris
cillum Duis occaecat fugiat adipisicing ex in dolore ullamco ad ullamco velit nisi irure ad tempor minim
fugiat fugiat aute Excepteur in id culpa id velit proident commodo enim cillum Ut quis dolor cillum enim
ullamco est in eu laboris Ut Excepteur nisi aliquip occaecat deserunt incididunt eiusmod aute Excepteur
Excepteur non ut ut fugiat nostrud laboris dolore Excepteur id qui eiusmod esse mollit fugiat eiusmod
dolore quis quis aliquip reprehenderit sint commodo dolore proident officia Duis eiusmod esse cupidatat id
consequat aliqua Excepteur dolore tempor consequat laboris dolore sit aliqua eu sed dolore laboris ad
tempor et in incididunt dolore dolor irure anim adipisicing cillum dolor in laborum laboris veniam
voluptate Ut irure ad dolor irure in ex sint dolor deserunt ut adipisicing est pariatur Excepteur dolore
ullamco pariatur in non Excepteur mollit consequat laborum ullamco reprehenderit ea id ut anim ex
consectetur occaecat.</p>
<p><strong>Bold Text</strong></p>
<p class="italic">Italic Text</p>
<p class="muted">Muted Text</p>
<p class="uppercase">Uppercased Text</p>
<p class="underline">Underline Text</p>
<p>Address:</p>
<address>
Written by <a href="mailto:[email protected]">Jon Doe</a>.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
<br />
<p>Here is a quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization,
WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5
million globally.
</blockquote>
<div class="page-header">
<h2>Lists</h2>
</div>
<div class="row">
<div class="col-md-6">
<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="col-md-6">
<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="page-header">
<h2>Buttons</h2>
</div>
<div class="row">
<div class="col-12">
<a class="button" href="#">Anchor button</a>
<button>Button element</button>
<input type="submit" value="submit input">
<input type="button" value="button input">
</div>
</div>
<div class="row">
<div class="col-12">
<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">
</div>
</div>
<div class="row">
<div class="col-12">
<a class="button button-secondary" href="#">Anchor button</a>
<button class="button-secondary">Button element</button>
<input class="button-secondary" type="submit" value="submit input">
<input class="button-secondary" type="button" value="button input">
</div>
</div>
<div class="page-header">
<h2>Tables</h2>
</div>
<table>
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Created by</th>
<th class="text-right">Created at</th>
<th class="text-right">Cost</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#">Some Thing</a></td>
<td>Foo</td>
<td>by Bilbo Baggins</td>
<td class="text-right">23 minutes ago</td>
<td class="text-right">£100.00</td>
</tr>
<tr>
<td><a href="#">Another Thing</a></td>
<td>Bar</td>
<td>by Frodo Baggins</td>
<td class="text-right">1 hour ago</td>
<td class="text-right">£99.00</td>
</tr>
<tr>
<td><a href="#">Summit Else</a></td>
<td>Wiz</td>
<td>by Gandalf</td>
<td class="text-right">01/01/2017 08:23 AM</td>
<td class="text-right">£50.00</td>
</tr>
</tbody>
<tfoot>
<tr>
<td>Total</td>
<td></td>
<td></td>
<td class="text-right"></td>
<td class="text-right">£249.00</td>
</tr>
</tfoot>
</table>
<div class="page-header">
<h2>Forms</h2>
</div>
<form>
<div class="row">
<div class="col-md-6">
<label>Your name</label>
<input class="full-width" type="text" placeholder="Bilbo Baggins">
</div>
<div class="col-md-6">
<label>Date of birth</label>
<input class="full-width" type="date">
</div>
</div>
<div class="row">
<div class="col-md-6">
<label>Your email</label>
<input class="full-width" type="email" placeholder="[email protected]">
</div>
<div class="col-md-6">
<label>Reason for contacting</label>
<select class="full-width" id="exampleRecipientInput">
<option value="">--------</option>
<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>
<label>Message</label>
<textarea class="full-width" placeholder="Hi Dave …"></textarea>
<label class="checkbox pull-right">
<input type="checkbox">Send a copy to yourself
</label>
<input class="button-primary" type="submit" value="Submit">
</form>
<div class="page-header">
<h2>Code Block</h2>
</div>
<pre><code>var i = 0;</code></pre>
<p>Some inline <code>code()</code> block.</p>
<div class="page-title">
<h1>Helpers, Mixins and Functions</h1>
<p>Below are some common helpers, mixins and functions you may find useful.</p>
</div>
<div class="page-header">
<h2>Helpers</h2>
</div>
<p class="my-1">Clearfix</p>
<code>.clearfix {...}</code><br>
<p class="my-1">Width and height</p>
<code>.full-height {...}</code><br>
<code>.full-visual-height {...}</code><br>
<code>.max-full-width {...}</code><br>
<code>.full-width {...}</code><br>
<code>.half-width {...}</code><br>
<code>.quater-width {...}</code><br>
<p class="my-1">Alignment</p>
<code>.pull-left {...}</code><br>
<code>.pull-right {...}</code><br>
<code>.push-auto {...}</code><br>
<code>.text-left {...}</code><br>
<code>.text-center {...}</code><br>
<code>.text-right {...}</code><br>
<code>.text-just {...}</code><br>
<code>.align-top {...}</code><br>
<code>.align-bottom {...}</code><br>
<code>.align-middle {...}</code><br>
<code>.align-baseline {...}</code><br>
<code>.align-self-center {...}</code><br>
<p class="my-1">Positions</p>
<code>.fixed {...}</code><br>
<code>.relative {...}</code><br>
<code>.absolute {...}</code><br>
<p class="my-1">Lists</p>
<code>.list-style-none {...}</code><br>
<p class="my-1">Typography</p>
<code>.italic {...}</code><br>
<code>.muted {...}</code><br>
<code>.nowrap {...}</code><br>
<code>.uppercase {...}</code><br>
<code>.underline {...}</code><br>
<p class="my-1">Display</p>
<code>.hidden {...}</code><br>
<code>.inline {...}</code><br>
<code>.inline-block {...}</code><br>
<code>.block {...}</code><br>
<code>.flex {...}</code><br>
<code>.display-table {...}</code><br>
<code>.display-table-cell {...}</code>
<p class="my-1">Scroll</p>
<code>.scroll-x {...}</code>
<div class="page-header">
<h2>Padding and Margin</h2>
</div>
<p>Padding and margins are defined in <code>scss/_variables.scss</code>. Padding is prefixed with <code>p</code>
and margin <code>m</code></p>
<p>Example padding classes at 1rem:</p>
<code>.p-1 {...}</code><br>
<code>.px-1 {...}</code><br>
<code>.py-1 {...}</code><br>
<code>.pt-1 {...}</code><br>
<code>.pr-1 {...}</code><br>
<code>.pb-1 {...}</code><br>
<code>.pl-1 {...}</code><br>
<p class="mt-2h">Example margin classes at 1.5rem:</p>
<code>.m-1h {...}</code><br>
<code>.mx-1h {...}</code><br>
<code>.my-1h {...}</code><br>
<code>.mt-1h {...}</code><br>
<code>.mr-1h {...}</code><br>
<code>.mb-1h {...}</code><br>
<code>.ml-1h {...}</code><br>
<div class="page-header">
<h2>Mixins</h2>
</div>
<code>@import box-shadow($top, $left, $blur, $color, $inset);</code><br>
<code>@import clearfix;</code><br>
<code>@import css-triangle($color, $direction, $size, $position, $round);</code><br>
<code>@import pseudo($display: block, $pos, $content);</code><br>
<code>@import push--auto;</code><br>
<code>@import responsive-ratio($x, $y, $pseudo);</code><br>
<code>@import truncate($truncation-boundary);</code><br>
<div class="page-header">
<h2>Functions</h2>
</div>
<code>color($name);</code> gets a color code by name<br>
<code>z($name);</code> gets a defined z-index<br>
</div>
<script src="./public/scripts/app.js"></script>
</body>
</html>