-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathindex.html
More file actions
513 lines (468 loc) · 15.2 KB
/
index.html
File metadata and controls
513 lines (468 loc) · 15.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Bolt.css</title>
<meta name="description" content="Bolt.css is a classless css library" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="bolt.css" />
<link rel="stylesheet" href="demo-support.css" />
</head>
<body class="demo-body">
<div class="demo-topnav">
<h1>⚡️Bolt.css</h1>
<div>
<a href="https://github.com/tbolt/boltcss">GitHub</a>
</div>
</div>
<p>
Basic styles for HTML Elements. Providing a mostly-reasonable set of
styles without classes.
</p>
<p>
Use it for simple static sites or as a starting point and add your own
classes. This is not a complete solution with layout grids, components,
utility classes, and the like.
</p>
<h2>Features</h2>
<ul>
<li>No layout support</li>
<li>No CSS classes</li>
<li>Tiny</li>
<li>Dark and Light modes</li>
</ul>
<h2>How and why I made this</h2>
<p>
I used the fantastic
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"
>HTML Elements Reference</a
>
on MDN and modified it as needed.
</p>
<p>I created Bolt.css because I wanted to</p>
<ol>
<li>Pay homage to HTML</li>
<li>Have an exercise to learn more of the lesser-known tags/elements</li>
<li>Use it in other projects</li>
</ol>
<h2>How to use</h2>
<p>
Grab the
<a href="https://github.com/tbolt/boltcss/blob/master/bolt.css"
>bolt.css</a
>
stylesheet and add it manually to your app/site.
</p>
<p>
Alternatively, drop this right into your <code><head></code> to use
it via a CDN.
<code class="demo-code"
><link rel="stylesheet"
href="https://unpkg.com/boltcss/bolt.min.css"></code
>
</p>
<h2 class="demo-break">Demos</h2>
<hr />
<!-- Content sectioning -->
<!-- address -->
<h3 class="demo-header">address</h3>
<address>
<a href="mailto:jim@rock.com">jim@rock.com</a>
<br />
<a href="tel:+13115552368">(311) 555-2368</a>
</address>
<!-- article -->
<!-- not provided -->
<!-- aside -->
<h3 class="demo-header">aside</h3>
<!-- Todo: figure out how to handle content padding dependent on float direction -->
<aside style="float: right">
The Rough-skinned Newt defends itself with a deadly neurotoxin.
</aside>
<p>
Salamanders are a group of amphibians with a lizard-like appearance,
including short legs and a tail in both larval and adult forms.
</p>
<p>
Several species of salamander inhabit the temperate rainforest of the
Pacific Northwest, including the Ensatina, the Northwestern Salamander and
the Rough-skinned Newt. Most salamanders are nocturnal, and hunt for
insects, worms and other small creatures.
</p>
<!-- footer -->
<!-- not provided -->
<!-- header -->
<!-- not provided -->
<!-- headings h1-h6 -->
<h3 class="demo-header">headings</h3>
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
<!-- hgroup -->
<!-- not provided -->
<!-- main -->
<!-- not provided -->
<!-- nav -->
<!-- not provided -->
<!-- section -->
<!-- not provided yet -->
<!-- Inline text elements -->
<h3 class="demo-header">inline text elements</h3>
<p>
When Dave asks <a href="https://wikipedia.org/HAL_9000">HAL</a> to open
the pod bay door, HAL answers:
<q cite="https://www.imdb.com/title/tt0062622/quotes/qt0396921"
>I'm sorry, Dave. I'm afraid I can't do that.</q
>
You can use <abbr title="Cascading Style Sheets">CSS</abbr> to style your
<abbr title="HyperText Markup Language">HTML</abbr>. The two most popular
science courses offered by the school are
<b class="term">chemistry</b> (the study of chemicals and the composition
of substances) and <b class="term">physics</b> (the study of the nature
and properties of matter and energy). First sentence in
<cite>
<a href="http://www.george-orwell.org/1984/0.html"
>Nineteen Eighty-Four</a
>
</cite>
by George Orwell (Part 1, Chapter 1).
</p>
<p>
The <code>push()</code> method adds one or more elements to the end of an
array and returns the new length of the array. We <em>had</em> to do
something about it. I looked at it and thought <i>This can't be real!</i>.
</p>
<p>
Please press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>R</kbd> to
re-render an MDN page. Several species of <mark>salamander</mark> inhabit
the temperate rainforest of the Pacific Northwest.
<s>There will be a few tickets available at the box office tonight.</s> I
was trying to boot my computer, but I got this hilarious message:
</p>
<samp>Keyboard not found <br />Press F1 to continue</samp>
<p>
The most important rule, the rule you can never forget, no matter how much
he cries, no matter how much he begs:
<strong>never feed him after midnight</strong>. Almost every developer's
favorite molecule is
C<sub>8</sub>H<sub>10</sub>N<sub>4</sub>O<sub>2</sub>, also known as
"caffeine." The <b>Pythagorean theorem</b> is often expressed as the
following equation: <var>a<sup>2</sup></var> + <var>b<sup>2</sup></var> =
<var>c<sup>2</sup></var
>.
</p>
<p>
The Cure will be celebrating their 40th anniversary on
<time datetime="2018-07-07">July 7</time> in London's Hyde Park. The
concert starts at <time datetime="20:00">20:00</time> and you'll be able
to enjoy the band for at least <time datetime="PT2H30M">2h 30m</time>. You
could use this element to highlight <u>speling</u> mistakes, so the writer
can <u>corect</u> them. The volume of a box is <var>l</var> ×
<var>w</var> × <var>h</var>, where <var>l</var> represents the length,
<var>w</var> the width and <var>h</var> the height of the box. There is
<del>nothing</del> <ins>no code</ins> either good or bad, but
<del>thinking</del> <ins>running it</ins> makes it so.
</p>
<small>
This sample section of in-line text was mostly sourced from the wonderful
<a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element"
>HTML elements reference</a
>
over on MDN.
</small>
<!-- blockquote -->
<h3 class="demo-header">blockquote</h3>
<blockquote cite="https://www.huxley.net/bnw/four.html">
<p>
Words can be like X-rays, if you use them properly—they’ll go through
anything. You read and you’re pierced.
</p>
<footer>—Aldous Huxley, <cite>Brave New World</cite></footer>
</blockquote>
<!-- description list -->
<h3 class="demo-header">dl (description list)</h3>
<dl>
<dt>Beast of Bodmin</dt>
<dd>A large feline inhabiting Bodmin Moor.</dd>
<dt>Morgawr</dt>
<dd>A sea serpent.</dd>
<dt>Owlman</dt>
<dd>A giant owl-like creature.</dd>
</dl>
<!-- figure with figcaption
removing this for now- will revisit when we can do something unique with it
<h3- <h6 class="demo-header">figure</h3>
<figure>
<img src="https://placebear.com/620/400" alt="Elephant at sunset" />
<figcaption>An elephant at sunset</figcaption>
</figure> -->
<!-- ol -->
<h3 class="demo-header">ol (ordered list)</h3>
<ol>
<li>Mix flour, baking powder, sugar, and salt.</li>
<li>In another bowl, mix eggs, milk, and oil.</li>
<li>Stir both mixtures together.</li>
<li>Fill muffin tray 3/4 full.</li>
<li>Bake for 20 minutes.</li>
</ol>
<!-- ul -->
<h3 class="demo-header">ul (unordered list)</h3>
<ul>
<li>Neil Armstrong</li>
<li>Alan Bean</li>
<li>Peter Conrad</li>
<li>Edgar Mitchell</li>
<li>Alan Shepard</li>
</ul>
<!-- pre -->
<h3 class="demo-header">pre</h3>
<pre role="img" aria-label="ASCII COW">
___________________________
| I'm an expert in my field.|
---------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
</pre>
<!-- img -->
<h3 class="demo-header">img</h3>
<img src="snow.jpg" alt="Photo of a snowy landscape" />
<!-- audio -->
<h3 class="demo-header">audio</h3>
<audio controls src="zeldaprelude.mp3">
Your browser does not support the
<code>audio</code> element.
</audio>
<!-- video -->
<h3 class="demo-header">video</h3>
<video controls poster="poster.png">
<source src="bigbunny.mp4" type="video/mp4" />
Sorry, your browser doesn't support embedded videos.
</video>
<!-- table -->
<h3 class="demo-header">table</h3>
<table>
<thead>
<tr>
<th>Name</th>
<th>Home Runs</th>
<th>AVG</th>
</tr>
</thead>
<tbody>
<tr>
<td>Mike Trout</td>
<td>45</td>
<td>.291</td>
</tr>
<tr>
<td>Christian Yelich</td>
<td>44</td>
<td>.329</td>
</tr>
<tr>
<td>Mookie Betts</td>
<td>29</td>
<td>.295</td>
</tr>
<tr>
<td>Cody Bellinger</td>
<td>47</td>
<td>.305</td>
</tr>
</tbody>
</table>
<!-- form elements -->
<!-- buttons -->
<h3 class="demo-header">button</h3>
<button type="button">Save</button>
<button type="button" disabled>Disabled</button>
<!-- datalist -->
<h3 class="demo-header">datalist</h3>
<label for="ice-cream-choice">Choose a flavor</label>
<input
list="ice-cream-flavors"
id="ice-cream-choice"
name="ice-cream-choice"
/>
<datalist id="ice-cream-flavors">
<option value="Chocolate"></option>
<option value="Coconut"></option>
<option value="Mint"></option>
<option value="Strawberry"></option>
<option value="Vanilla"></option>
</datalist>
<!-- fieldset -->
<h3 class="demo-header">fieldset</h3>
<form>
<fieldset>
<legend>Choose your favorite monster</legend>
<label for="kraken">
<input type="radio" id="kraken" name="monster" />
Kraken
</label>
<label for="sasquatch">
<input type="radio" id="sasquatch" name="monster" />
Sasquatch
</label>
<label for="mothman">
<input type="radio" id="mothman" name="monster" />
Mothman
</label>
</fieldset>
</form>
<!-- form -->
<h3 class="demo-header">form</h3>
<form action="#" method="get">
<div class="form-example">
<label for="name"> Full name </label>
<input type="text" name="name" id="name" required />
</div>
<div class="form-example">
<label for="email"> Email </label>
<input type="email" name="email" id="email" required />
</div>
<div class="form-example">
<label for="favnum"> Favorite Number </label>
<input type="number" id="favnum" name="favnum" value="" />
</div>
<div class="form-example">
<label for="date"> Date </label>
<input type="date" id="date" name="date" value="2006-01-02" />
</div>
<div class="form-example">
<label for="surprise">
<input type="checkbox" id="surprise" name="surprise" value="" />
Add a surprise
</label>
</div>
<div class="form-example">
<input type="submit" value="Subscribe!" />
</div>
</form>
<!-- select -->
<h3 class="demo-header">select</h3>
<label for="pet-select">Choose a pet</label>
<select name="pets" id="pet-select">
<option value="dog">Dog</option>
<option value="cat">Cat</option>
<option value="hamster">Hamster</option>
<option value="parrot">Parrot</option>
<option value="spider">Spider</option>
<option value="goldfish">Goldfish</option>
</select>
<!-- text area -->
<h3 class="demo-header">text area</h3>
<textarea
id="story"
name="story"
placeholder="It was a dark and stormy night..."
rows="7"
cols="66"
></textarea>
<!-- interactive elements -->
<!-- summary/details -->
<h3 class="demo-header">summary/details</h3>
<details>
<summary>Details</summary>
Something small enough to escape casual notice.
</details>
<div class="misc-components">
<!-- meter -->
<div>
<h3 class="demo-header">meter</h3>
<label for="fuel">Fuel level</label>
<meter
id="fuel"
min="0"
max="100"
low="33"
high="66"
optimum="80"
value="77"
></meter>
</div>
<!-- optgroup -->
<div>
<h3 class="demo-header">optgroup</h3>
<label for="dino-select">Choose a dinosaur</label>
<select id="dino-select">
<optgroup label="Theropods">
<option>Tyrannosaurus</option>
<option>Velociraptor</option>
<option>Deinonychus</option>
</optgroup>
<optgroup label="Sauropods">
<option>Diplodocus</option>
<option>Saltasaurus</option>
<option>Apatosaurus</option>
</optgroup>
</select>
</div>
<!-- progress -->
<div>
<h3 class="demo-header">progress</h3>
<label for="file">File progress</label>
<progress id="file" max="100" value="70">70%</progress>
<label for="indeterminate">Indeterminate progress</label>
<progress id="indeterminate"></progress>
</div>
<!-- output -->
<div>
<h3 class="demo-header" id="rangedemo-label">range/output</h3>
<form oninput="result.value=parseInt(rangedemo.value)">
<input
type="range"
id="rangedemo"
name="rangedemo"
value="0"
aria-labelledby="rangedemo-label"
/>
<output name="result" for="b">0</output>
</form>
</div>
<!-- color -->
<div>
<h3 class="demo-header">color picker</h3>
<label for="color-picker">Pick a color</label>
<input type="color" id="color-picker" value="#843AB2" />
</div>
</div>
<!-- dialog -->
<div>
<h3 class="demo-header">dialog</h3>
<button
type="button"
onclick="document.getElementById('dialog').showModal()"
>
Open as modal
</button>
<button
type="button"
onclick="document.getElementById('dialog').open = true"
>
Open as dialog
</button>
<dialog id="dialog">
<p>Greetings, one and all!</p>
<form method="dialog">
<button>OK</button>
</form>
</dialog>
</div>
<!-- Footer -->
<footer class="demo-footer">
<hr />
<small>
<a href="https://archive.org/details/SavantTrigger_Zelda_Prelude"
>Audio Attribution</a
>
</small>
</footer>
</body>
</html>