-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
749 lines (692 loc) · 38.9 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
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
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<title>base.css - Urbit</title>
<link rel="stylesheet" href="base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div class="container">
<article class="row">
<div class="col-md-offset-1 col-md-10">
<section class="mt-16 mb-16">
<h1 class="mb-4">Hey, this is the <code>base</code> stylesheet for Urbit.
</h1>
<p>Urbit is often used for simple, markdown-based publishing. This stylesheet is meant to make simple, text-heavy documents look clean, organized and readable. And, to provide some basic layout tools that are easy to use when writing basic HTML.</p>
<p class="mb-4">As an open source project, the design guidelines for Urbit are necesarrily open. Evolving the look and feel of Urbit is intended to be a community project. Criticism is welcome; criticism in the form of a pull request is even better.</p>
<ul class="h4 list-reset h-font">
<li>
Type
<ul class="h5 list-reset ml-4">
<li><a href="#type">General type rules</a></li>
<li><a href="#headings">Headings</a></li>
<li><a href="#body">Body</a></li>
<li><a href="#alignment">Alignment</a></li>
<li><a href="#modifiers">Modifiers</a></li>
<li><a href="#blockquotes">Blockquotes</a></li>
<li><a href="#code">Code</a></li>
<li><a href="#colors">Colored / highlighted text</a></li>
<li><a href="#lists">Lists</a></li>
</ul>
</li>
<li>
Layout
<ul class="h5 list-reset ml-4">
<li><a href="#grid">Grid system</a></li>
<li><a href="#width">Width / height utilities</a></li>
<li><a href="#margin">Margin / padding utilities</a></li>
<li><a href="#centering">Vertical / horizontal centering</a></li>
</ul>
</li>
<li>
Forms & Elements
<ul class="h5 list-reset ml-4">
<li><a href="#buttons">Buttons</a></li>
<li><a href="#forms">Forms / inputs</a></li>
<li><a href="#icons">Icons</a></li>
<li><a href="#shapes">Shapes</a></li>
</ul>
</li>
<li>Source code & contributing</li>
<li>Prior work & influences</li>
</ul>
</section>
<section class="mb-16">
<h1 id="type">Type</h1>
<h2>General type rules</h2>
<p class="mb-12">There is a certain glibness in calling someone a legend, but if there's any artist worthy of the title it's Barbara Hammer, whose nearly 50-year career has spanned disciplines and broken boundaries, but has focused most especially on moving images. </p>
<h2 id="headings">Headings</h2>
<div class="mb-6">
<h1>Heading 1 48/64 px</h1>
<h2>Heading 2 36/52 px</h2>
<h3>Heading 3 24/32 px</h3>
<h4>Heading 4 20/28 px</h4>
<h5>Heading 5 20/28 px</h5>
</div>
<pre class="mb-12">
<h1>Why painting?</h1>
<h2>Why painting?</h2>
<h3>Why painting?</h3>
<h4>Why painting?</h4>
<h5>Why painting?</h5></pre>
<h2 id="body">Body</h2>
<p class="mb-12">There is a certain glibness in calling someone a legend, but if there's any artist worthy of the title it's Barbara Hammer, whose nearly 50-year career has spanned disciplines and broken boundaries, but has focused most especially on moving images. </p>
<h2 id="alignment">Alignment</h2>
<h4>Left aligned (default)</h3>
<p>This time I know where I am going, it is no longer the ancient night, the recent night. Now it is a game, I am going to play. I never knew how to play, till now. I longed to, but I knew it was impossible. And yet I often tried. I turned on all the lights, I took a good look all round, I began to play with what I saw.</p>
<pre class="mb-6"><p>[...]</p></pre>
<h4>Justified</h3>
<p class="justify">This time I know where I am going, it is no longer the ancient night, the recent night. Now it is a game, I am going to play. I never knew how to play, till now. I longed to, but I knew it was impossible. And yet I often tried. I turned on all the lights, I took a good look all round, I began to play with what I saw.</p>
<pre class="mb-6"><p class="justify">[...]</p></pre>
<h4>Right aligned</h3>
<p class="right">This time I know where I am going, it is no longer the ancient night, the recent night. Now it is a game, I am going to play. I never knew how to play, till now. I longed to, but I knew it was impossible. And yet I often tried. I turned on all the lights, I took a good look all round, I began to play with what I saw.</p>
<pre class="mb-6"><p class="right">[...]</p></pre>
<h4>Centered</h3>
<p class="center">This time I know where I am going, it is no longer the ancient night, the recent night. Now it is a game, I am going to play. I never knew how to play, till now. I longed to, but I knew it was impossible. And yet I often tried. I turned on all the lights, I took a good look all round, I began to play with what I saw.</p>
<pre class="mb-12"><p class="center">[...]</p></pre>
<h2 id="modifiers">Modifiers</h2>
<h4>Size</h4>
<p class="text-lg">Now it is a game, I am going to play.</p>
<p class="text-md">Now it is a game, I am going to play.</p>
<p>Now it is a game, I am going to play.</p>
<p class="text-sm">Now it is a game, I am going to play.</p>
<pre class="mb-6"><p class="text-lg">Now it is a game, I am going to play.</p>
<p class="text-md">Now it is a game, I am going to play.</p>
<p>Now it is a game, I am going to play.</p>
<p class="text-sm">Now it is a game, I am going to play.</p></pre>
<h4>Formatting</h4>
<p><u>Such is the earnestness from which I have never been able to depart.</u></p>
<p class="underline">Such is the earnestness from which I have never been able to depart.</p>
<pre class="mb-4"><p><u>Such is the earnestness from which I have never been able to depart.</u></p>
<p class="underline">Such is the earnestness from which I have never been able to depart.</p></pre>
<p><s>To have been able to conceive such a plan is encouraging.</s></p>
<p class="strikethrough">To have been able to conceive such a plan is encouraging.</p>
<pre><p><s>To have been able to conceive such a plan is encouraging.</s></p>
<p class="strikethrough">To have been able to conceive such a plan is encouraging.</p></pre>
<p><em>Such is the earnestness from which I have never been able to depart.</em></p>
<p class="italic">Such is the earnestness from which I have never been able to depart.</p>
<pre class="mb-6"><p><em>Such is the earnestness from which I have never been able to depart.</em></p>
<p class="italic">Such is the earnestness from which I have never been able to depart.</p></pre>
<h4>Case</h4>
<p class="capitalize">To have been able to conceive such a plan is encouraging.</p>
<pre><p class="capitalize">To have been able to conceive such a plan is encouraging.</p></pre>
<p class="uppercase">Such is the earnestness from which I have never been able to depart.</p>
<pre class="mb-6"><p class="uppercase">Such is the earnestness from which I have never been able to depart.</p></pre>
<h4>Weight</h4>
<p class="text-300">To have been able to conceive such a plan is encouraging.</p>
<p class="text-400">Such is the earnestness from which I have never been able to depart.</p>
<p class="text-500">To have been able to conceive such a plan is encouraging.</p>
<p class="text-600">Such is the earnestness from which I have never been able to depart.</p>
<p class="text-700">To have been able to conceive such a plan is encouraging.</p>
<p><b>To have been able to conceive such a plan is encouraging.</b></p>
<p class="text-800">Such is the earnestness from which I have never been able to depart.</p>
<pre class="mb-12"><p class="text-300">To have been able to conceive such a plan is encouraging.</p>
<p class="text-400">Such is the earnestness from which I have never been able to depart.</p>
<p class="text-500">To have been able to conceive such a plan is encouraging.</p>
<p class="text-600">Such is the earnestness from which I have never been able to depart.</p>
<p class="text-700">To have been able to conceive such a plan is encouraging.</p>
<p><b>To have been able to conceive such a plan is encouraging.</b></p>
<p class="text-800">Such is the earnestness from which I have never been able to depart.</p></pre>
<h2 id="blockquotes">Blockquotes</h2>
<blockquote>As I've grown as an artist, I've learned that my mission statement is really self-expression. I don't want anybody to classify my music. I want them to say, "This is somebody who's recognizing his true feelings, his true emotions, ideas, thoughts, opinions, and views on the world, all on one record."</blockquote>
<pre class="mb-12"><blockquote>As I've grown as an artist, I've learned that my mission statement is really self-expression. I don't want anybody to classify my music. I want them to say, "This is somebody who's recognizing his true feelings, his true emotions, ideas, thoughts, opinions, and views on the world, all on one record."</blockquote></pre>
<h2 id="code">Code</h2>
<p>Sometimes you need to <code>?: =(0 (mod count 15))</code> just for a minute.</p>
<pre class="mb-6"><p>Sometimes, you need to <code>?: =(0 (mod count 15))</code> just for a minute.</p></pre>
<p>And then, ocassionally, you'd rather:</p>
<pre>
> (add 2 2)
4</pre>
<pre class="mb-12"><pre>
> (add 2 2)
4
</pre></pre>
<h2 id="colors">Colored / highlighted text</h2>
<p class="blue">I was so proud of you!</p>
<p class="green">I was so proud of you!</p>
<p class="red">I was so proud of you!</p>
<pre class="mb-6"><p class="blue">I was so proud of you!</p>
<p class="green">I was so proud of you!</p>
<p class="red">I was so proud of you!</p></pre>
<p class="gray-lighter">I was so proud of you!</p>
<p class="gray-light">I was so proud of you!</p>
<p class="gray">I was so proud of you!</p>
<p class="gray-dark">I was so proud of you!</p>
<pre class="mb-6"><p class="gray-lighter">I was so proud of you!</p>
<p class="gray-light">I was so proud of you!</p>
<p class="gray">I was so proud of you!</p>
<p class="gray-dark">I was so proud of you!</p></pre>
<p><span class="blue-hl">I was so proud of you!</span></p>
<p><span class="green-hl">I was so proud of you!</span></p>
<p><span class="red-hl">I was so proud of you!</span></p>
<pre><p><span class="blue-hl">I was so proud of you!</span></p>
<p><span class="green-hl">I was so proud of you!</span></p>
<p><span class="red-hl">I was so proud of you!</span></p></pre>
<p><span class="gray-lighter-hl">I was so proud of you!</span></p>
<p><span class="gray-light-hl">I was so proud of you!</span></p>
<p><span class="gray-hl">I was so proud of you!</span></p>
<p><span class="gray-dark-hl">I was so proud of you!</span></p>
<p><span class="black-hl">I was so proud of you!</span></p>
<pre class="mb-12"><p><span class="gray-lighter-hl">I was so proud of you!</span></p>
<p><span class="gray-light-hl">I was so proud of you!</span></p>
<p><span class="gray-hl">I was so proud of you!</span></p>
<p><span class="gray-dark-hl">I was so proud of you!</span></p>
<p><span class="black-hl">I was so proud of you!</span></p></pre>
<h2 id="lists">Lists</h2>
<ul>
<li>Where do you find inspiration for your shows today?</li>
<li>
Who, in the last 10 years, has been invaluable as a mentor?
<ul>
<li>My parents.</li>
<li>Kruger</li>
</ul>
</li>
<li>I'm always like, "Diane, what do you think?"</li>
</ul>
<pre class="mb-6"><ul>
<li>Where do you find inspiration for your shows today?</li>
<li>
Who, in the last 10 years, has been invaluable as a mentor?
<ul>
<li>My parents.</li>
<li>Kruger</li>
</ul>
</li>
<li>I'm always like, "Diane, what do you think?"</li>
</ul></pre>
<ul class="list-reset">
<li>Where do you find inspiration for your shows today?</li>
<li>
Who, in the last 10 years, has been invaluable as a mentor?
<ul>
<li>My parents.</li>
<li>Kruger</li>
</ul>
</li>
<li>I'm always like, "Diane, what do you think?"</li>
</ul>
<pre class="mb-6"><ul class="list-reset">
<li>Where do you find inspiration for your shows today?</li>
<li>
Who, in the last 10 years, has been invaluable as a mentor?
<ul>
<li>My parents.</li>
<li>Kruger</li>
</ul>
</li>
<li>I'm always like, "Diane, what do you think?"</li>
</ul></pre>
<ol>
<li>Where do you find inspiration for your shows today?</li>
<li>Who, in the last 10 years, has been invaluable as a mentor?</li>
<li>I'm always like, "Diane, what do you think?"</li>
</ol>
<pre class="mb-12"><ol>
<li>Where do you find inspiration for your shows today?</li>
<li>Who, in the last 10 years, has been invaluable as a mentor?</li>
<li>I'm always like, "Diane, what do you think?"</li>
</ol></pre>
<!--- --->
<h2 id="grid">Layout and grids</h2>
<p>There is a certain glibness in calling someone a legend, but if there's any artist worthy of the title it's Barbara Hammer, whose nearly 50-year career has spanned disciplines and broken boundaries, but has focused most especially on moving images. </p>
<h3>Percent-based 12 column grid</h3>
<div class="row mb-1">
<div class="col-sm-2">
<div class="black-hl text-md text-mono text-700 center">col-2</div>
</div>
<div class="col-sm-7">
<div class="black-hl text-md text-mono text-700 center">col-7</div>
</div>
<div class="col-sm-3">
<div class="black-hl text-md text-mono text-700 center">col-3</div>
</div>
</div>
<div class="row mb-1">
<div class="col-sm-4">
<div class="black-hl text-md text-mono text-700 center">col-4</div>
</div>
<div class="col-sm-4">
<div class="black-hl text-md text-mono text-700 center">col-4</div>
</div>
<div class="col-sm-4">
<div class="black-hl text-md text-mono text-700 center">col-4</div>
</div>
</div>
<div class="row mb-1">
<div class="col-sm-9">
<div class="black-hl text-md text-mono text-700 center">col-9</div>
</div>
<div class="col-sm-2">
<div class="black-hl text-md text-mono text-700 center">col-2</div>
</div>
<div class="col-sm-1">
<div class="black-hl text-md text-mono text-700 center">col-1</div>
</div>
</div>
<pre class="mb-3"><div class="row mb-1">
<div class="col-sm-2">
<div class="black-hl text-md text-mono text-700 center">col-2</div>
</div>
<div class="col-sm-7">
<div class="black-hl text-md text-mono text-700 center">col-7</div>
</div>
<div class="col-sm-3">
<div class="black-hl text-md text-mono text-700 center">col-3</div>
</div>
</div>
<div class="row mb-1">
<div class="col-sm-4">
<div class="black-hl text-md text-mono text-700 center">col-4</div>
</div>
<div class="col-sm-4">
<div class="black-hl text-md text-mono text-700 center">col-4</div>
</div>
<div class="col-sm-4">
<div class="black-hl text-md text-mono text-700 center">col-4</div>
</div>
</div>
<div class="row mb-1">
<div class="col-sm-9">
<div class="black-hl text-md text-mono text-700 center">col-9</div>
</div>
<div class="col-sm-2">
<div class="black-hl text-md text-mono text-700 center">col-2</div>
</div>
<div class="col-sm-1">
<div class="black-hl text-md text-mono text-700 center">col-1</div>
</div>
</div></pre>
<h4 class="mb-2">With breakpoints</h4>
<div class="row mb-1">
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
</div>
<div class="row mb-1">
<div class="col-md-6 col-lg-4">
<div class="black-hl text-md text-mono text-700 center">md6, lg4</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="black-hl text-md text-mono text-700 center">md6, lg4</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="black-hl text-md text-mono text-700 center">md6, lg4</div>
</div>
</div>
<div class="row">
<div class="col-lg-9">
<div class="black-hl text-md text-mono text-700 center">lg9</div>
</div>
<div class="col-lg-offset-1 col-lg-2">
<div class="black-hl text-sm text-mono text-700 center">offset1,lg2</div>
</div>
</div>
<pre class="mb-6"><div class="row mb-1">
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
<div class="col-sm">
<div class="black-hl text-md text-mono text-700 center">sm</div>
</div>
</div>
<div class="row mb-1">
<div class="col-md-6 col-lg-4">
<div class="black-hl text-md text-mono text-700 center">md6, lg4</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="black-hl text-md text-mono text-700 center">md6, lg4</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="black-hl text-md text-mono text-700 center">md6, lg4</div>
</div>
</div>
<div class="row mb-8">
<div class="col-lg-9">
<div class="black-hl text-md text-mono text-700 center">lg9</div>
</div>
<div class="col-lg-offset-1 col-lg-2">
<div class="black-hl text-sm text-mono text-700 center">offset1,lg2</div>
</div>
</div></pre>
<h3 id="width">Fixed width / height utilities</h3>
<p class="mb4">Hammer was raised in Hollywood, California. It wasn't until her early thirties that she left her husband, came out as lesbian, and, inspired by the experimental filmmaker Maya Deren, began making short, scintillating films of her own.</p>
<div class="flex mb-1">
<div class="w-12 black-hl text-md text-mono text-700 center mr-3 p-1">w-12</div>
<div class="w-16 black-hl text-md text-mono text-700 center mr-3 p-1">w-16</div>
<div class="w-20 black-hl text-md text-mono text-700 center mr-3 p-1">w-20</div>
</div>
<div class="flex mb-1">
<div class="w-12 h-12 black-hl text-md text-mono text-700 center mr-3 p-1">w-12<br />h-12</div>
<div class="w-16 h-16 black-hl text-md text-mono text-700 center mr-3 p-1">w-16<br />h-16</div>
<div class="w-20 h-20 black-hl text-md text-mono text-700 center mr-3 p-1">w-20<br />h-20</div>
</div>
<div class="flex mb1">
<div class="w-24 h-24 black-hl text-md text-mono text-700 center mr-3 mb-3">w-24<br />h-24</div>
<div class="w-36 h-36 black-hl text-md text-mono text-700 center mr-3 mb-3">w-36<br />h-36</div>
<div class="w-48 h-48 black-hl text-md text-mono text-700 center mr-3 mb-3">w-48<br />h-48</div>
</div>
<pre class="mb-12"><div class="flex mb-1">
<div class="w-12 black-hl text-md text-mono text-700 center mr-3 p-1">w-12</div>
<div class="w-16 black-hl text-md text-mono text-700 center mr-3 p-1">w-16</div>
<div class="w-20 black-hl text-md text-mono text-700 center mr-3 p-1">w-20</div>
</div>
<div class="flex mb-1">
<div class="w-12 h-12 black-hl text-md text-mono text-700 center mr-3 p-1">w-12<br />h-12</div>
<div class="w-16 h-16 black-hl text-md text-mono text-700 center mr-3 p-1">w-16<br />h-16</div>
<div class="w-20 h-20 black-hl text-md text-mono text-700 center mr-3 p-1">w-20<br />h-20</div>
</div>
<div class="flex mb1">
<div class="w-24 h-24 black-hl text-md text-mono text-700 center mr-3 mb-3">w-24<br />h-24</div>
<div class="w-36 h-36 black-hl text-md text-mono text-700 center mr-3 mb-3">w-36<br />h-36</div>
<div class="w-48 h-48 black-hl text-md text-mono text-700 center mr-3 mb-3">w-48<br />h-48</div>
</div></pre>
<h3 id="margin">Margin / padding utilities</h3>
<p class="mb-4">Hammer was raised in Hollywood, California. It wasn't until her early thirties that she left her husband, came out as lesbian, and, inspired by the experimental filmmaker Maya Deren, began making short, scintillating films of her own.</p>
<div class="row">
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-1">mb-1</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-2">mb-2</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-4">mb-4</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-8">mb-8</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-16">mb-16</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-16">mt-16</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-8">mt-8</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-4">mt-4</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-2">mt-2</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-1">mt-1</div>
</div>
<pre><div class="row">
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-1">mb-1</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-2">mb-2</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-4">mb-4</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-8">mb-8</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mb-16">mb-16</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-16">mt-16</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-8">mt-8</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-4">mt-4</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-2">mt-2</div>
<div class="black-hl text-md text-mono text-700 center mr-3 p-1 mt-1">mt-1</div>
</div></pre>
<p>The properties exposed for these utilities are given by the following Sass definitions.</p>
<p>Property values 0 - 99 are currently available ($sizing-count == 99)</p>
<pre>@for $i from 0 through $sizing-count {
.w-#{$i} {width: #{$i}rem;} // Example: .w-12: 12rem;
.h-#{$i} {height: #{$i}rem;} // Example: .h-12: 12rem;
.m-#{$i} {margin: #{$i}rem;} // Example: .m-12: 12rem;
.mt-#{$i} {margin-top: #{$i}rem;} // Example: .mt-12: 12rem;
.mb-#{$i} {margin-bottom: #{$i}rem;} // Example: .mb-12: 12rem;
.ml-#{$i} {margin-left: #{$i}rem;} // Example: .ml-12: 12rem;
.mr-#{$i} {margin-right: #{$i}rem;} // Example: .mr-12: 12rem;
.p-#{$i} {padding: #{$i}rem;} // Example: .p-12: 12rem;
.pt-#{$i} {margin-top: #{$i}rem;} // Example: .pt-12: 12rem;
.pb-#{$i} {padding-bottom: #{$i}rem;} // Example: .pb-12: 12rem;
.pl-#{$i} {padding-left: #{$i}rem;} // Example: .pl-12: 12rem;
.pr-#{$i} {padding-right: #{$i}rem;} // Example: pr-12: 12rem;
}</pre>
<h3 id="centering" class="mt-12">Vertical / horizontal centering</h3>
<div class="row">
<div class="col-md-6">
<p>Use of Flexbox is encouraged.</p>
<p>For example, here is how you center an element inside of another element</p>
</div>
<div class="col-md-4 col-md-offset-2">
<div class="w-48 h-48 black-hl text-md row align-vertical justify-center">
<div>Center me!</div>
</div>
</div>
</div>
<pre><div class="w-48 h-48 black-hl text-md row align-vertical justify-center">
<div>Center me!</div>
</div></pre>
</section>
<section>
<h3 id="buttons" class="mt-12">Buttons</h3>
<p class="mt-2 mb-4">Hammer was raised in Hollywood, California. It wasn't until her early thirties that she left her husband, came out as lesbian, and, inspired by the experimental filmmaker Maya Deren, began making short, scintillating films of her own.</p>
<div class="row">
<button class="btn mr-2">Action</button>
<button class="btn mr-2 btn-primary">Action</button>
<button class="btn mr-2 btn-secondary">Action</button>
<button class="btn mr-2 btn-tetiary">Action</button>
<button class="btn mr-2 btn-warning">Serious action</button>
</div>
<div class="row">
<button class="btn btn-sm mr-2">Action</button>
<button class="btn btn-sm mr-2 btn-primary">Action</button>
<button class="btn btn-sm mr-2 btn-secondary">Action</button>
<button class="btn btn-sm mr-2 btn-tetiary">Action</button>
<button class="btn btn-sm mr-2 btn-warning">Serious action</button>
</div>
<pre class="mb-12"><div class="row">
<button class="btn mr-2">Action</button>
<button class="btn mr-2 btn-primary">Action</button>
<button class="btn mr-2 btn-secondary">Action</button>
<button class="btn mr-2 btn-tetiary">Action</button>
<button class="btn mr-2 btn-warning">Serious action</button>
</div>
<div class="row">
<button class="btn btn-sm mr-2">Action</button>
<button class="btn btn-sm mr-2 btn-primary">Action</button>
<button class="btn btn-sm mr-2 btn-secondary">Action</button>
<button class="btn btn-sm mr-2 btn-tetiary">Action</button>
<button class="btn btn-sm mr-2 btn-warning">Serious action</button>
</div></pre>
<h3 id="forms" class="mt-12">Forms</h3>
<p class="mt-2 mb-4">Hammer was raised in Hollywood, California. It wasn't until her early thirties that she left her husband, came out as lesbian, and, inspired by the experimental filmmaker Maya Deren, began making short, scintillating films of her own.</p>
<div class="row">
<div class="col-md-4">
<div class="input-group">
<label>Name</label>
<input type="text" />
</div>
<div class="input-group error">
<label>Age</label>
<input type="text" value="John" />
<div class="error-label">Age must be a number.</div>
</div>
<div class="row">
<div class="checkbox-group mt-4 col-md-6">
<b>Diet options?</b>
<div class="input-group">
<input type="checkbox" id="vegetarian" />
<label for="vegetarian">Vegetarian</label>
</div>
<div class="input-group">
<input type="checkbox" id="vegan" />
<label for="vegan">Vegan</label>
</div>
<div class="input-group">
<input type="checkbox" id="glutenfree" />
<label for="glutenfree">Gluten-free</label>
</div>
</div>
<div class="radio-group mt-4 col-md-6">
<b>Favorite food?</b>
<div class="input-group">
<input type="radio" name="favorite-food" id="pizza" />
<label for="pizza">Pizza</label>
</div>
<div class="input-group">
<input type="radio" name="favorite-food" id="salad" />
<label for="salad">Salad</label>
</div>
<div class="input-group">
<input type="radio" name="favorite-food" id="sandwich" />
<label for="sandwich">Sandwich</label>
</div>
</div>
</div>
</div>
<div class="col-md-7 col-md-offset-1">
<div class="input-group">
<label>Message</label>
<textarea rows="6"></textarea>
</div>
<div class="input-group mt-8">
<label>Favorite sport?</label>
<div class="select-dropdown">
<select name="favorite-sport">
<option value="soccer">Soccer</option>
<option value="football">Football</option>
<option value="baseball">Baseball</option>
</select>
<div class="triangle-base triangle-down"></div>
</div>
</div>
</div>
<button type="submit" class="btn btn-secondary mt-2 mb-8">Send</button>
</div>
<pre><!-- only subset of forms shown for brevity; inspect source to get full set -->
<div class="row">
<div class="col-md-4">
<div class="input-group">
<label>Name</label>
<input type="text" />
</div>
<div class="input-group error">
<label>Age</label>
<input type="text" value="John" />
<div class="error-label">Age must be a number.</div>
</div>
</div>
<div class="col-md-7 col-md-offset-1">
<div class="input-group">
<label>Message</label>
<textarea rows="6"></textarea>
</div>
</div>
<button type="submit" class="btn btn-secondary">Send</button>
</div>
</pre>
<h3 id="icons" class="mt-12">Icons</h3>
<p>Icons are roughly text-sized symbols, usually implemented in a font set (currently Work Sans)</p>
<p>Two ways to implement icons:</p>
<ul>
<li>Use Unicode symbol directly in code, wrapped by an <icon> tag</li>
<li>Use a predefined "icon-" css class (with additional positioning/styling presets)</li>
</ul>
<h3>
<icon>↑</icon>
<icon class="icon-arrow-up"></icon>
<icon>↓</icon>
<icon class="icon-arrow-down"></icon>
<icon>←</icon>
<icon>→</icon>
<icon class="icon-arrow-left"></icon>
<icon class="icon-arrow-right"></icon>
<icon>🅱</icon>
<icon>🅰</icon>
</h3>
<h3>
<icon class="icon-cross"></icon>
<icon class="icon-ellipsis"></icon>
<icon>...</icon>
</h3>
<pre><h3>
<icon>↑</icon>
<icon class="icon-arrow-up"></icon>
<icon>↓</icon>
<icon class="icon-arrow-down"></icon>
<icon>←</icon>
<icon>→</icon>
<icon class="icon-arrow-left"></icon>
<icon class="icon-arrow-right"></icon>
<icon>🅱</icon>
<icon>🅰</icon>
</h3>
<h3>
<icon class="icon-cross"></icon>
<icon class="icon-ellipsis"></icon>
<icon>...</icon>
</h3></pre>
<h3 id="shapes" class="mt-12">Shapes</h3>
<p>Shapes are CSS-drawn figures that are expandable, dynamic, or impossible to fit into a character set.</p>
<div class="row">
<div class="col-md-4">
<div class="circle"></div>
<div class="circle circle-fill"></div>
<div class="circle circle-red"></div>
<div class="circle circle-pill"></div>
<br />
<div class="circle circle-lg"></div>
<div class="circle circle-lg circle-fill"></div>
<div class="circle circle-lg circle-red"></div>
<div class="circle circle-lg circle-pill"></div>
</div>
<div class="col-md-4">
<div class="square"></div>
<div class="square square-fill"></div>
<div class="square square-red"></div>
<div class="square square-rect"></div>
<br />
<div class="square square-lg"></div>
<div class="square square-lg square-fill"></div>
<div class="square square-lg square-red"></div>
<div class="square square-lg square-rect"></div>
</div>
<div class="col-md-4">
<div class="triangle-base triangle-up"></div>
<div class="triangle-base triangle-right"></div>
<div class="triangle-base triangle-down"></div>
<div class="triangle-base triangle-left"></div>
</div>
</div>
<pre><!-- only circles shown for brevity; inspect source to get full set -->
<div class="circle"></div>
<div class="circle circle-fill"></div>
<div class="circle circle-red"></div>
<div class="circle circle-pill"></div>
<br />
<div class="circle circle-lg"></div>
<div class="circle circle-lg circle-fill"></div>
<div class="circle circle-lg circle-red"></div>
<div class="circle circle-lg circle-pill"></div></pre>
</section>
<section class="mb-16">
<h3 class="mt-12">Code blocks</h3>
<p class="mt-2 mb-4">Hammer was raised in Hollywood, California. It wasn't until her early thirties that she left her husband, came out as lesbian, and, inspired by the experimental filmmaker Maya Deren, began making short, scintillating films of her own.</p>
<pre class="code-block"><code class="text-code">++ watch-dir
|= a/path
^- (list move)
=/ soc/sock
[our.hid our.hid]
=/ rav/rave
[%next %z da+now.hid a]
=/ rif/riff
[%home [~ rav]]
=/ car/card
:^
%warp
a
soc
rif
[[ost.hid car] ~]
</code></pre>
<p>(The code for the above is)</p>
<pre><pre class="code-block"><code class="text-code">
...
</code></pre></pre>
</section>
<p>===</p>
<p class="mb-32">Happy coding!</p>
</div>
</article>
</div>
</body>
</html>