-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocs.html
More file actions
529 lines (523 loc) · 13 KB
/
docs.html
File metadata and controls
529 lines (523 loc) · 13 KB
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
{{#> base title="launch.css" isDocsPage=true }}
<main>
<section id="preview">
<h2>Preview</h2>
<p>
Try out the interactive preview below to see launch.css in action.
Where are the code snippets? Just inspect the source code to see how
it's done.
</p>
<form>
<input
type="text"
name="firstname"
placeholder="First name"
aria-label="First name"
required
/>
<input
type="email"
name="email"
placeholder="Email address"
aria-label="Email address"
autocomplete="email"
required
/>
<button type="submit">Subscribe</button>
<fieldset>
<label for="terms">
<input
type="checkbox"
role="switch"
id="terms"
name="terms"
/>
I agree to the
<a href="#" onclick="event.preventDefault()"
>Privacy Policy</a>
</label>
</fieldset>
</form>
</section>
<section id="typography">
<h2>Typography</h2>
<p>
Aliquam lobortis vitae nibh nec rhoncus. Morbi mattis neque eget
efficitur <code>asd</code> feugiat. Vivamus porta nunc a erat
mattis, mattis feugiat turpis pretium. Quisque sed tristique felis.
</p>
<blockquote>
"Maecenas vehicula metus tellus, vitae congue turpis hendrerit non.
Nam at dui sit amet ipsum cursus ornare."
<footer>
<cite>- Phasellus eget lacinia</cite>
</footer>
</blockquote>
<h3>Lists</h3>
<ul>
<li>Aliquam lobortis lacus eu libero ornare facilisis.</li>
<li>Nam et magna at libero scelerisque egestas.</li>
<li>
Suspendisse id nisl ut leo finibus vehicula quis eu ex.
<ul>
<li>Aliquam lobortis lacus eu libero ornare facilisis.</li>
<li>Nam et magna at libero scelerisque egestas.</li>
<li>
Suspendisse id nisl ut leo finibus vehicula quis eu ex.
</li>
<li>Proin ultricies turpis et volutpat vehicula.</li>
</ul>
</li>
<li>Proin ultricies turpis et volutpat vehicula.</li>
</ul>
<h3>Inline text elements</h3>
<p><a href="#" onclick="event.preventDefault()">Link</a></p>
<p><strong>Bold</strong></p>
<p><em>Italic</em></p>
<p><u>Underline</u></p>
<p><del>Deleted</del></p>
<p><ins>Inserted</ins></p>
<p><s>Strikethrough</s></p>
<p><small>Small </small></p>
<p>Text <sub>Sub</sub></p>
<p>Text <sup>Sup</sup></p>
<p>
<abbr title="Abbreviation" data-tooltip="Abbreviation">
Abbr.
</abbr>
</p>
<p><kbd>Kbd</kbd></p>
<p><mark>Highlighted</mark></p>
<h3>Heading 3</h3>
<p>
Integer bibendum malesuada libero vel eleifend. Fusce iaculis turpis
ipsum, at efficitur sem scelerisque vel. Aliquam auctor diam ut
purus cursus fringilla. Class aptent taciti sociosqu ad litora
torquent per conubia nostra, per inceptos himenaeos.
</p>
<h4>Heading 4</h4>
<p>
Cras fermentum velit vitae auctor aliquet. Nunc non congue urna, at
blandit nibh. Donec ac fermentum felis. Vivamus tincidunt arcu ut
lacus hendrerit, eget mattis dui finibus.
</p>
<h5>Heading 5</h5>
<p>
Donec nec egestas nulla. Sed varius placerat felis eu suscipit.
Mauris maximus ante in consequat luctus. Morbi euismod sagittis
efficitur. Aenean non eros orci. Vivamus ut diam sem.
</p>
<h6>Heading 6</h6>
<p>
Ut sed quam non mauris placerat consequat vitae id risus. Vestibulum
tincidunt nulla ut tortor posuere, vitae malesuada tortor molestie.
Sed nec interdum dolor. Vestibulum id auctor nisi, a efficitur sem.
Aliquam sollicitudin efficitur turpis, sollicitudin hendrerit ligula
semper id. Nunc risus felis, egestas eu tristique eget, convallis in
velit.
</p>
<figure>
<img
src="https://x4qtf8.csb.app/img/aleksandar-jason-a562ZEFKW8I-unsplash-2000x1000.jpg"
alt="Minimal landscape"
/>
<figcaption>
Image from
<a
href="https://unsplash.com/photos/a562ZEFKW8I"
target="_blank"
>unsplash.com</a>
</figcaption>
</figure>
</section>
<section>
<div role="tablist">
<button role="tab" aria-selected="true">Tab 1</button>
<button role="tab">Tab 2</button>
<button role="tab">Tab 3</button>
<button role="tab">Tab 4</button>
</div>
<div role="tablist">
<a href="#" role="tab" aria-selected="true">Tab 1</a>
<a href="#" role="tab">Tab 2</a>
<a href="#" role="tab">Tab 3</a>
<a href="#" role="tab">Tab 4</a>
</div>
</section>
<section>
<div role="grid">
<div>Grid 1</div>
<div>Grid 2</div>
<div>Grid 3</div>
<div>Grid 4</div>
<div>Grid 5</div>
<div>Grid 6</div>
<div>Grid 7</div>
<div>Grid 8</div>
</div>
</section>
<section id="form">
<form>
<h2>Form elements</h2>
<label for="search">Search</label>
<input
type="search"
id="search"
name="search"
placeholder="Search"
/>
<label for="text">Text</label>
<input type="text" id="text" name="text" placeholder="Text" />
<label for="textarea">Textarea</label>
<textarea id="textarea" name="textarea" rows="6"></textarea>
<label for="select">Select</label>
<select id="select" name="select" required>
<option selected value="">Select…</option>
<option>…</option>
</select>
<label for="file">File browser
<input type="file" id="file" name="file" />
</label>
<label for="range">Range slider
<input
type="range"
min="0"
max="100"
value="50"
id="range"
name="range"
/>
</label>
<label for="valid">
Valid
<input
type="text"
id="valid"
name="valid"
placeholder="Valid"
aria-invalid="false"
/>
</label>
<label for="invalid">
Invalid
<input
type="text"
id="invalid"
name="invalid"
placeholder="Invalid"
aria-invalid="true"
/>
</label>
<label for="disabled">
Disabled
<input
type="text"
id="disabled"
name="disabled"
placeholder="Disabled"
disabled
/>
</label>
<label for="date">Date
<input type="date" id="date" name="date" />
</label>
<label for="time">Time
<input type="time" id="time" name="time" />
</label>
<label for="color">Color
<input type="color" id="color" name="color" value="#0eaaaa" />
</label>
<fieldset>
<legend><strong>Checkboxes</strong></legend>
<label for="checkbox-1">
<input
type="checkbox"
id="checkbox-1"
name="checkbox-1"
checked
/>
Checkbox
</label>
<label for="checkbox-2">
<input type="checkbox" id="checkbox-2" name="checkbox-2" />
Checkbox
</label>
</fieldset>
<fieldset>
<legend><strong>Radio buttons</strong></legend>
<label for="radio-1">
<input
type="radio"
id="radio-1"
name="radio"
value="radio-1"
checked
/>
Radio button
</label>
<label for="radio-2">
<input
type="radio"
id="radio-2"
name="radio"
value="radio-2"
/>
Radio button
</label>
</fieldset>
<fieldset>
<legend><strong>Switches</strong></legend>
<label for="switch-1">
<input
type="checkbox"
id="switch-1"
name="switch-1"
role="switch"
checked
/>
Switch
</label>
<label for="switch-2">
<input
type="checkbox"
id="switch-2"
name="switch-2"
role="switch"
/>
Switch
</label>
</fieldset>
<button type="button" aria-label="cancel action">
Cancel button
</button>
<button type="button" aria-label="delete resource">
Danger button
</button>
<button type="reset">Reset</button>
<button type="submit" onclick="event.preventDefault()">
Submit
</button>
</form>
</section>
<section id="avatar">
<h2>Avatar</h2>
<p>
Avatar images are styled automatically when alt text contains
"avatar" or "profile":
</p>
<div>
<img src="https://picsum.photos/id/237/150" alt="User avatar" />
<img src="https://picsum.photos/id/238/150" alt="Profile picture" />
<img src="https://picsum.photos/id/239/150" alt="John's avatar" />
<img
src="https://picsum.photos/id/236/150"
alt="Team member profile"
/>
</div>
<p>Avatars work in different contexts like navigation and content:</p>
<p>
<img src="https://picsum.photos/id/235/150" alt="Author avatar" />
Written by <strong>Alex Johnson</strong> - This article was written
by our lead developer.
</p>
</section>
<section id="modal">
<h2>Modal</h2>
<button class="contrast" onclick="modalExample.showModal()">
Launch demo modal
</button>
</section>
<section id="accordions">
<h2>Accordions</h2>
<details>
<summary>Accordion 1</summary>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Pellentesque urna diam, tincidunt nec porta sed, auctor id
velit. Etiam venenatis nisl ut orci consequat, vitae tempus quam
commodo. Nulla non mauris ipsum. Aliquam eu posuere orci. Nulla
convallis lectus rutrum quam hendrerit, in facilisis elit
sollicitudin. Mauris pulvinar pulvinar mi, dictum tristique elit
auctor quis. Maecenas ac ipsum ultrices, porta turpis sit amet,
congue turpis.
</p>
</details>
<details open>
<summary>Accordion 2</summary>
<ul>
<li>Vestibulum id elit quis massa interdum sodales.</li>
<li>
Nunc quis eros vel odio pretium tincidunt nec quis neque.
</li>
<li>Quisque sed eros non eros ornare elementum.</li>
<li>
Cras sed libero aliquet, porta dolor quis, dapibus ipsum.
</li>
</ul>
</details>
</section>
<section id="progress">
<h2>Progress bar</h2>
<progress id="progress-1" value="25" max="100"></progress>
</section>
<section>
<table>
<thead>
<tr>
<th>Invoice</th>
<th>Status</th>
<th>Method</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<tr>
<td>INV001</td>
<td>Paid</td>
<td>Credit Card</td>
<td>$250.00</td>
</tr>
<tr>
<td>INV002</td>
<td>Pending</td>
<td>PayPal</td>
<td>$150.00</td>
</tr>
<tr>
<td>INV003</td>
<td>Unpaid</td>
<td>Bank Transfer</td>
<td>$350.00</td>
</tr>
<tr>
<td>INV004</td>
<td>Paid</td>
<td>Credit Card</td>
<td>$450.00</td>
</tr>
<tr>
<td>INV005</td>
<td>Paid</td>
<td>PayPal</td>
<td>$550.00</td>
</tr>
<tr>
<td>INV006</td>
<td>Pending</td>
<td>Bank Transfer</td>
<td>$200.00</td>
</tr>
<tr>
<td>INV007</td>
<td>Unpaid</td>
<td>Credit Card</td>
<td>$300.00</td>
</tr>
</tbody>
</table>
</section>
<div role="feed" aria-busy="false">
<a href="#">
<figure>
<img
src="https://picsum.photos/id/100/1280/720"
alt="Descriptive alt text for post 1"
/>
</figure>
<h2>First Blog Post Title</h2>
<time datetime="2025-03-15">March 15, 2025</time>
<p>
Brief excerpt or summary of the first blog post that gives
readers a preview...
</p>
</a>
<a href="#">
<figure>
<img
src="https://picsum.photos/id/200/1280/720"
alt="Descriptive alt text for post 3"
/>
</figure>
<h2>Third Blog Post Title</h2>
<time datetime="2025-03-05">March 5, 2025</time>
<p>
Brief excerpt or summary of the third blog post that gives
readers a preview...
</p>
</a>
<a href="#">
<figure>
<img
src="https://picsum.photos/id/151/1280/720"
alt="Descriptive alt text for post 2"
/>
</figure>
<h2>Second Blog Post Title</h2>
<time datetime="2025-03-10">March 10, 2025</time>
<p>
Brief excerpt or summary of the second blog post that gives
readers a preview...
</p>
</a>
<a href="#">
<figure>
<img
src="https://picsum.photos/id/250/1280/720"
alt="Descriptive alt text for post 4"
/>
</figure>
<h2>Fourth Blog Post Title</h2>
<time datetime="2025-03-01">March 1, 2025</time>
<p>
Brief excerpt or summary of the fourth blog post that gives
readers a preview...
</p>
</a>
</div>
<article>
<figure>
<img
src="https://picsum.photos/id/100/1280/720"
alt="Descriptive alt text for the blog post"
/>
</figure>
<h1>Blog Post Title</h1>
<time datetime="2025-03-15">March 15, 2025</time>
<p>
First paragraph of the blog post with an introduction to the topic.
This paragraph should be compelling and draw the reader in...
</p>
<h2>First Section Heading</h2>
<p>
Content for the first section of the blog post. This might include
detailed information, examples, or explanations...
</p>
<h2>Second Section Heading</h2>
<p>Content for the second section of the blog post...</p>
<blockquote>
<p>
An important quote or excerpt that stands out from the rest of
the content.
</p>
<cite>Source of the quote</cite>
</blockquote>
<h2>Final Section</h2>
<p>Concluding thoughts and summary of the blog post...</p>
</article>
</main>
<dialog id="modalExample">
<header>
<h3>Confirm your action!</h3>
</header>
<main>
<p>
Cras sit amet maximus risus. Pellentesque sodales odio sit amet
augue finibus pellentesque. Nullam finibus risus non semper euismod.
</p>
</main>
<footer>
<button onclick="modalExample.close()">Cancel</button>
<button autofocus onclick="modalExample.close()">Confirm</button>
</footer>
</dialog>
{{/base}}