forked from andrewh0/okcss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo.html
More file actions
548 lines (544 loc) Β· 23.8 KB
/
demo.html
File metadata and controls
548 lines (544 loc) Β· 23.8 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
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
<!DOCTYPE html>
<!-- Adapted from https://github.com/oxalorg/sakura/blob/master/test.html -->
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="OK.css is a classless CSS framework that adds sensible styling defaults to your web page."
/>
<meta property="og:title" content="OK.css | Demo" />
<meta property="og:url" content="https://okcss.netlify.app" />
<meta property="og:type" content="website" />
<meta
property="og:description"
content="OK.css is a classless CSS framework that adds sensible styling defaults to your web page."
/>
<meta property="twitter:card" content="summary" />
<meta property="twitter:title" content="OK.css | Demo" />
<meta property="twitter:url" content="https://okcss.netlify.app" />
<meta
property="twitter:description"
content="OK.css is a classless CSS framework that adds sensible styling defaults to your web page."
/>
<title>OK.css | Demo</title>
<link rel="stylesheet" href="./dist/ok.min.css" />
</head>
<body>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/demo">Demo</a></li>
<li><a href="https://github.com/andrewh0/okcss">Contribute</a></li>
</ul>
</nav>
<main>
<article>
<header>
<h1><span aria-hidden="true" role="presentation">π </span>Demo</h1>
</header>
<section>
<h2>Contents</h2>
<ul>
<li><a href="#type-scale">Type scale</a></li>
<li><a href="#inline-elements">Inline elements</a></li>
<li><a href="#code">Code</a></li>
<li><a href="#media">Media</a></li>
<li><a href="#lists">Lists</a></li>
<li><a href="#tables">Tables</a></li>
<li><a href="#forms-and-inputs">Forms and inputs</a></li>
<li><a href="#other">Other</a></li>
</ul>
</section>
<hr />
<section id="type-scale">
<h2>Type scale</h2>
<h1>Header 1 <code>h1</code></h1>
<h2>Header 2 <code>h2</code></h2>
<h3>Header 3 <code>h3</code></h3>
<h4>Header 4 <code>h4</code></h4>
<h5>Header 5 <code>h5</code></h5>
<h6>Header 6 <code>h6</code></h6>
<p>Paragraph <code>p</code></p>
<p>Systemics is a broad field that encompasses the study of <strong>systems</strong> and their behavior, structure, and interactions. It is a <strong>holistic approach</strong> that considers the interconnectedness and interdependence of systems, providing a comprehensive understanding of how they function, evolve, and respond to changes. Systemics can be applied to various domains, such as biology, economics, social sciences, and technology.</p>
<p>One of the key differences between systemics and other approaches is its focus on the <strong>relationships and interactions</strong> between components rather than individual elements. Systemics recognizes that systems are made up of interconnected parts, and that the behavior of one part can have a ripple effect on the entire system. This holistic perspective allows for a more complete understanding of how systems function and how they can be improved.</p>
<p>Systemics also emphasizes the importance of <strong>feedback loops</strong>, which are cycles of cause and effect that occur within systems. These loops can either reinforce or counteract existing patterns of behavior, and understanding them is crucial for making informed decisions about how to improve systems. By studying feedback loops, systemic thinkers can identify potential problems and opportunities for improvement, and develop strategies to address them.</p>
<p>Another key aspect of systemics is the idea of <strong>emergence</strong>, which refers to the phenomenon where complex systems exhibit properties and behaviors that cannot be predicted from the characteristics of their individual components. This is because systems are <strong>more than just the sum of their parts</strong>; they are the interactions and relationships between those parts that give rise to new properties and behaviors. Understanding emergence is essential for understanding how systems function and how they can be improved.</p>
<p>Overall, systemics is a valuable approach for understanding <strong>complex systems</strong> and improving their performance. By considering the interconnectedness and interdependence of components, studying feedback loops, and recognizing emergence, systemic thinkers can develop a deeper understanding of how systems function and how they can be improved. This can lead to more effective decision-making and problem-solving in a wide range of domains.</p>
</section>
<section id="inline-elements">
<h2>Inline elements</h2>
<p>This is a <a href="#">link.</a> <code>a</code></p>
<p>
This is <strong>strong</strong> text.
<code>strong</code>
</p>
<p>This is <em>emphasized</em> text. <code>em</code></p>
<p>This is <b>bold</b> text. <code>b</code></p>
<p>This is <i>italic</i> text. <code>i</code></p>
<p>This is <u>underlined</u> text. <code>u</code></p>
<p>This is <del>deleted</del> text. <code>del</code></p>
<p>This is <ins>inserted</ins> text. <code>ins</code></p>
<p>This is <s>strikethrough</s> text. <code>s</code></p>
<p>This is <sup>superscript</sup> text. <code>sup</code></p>
<p>This is <sub>subscript</sub> text. <code>sub</code></p>
<p>This is <small>small</small> text. <code>small</code></p>
<p>
This is an
<abbr
title="Use the <abbr> to indicate that the text is an abbreviation."
>abbreviation.</abbr
>
<code>abbr</code>
</p>
<p>
This is an
<q cite="https://developer.mozilla.org/en-US/docs/HTML/Element/q"
>inline quote</q
>. <code>q</code>
</p>
<p>This is a <cite>citation</cite>. <code>cite</code></p>
<p>This is a <dfn>definition</dfn>. <code>dfn</code></p>
<p>This is <mark>highlighted</mark> text. <code>mark</code></p>
<p>This is a <var>variable</var>. <code>var</code></p>
<p>
This is a time element:
<time datetime="2000-01-01T00:00+00:00">a while ago</time>.
<code>time</code>
</p>
</section>
<section id="code">
<h2>Code</h2>
<p>Keyboard input: <kbd>Cmd</kbd> <code>kbd</code></p>
<p>
This is some code: <code><span>code</span></code>
<code>code</code>
</p>
<p>
This is sample output:
<samp>Uncaught TypeError: 'undefined' is not a function</samp>
<code>samp</code>
</p>
<p>This is preformatted text: <code>pre</code></p>
<pre>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Senectus et netus et malesuada fames ac turpis. Diam vel quam elementum pulvinar etiam non quam.
Adipiscing vitae proin sagittis nisl rhoncus mattis rhoncus urna neque.
Elit at imperdiet dui accumsan.
Justo laoreet sit amet cursus sit amet.
Ultricies leo integer malesuada nunc vel risus commodo viverra maecenas.
Auctor elit sed vulputate mi sit amet mauris commodo quis.</pre
>
</section>
<section id="media">
<h2>Media</h2>
<p>This is a video: <code>video</code></p>
<video controls=""></video>
<p>This is a sound clip: <code>audio</code></p>
<audio controls=""></audio>
<p>This is an image: <code>img</code></p>
<img
src="https://source.unsplash.com/random/400x300"
alt="random placeholder image"
/>
<p>
Wrap the <code>img</code> in a <code>figure</code> to include a
caption with <code>figcaption</code>:
</p>
<figure>
<img
src="https://source.unsplash.com/random/400x300"
alt="random placeholder image"
/>
<figcaption>
This image is from <a href="https://unsplash.com/">Unsplash</a>.
</figcaption>
</figure>
</section>
<section id="lists">
<h2>Lists</h2>
<p>This is an ordered list: <code>ol</code></p>
<ol>
<li>List item 1 <code>li</code></li>
<li>List item 2 <code>li</code></li>
<li>List item 3 <code>li</code></li>
</ol>
<p>This is an unordered list: <code>ul</code></p>
<ul>
<li>List item 1 <code>li</code></li>
<li>List item 2 <code>li</code></li>
<li>List item 3 <code>li</code></li>
</ul>
</section>
<section id="tables">
<h2>Tables</h2>
<div style="overflow-x: auto">
<table>
<caption>
Table Caption
<code>caption</code>
</caption>
<thead>
<tr>
<th>Table Heading 1</th>
<th>Table Heading 2</th>
<th>Table Heading 3</th>
<th>Table Heading 4</th>
<th>Table Heading 5</th>
</tr>
</thead>
<tbody>
<tr>
<td>Table Cell 1</td>
<td>Table Cell 2</td>
<td>Table Cell 3</td>
<td>Table Cell 4</td>
<td>Table Cell 5</td>
</tr>
<tr>
<td>Table Cell 1</td>
<td>Table Cell 2</td>
<td>Table Cell 3</td>
<td>Table Cell 4</td>
<td>Table Cell 5</td>
</tr>
<tr>
<td>Table Cell 1</td>
<td>Table Cell 2</td>
<td>Table Cell 3</td>
<td>Table Cell 4</td>
<td>Table Cell 5</td>
</tr>
<tr>
<td>Table Cell 1</td>
<td>Table Cell 2</td>
<td>Table Cell 3</td>
<td>Table Cell 4</td>
<td>Table Cell 5</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Table Footer 1</th>
<th>Table Footer 2</th>
<th>Table Footer 3</th>
<th>Table Footer 4</th>
<th>Table Footer 5</th>
</tr>
</tfoot>
</table>
</div>
</section>
<section id="forms-and-inputs">
<h2>Forms and inputs</h2>
<form>
<fieldset>
<legend>Text inputs</legend>
<label for="email">Email</label>
<input
type="email"
name="email"
id="email"
placeholder="email@example.com"
/>
<label for="password">Password</label>
<input
type="password"
name="password"
id="password"
placeholder="Enter a password"
/>
<label for="i-read-only">Read-only input</label>
<input readonly id="i-read-only" value="Read-only" />
<label for="i-text">Text field</label>
<input type="text" id="i-text" value="Text field" />
<label for="i-number">Number field</label>
<input type="number" id="i-number" />
<label for="i-search">Search input</label>
<input type="search" id="i-search" />
<label for="i-tel">Telephone input</label>
<input type="tel" id="i-tel" />
<label for="i-url">URL input</label>
<input type="url" id="i-url" />
<label for="i-textarea">Text area</label>
<textarea
name="i-textarea"
id="i-textarea"
placeholder="This is a textarea..."
></textarea>
</fieldset>
<details>
<summary>View disabled state for <b>Text</b> inputs</summary>
<fieldset>
<legend>Text inputs (disabled)</legend>
<label for="i-d-email">Email</label>
<input disabled type="email" name="i-d-email" id="i-d-email" />
<label for="i-d-password">Password</label>
<input
disabled
type="password"
name="i-d-password"
id="i-d-password"
/>
<label for="i-d-read-only">Read-only input</label>
<input disabled readonly id="i-d-read-only" value="Read-only" />
<label for="i-d-text">Text field</label>
<input disabled type="text" id="i-d-text" value="Text field" />
<label for="i-d-number">Number field</label>
<input disabled type="number" id="i-d-number" />
<label for="i-d-search">Search input</label>
<input disabled type="search" id="i-d-search" />
<label for="i-d-tel">Telephone input</label>
<input disabled type="tel" id="i-d-tel" />
<label for="i-d-url">URL input</label>
<input disabled type="url" id="i-d-url" />
<label for="i-d-textarea">Text area</label>
<textarea
disabled
name="i-d-textarea"
id="i-d-textarea"
placeholder="This is a textarea..."
></textarea>
</fieldset>
</details>
<fieldset>
<legend>Date and time inputs</legend>
<label for="i-date">Date field</label>
<input type="date" id="i-date" />
<label for="i-time">Time field</label>
<input type="time" id="i-time" />
<label for="i-month">Month picker</label>
<input type="month" id="i-month" />
<label for="i-week">Week picker</label>
<input type="week" id="i-week" />
<label for="i-datetime-local">Datetime local field</label>
<input type="datetime-local" id="i-datetime-local" />
</fieldset>
<details>
<!--
Moving the contents of a summary tag onto a new line can
render a leading space.
-->
<!-- prettier-ignore -->
<summary>View disabled state for <b>Date and Time</b> inputs</summary>
<fieldset>
<legend>Date and time inputs (disabled)</legend>
<label for="i-d-date">Date field</label>
<input disabled type="date" id="i-d-date" />
<label for="i-d-time">Time field</label>
<input disabled type="time" id="i-d-time" />
<label for="i-d-month">Month picker</label>
<input disabled type="month" id="i-d-month" />
<label for="i-d-week">Week picker</label>
<input disabled type="week" id="i-d-week" />
<label for="i-d-datetime-local">Datetime local field</label>
<input disabled type="datetime-local" id="i-d-datetime-local" />
</fieldset>
</details>
<fieldset>
<legend>Other inputs</legend>
<label for="i-color">Color input</label>
<input type="color" id="i-color" />
<label for="i-file">File input</label>
<input type="file" id="i-file" />
<label for="i-select">Select an option:</label>
<select name="select-options" id="i-select">
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
<option value="option3">Option 3</option>
</select>
<label for="i-multiselect">Select multiple options:</label>
<select name="select-multi-options" id="i-multiselect" multiple>
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
<option value="option3">Option 3</option>
</select>
<div>
<label>Select one:</label><br />
<input type="radio" id="i-r-1" name="radio" value="option1" />
<label for="i-r-1">Option 1</label><br />
<input type="radio" id="i-r-2" name="radio" value="option2" />
<label for="i-r-2">Option 2</label><br />
<input
type="radio"
id="i-r-3"
name="radio"
value="option3"
checked
/>
<label for="i-r-3">Option 3</label><br />
</div>
<div>
<label>Check some options:</label><br />
<input
id="i-checkbox1"
name="checkbox"
type="checkbox"
checked="checked"
/>
<label for="i-checkbox1">Option 1</label>
<br />
<input id="i-checkbox2" name="checkbox" type="checkbox" />
<label for="i-checkbox2">Option 2</label><br />
<input id="i-checkbox3" name="checkbox" type="checkbox" />
<label for="i-checkbox3">Option 3</label><br />
</div>
<label for="i-range">Range input</label>
<input type="range" name="range" id="i-range" min="1" max="10" />
</fieldset>
<details>
<summary>View disabled state for <b>Other</b> inputs</summary>
<fieldset>
<legend>Other inputs (disabled)</legend>
<label for="i-d-color">Color input</label>
<input disabled type="color" id="i-d-color" />
<label for="i-d-file">File input</label>
<input disabled type="file" id="i-d-file" />
<label for="i-d-select">Select an option:</label>
<select disabled name="select-options-disabled" id="i-d-select">
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
<option value="option3">Option 3</option>
</select>
<label for="i-d-multiselect">Select multiple options:</label>
<select
disabled
name="select-multi-options-disabled"
id="i-d-multiselect"
multiple
>
<option value="option1">Option 1</option>
<option value="option2">Option 2</option>
<option value="option3">Option 3</option>
</select>
<div>
<label>Select one:</label><br />
<input
disabled
type="radio"
id="i-d-r-1"
name="radio-disabled"
value="option1"
/>
<label for="i-d-r-1">Option 1</label>
<br />
<input
disabled
type="radio"
id="i-d-r-2"
name="radio-disabled"
value="option2"
/>
<label for="i-d-r-2">Option 2</label>
<br />
<input
disabled
type="radio"
id="i-d-r-3"
name="radio-disabled"
value="option3"
checked
/>
<label for="i-d-r-3">Option 3</label>
<br />
</div>
<div>
<label>Check some options:</label><br />
<input
id="i-d-checkbox1"
name="checkbox-disabled"
type="checkbox"
checked="checked"
disabled
/>
<label for="i-d-checkbox1">Option 1</label>
<br />
<input
id="i-d-checkbox2"
name="checkbox-disabled"
type="checkbox"
disabled
/>
<label for="i-d-checkbox2">Option 2</label><br />
<input
id="i-d-checkbox3"
name="checkbox-disabled"
type="checkbox"
disabled
/>
<label for="i-d-checkbox3">Option 3</label><br />
</div>
<label for="i-d-range">Range input</label>
<input
disabled
type="range"
name="range-disabled"
id="i-d-range"
min="1"
max="10"
/>
</fieldset>
</details>
<fieldset>
<legend><input> buttons</legend>
<div>
<input type="submit" value="Submit" />
<input type="button" value="Do something" />
<input type="reset" value="Reset" />
<input type="submit" value="Submit" disabled />
<input type="button" value="Do something" disabled />
<input type="reset" value="Reset" disabled />
</div>
</fieldset>
<fieldset>
<legend><button> buttons</legend>
<div>
<button type="submit">Submit</button>
<button type="button">Do something</button>
<button type="reset">Reset</button>
<button type="submit" disabled>Submit</button>
<button type="button" disabled>Do something</button>
<button type="reset" disabled>Reset</button>
</div>
</fieldset>
</form>
</section>
<section id="other">
<h2>Other</h2>
<p>This is a horizontal rule. <code>hr</code></p>
<hr />
<p>This is a blockquote. <code>blockquote</code></p>
<blockquote>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing 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>
<p>
Aenean pharetra magna ac placerat vestibulum lectus mauris
ultrices eros.
</p>
<cite><a href="#">Aliquet eget.</a></cite>
</blockquote>
<p>This is a description list. <code>dl</code></p>
<dl>
<dt>This is a description term. <code>dt</code></dt>
<dd>And this is the description. <code>dd</code></dd>
<dt>This is another description term. <code>dt</code></dt>
<dd>With a different description. <code>dd</code></dd>
</dl>
</section>
</article>
</main>
<footer>
Made by
<a href="https://twitter.com/andrewlho_codes">@andrewlho_codes</a> in
2020.
<ins>
Remixed by <a href="https://github.com/em-ak">@em-ak</a> in 2024.
</ins>
(This is a footer. <code>footer</code>)
</footer>
</body>
</html>