-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
568 lines (560 loc) · 26.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>
ECESOC - STYLE
</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="author" content="Matthew Nielsen">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/ecesoc-style.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat|Oswald" rel="stylesheet">
</head>
<body class="w-100 helvetica">
<main class="w-100 bt b--black-10 bg-white">
<section>
<div class="ph3 ph5-ns pt5" id="style">
<div class="mw9 center overflow-auto">
<h1 class="f1 tc fw7 ttu tracked">Style Guide.</h1>
<h3 class="f6 ttu fw6 mb0 mt5 bb pb2">Typography</h3>
<article class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid overflow-auto">
<h1 class="f1 lh-title">Level 1 Heading</h1>
<h2 class="f2 lh-title">Level 2 Heading</h2>
<h3 class="f3 lh-title">Level 3 Heading</h3>
<h4 class="f4 lh-title">Level 4 Heading</h4>
<h5 class="f5 lh-title">Level 5 Heading</h5>
<h6 class="f6 lh-title">Level 6 Heading</h6>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.f1 { font-size: 3rem; }
.f2 { font-size: 2.25rem; }
.f3 { font-size: 1.5rem; }
.f4 { font-size: 1.25rem; }
.f5 { font-size: 1rem; }
.f6 { font-size: .875rem; }
</code>
</pre>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Type Styles</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc v-mid">
<p class="i">Italicize: to write or print (text) in italics.</p>
<p class="b">Some text that needs to be super bold.</p>
<p class="underline">This text wants to be underlined.</p>
<p class="strike">This text should be crossed out.</p>
<p class="ttc">This text should be capitalized.</p>
<p class="ttu">This text should be uppercase.</p>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.i { font-style: italic; }
.b { font-weight: bold; }
.underline { text-decoration: underline; }
.strike { text-decoration: line-through; }
.ttc { text-transform: capitalize; }
.ttu { text-transform: uppercase; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Typefaces</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc v-mid">
<h4 class="f6 mb0 mt3">Helvetica</h4>
<p class="helvetica"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="helvetica ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">Oswald</h4>
<p class="oswald"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="oswald ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<h4 class="f6 mb0 mt3">Montserrat</h4>
<p class="montserrat"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
<p class="montserrat ttu"> a b c d e f g h i j k l m n o p q r s t u v w x y z</p>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.code { font-family: Consolas, monaco, monospace; }
.helvetica { font-family: 'helvetica neue', helvetica, sans-serif; }
.font-family: 'Oswald', sans-serif;
.montserrat { font-family: 'Montserrat', sans-serif; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Measure</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc v-mid f6">
<h4 class="mt4 fw6 f6">Wide Measure</h4>
<p class="measure-wide lh-copy">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.
</p>
<h4 class="mt4 fw6 f6">Measure</h4>
<p class="measure lh-copy">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.
</p>
<h4 class="mt4 fw6 f6">Narrow Measure</h4>
<p class="measure-narrow lh-copy">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt ut labore et dolore magna
aliquyam erat, sed diam voluptua. At vero eos et accusam et justo
duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata
sanctus est Lorem ipsum dolor sit amet.
</p>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.measure-wide { max-width: 34em; }
.measure { max-width: 30em; }
.measure-narrow { max-wdth: 20em; }
</code>
</pre>
</div>
</div>
</article>
</div>
</div>
<article class="mt5 id="grids"">
<div class="ph3 ph5-ns">
<div class="mw9 center">
<h3 class="f6 ttu fw6 mt0 bb pb2">Grids</h3>
<p class="lh-copy measure">
Floats, widths, and padding can be combined to build a
wide variety of grids.
</p>
</div>
</div>
<section class="cf w-100 pv3 f6 ph3 ph4-ns">
<div class="mw9 center ph3-ns">
<div class="ph2-ns">
<div class="fl w-100 pa2">
<div class="outline bg-white tc pv4"><code>fl w-100</code></div>
</div>
<div class="fl w-90 pa2">
<div class="outline bg-white tc pv4"><code>fl w-90</code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-10</code></div>
</div>
<div class="fl w-80 pa2">
<div class="outline bg-white tc pv4"><code>fl w-80</code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-20</code></div>
</div>
<div class="fl w-75 pa2">
<div class="outline bg-white tc pv4"><code>fl w-75</code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-25</code></div>
</div>
<div class="fl w-70 pa2">
<div class="outline bg-white tc pv4"><code>fl w-70</code></div>
</div>
<div class="fl w-30 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-30</code></div>
</div>
<div class="fl w-60 pa2">
<div class="outline bg-white tc pv4"><code>fl w-60</code></div>
</div>
<div class="fl w-40 pa2">
<div class="outline bg-white tc pv4 truncate no-wrap"><code>fl w-40</code></div>
</div>
<div class="fl w-50 pa2">
<div class="outline bg-white tc pv4"><code>fl w-50</code></div>
</div>
<div class="fl w-50 pa2">
<div class="outline bg-white tc pv4"><code>fl w-50</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4"><code>fl w-third</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4"><code>fl w-third</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4"><code>fl w-third</code></div>
</div>
<div class="fl w-third pa2">
<div class="outline bg-white tc pv4 truncate w-100 no-wrap"><code>fl w-third</code></div>
</div>
<div class="fl w-two-thirds pa2">
<div class="outline bg-white tc pv4 truncate w-100 no-wrap"><code>fl w-two-thirds</code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25</code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25 </code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25 </code></div>
</div>
<div class="fl w-25 pa2">
<div class="outline bg-white tc pv4"><code>fl w-25 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-20 pa2">
<div class="outline bg-white tc pv4"><code>fl w-20 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
<div class="fl w-10 pa2">
<div class="outline bg-white tc pv4"><code>fl w-10 </code></div>
</div>
</div>
</div>
</section>
</article>
<div class="ph3 ph5-ns pt5">
<div class="mw9 center overflow-auto">
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Colors</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid pr4-ns">
<table class="border-collapse w-100" cellspacing="0" cellpadding="0">
<tbody class="black-60 f6">
<tr><td class="bb b--black-05 bg-black pa4"></td><td class="bb b--black-05 ph4 f4 b black">Aa</td><td class="bb b--black-05">--black: #000000;</td></tr>
<tr><td class="bb b--black-05 bg-dark-purple pa4"></td><td class="bb b--black-05 ph4 f4 b dark-purple">Aa</td><td class="bb b--black-05">--dark-purple: #57058B;</td></tr>
<tr><td class="bb b--black-05 bg-purple pa4 "></td><td class="bb b--black-05 ph4 f4 b purple">Aa</td><td class="bb b--black-05">--purple: #8100B4;</td></tr>
<tr><td class="bb b--black-05 bg-light-purple pa4 "></td><td class="bb b--black-05 ph4 f4 b light-purple">Aa</td><td class="bb b--black-05">--light-purple: #BE33DA;</td></tr>
<tr><td class="bb b--black-05 bg-washed-purple pa4 "></td><td class="bb b--black-05 ph4 f4 b washed-purple">Aa</td><td class="bb b--black-05">--washed-purple: #D0B4E7;</td></tr>
<tr><td class="bb b--black-05 bg-dark-gold pa4"></td><td class="bb b--black-05 ph4 f4 b dark-gold">Aa</td><td class="bb b--black-05">--dark-gold: #E4B429;</td></tr>
<tr><td class="bb b--black-05 bg-gold pa4 "></td><td class="bb b--black-05 ph4 f4 b gold">Aa</td><td class="bb b--black-05">--gold: #FFD54F;</td></tr>
<tr><td class="bb b--black-05 bg-light-gold pa4 "></td><td class="bb b--black-05 ph4 f4 b light-gold">Aa</td><td class="bb b--black-05">--light-gold: #FFEA3D;</td></tr>
<tr><td class="bb b--black-05 bg-washed-gold pa4 "></td><td class="bb b--black-05 ph4 f4 b washed-gold">Aa</td><td class="bb b--black-05">--washed-gold: #FFFFAA;</td></tr>
<tr><td class="bb b--black-05 bg-white pa4 "></td><td class="bb b--black-05 ph4 f4 b white">Aa</td><td class="bb b--black-05">--white: #FFFFFF;</td></tr>
</tbody>
</table>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 ph3 lh-copy">
.bg-black { background-color: var(--black); }
.bg-dark-purple { background-color: var(--dark-purple); }
.bg-purple { background-color: var(--purple); }
.bg-light-purple { background-color: var(--light-purple); }
.bg-washed-purple { background-color: var(--washed-purple); }
.bg-dark-gold { background-color: var(--dark-gold); }
.bg-gold { background-color: var(--gold); }
.bg-light-gold { background-color: var(--light-gold); }
.bg-washed-gold { background-color: var(--washed-gold); }
.bg-white { background-color: var(--white); }
.black { color: var(--black); }
.dark-purple { color: var(--dark-purple); }
.purple { color: var(--purple); }
.light-purple { color: var(--light-purple); }
.washed-purple { color: var(--washed-purple); }
.dark-gold { color: var(--dark-gold); }
.gold { color: var(--gold); }
.light-gold { color: var(--light-gold); }
.washed-gold { color: var(--washed-gold); }
.white { color: var(--white); }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Borders</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid">
<div class="ba db mw5 pa3 bg-black-025 mb3 bg-near-white">ba = border on all sides</div>
<div class="bt db mw5 pa3 bg-black-025 mb3 bg-near-white">bt = border top</div>
<div class="br db mw5 pa3 bg-black-025 mb3 bg-near-white">br = border right</div>
<div class="bb db mw5 pa3 bg-black-025 mb3 bg-near-white">bb = border bottom</div>
<div class="bl db mw5 pa3 bg-black-025 mb3 bg-near-white">bl = border left</div>
<div class="bn db mw5 pa3 bg-black-025 mb3 bg-near-white">bn = border none</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.ba { border-style: solid; border-width: 1px; }
.bt { border-top-style: solid; border-top-width: 1px; }
.br { border-right-style: solid; border-right-width: 1px; }
.bb { border-bottom-style: solid; border-bottom-width: 1px; }
.bl { border-left-style: solid; border-left-width: 1px; }
.bn { border-style: none; border-width: 0; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Border Styles</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid">
<div class="ba b--dotted db mw5 pa3 mb3 ">dotted</div>
<div class="ba b--dashed db mw5 pa3 mb3 ">dashed</div>
<div class="ba b--solid db mw5 pa3 mb3 ">solid</div>
<div class="ba b--none db mw5 pa3 mb3 ">none</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.b--dotted { border-style: dotted; }
.b--dashed { border-style: dashed; }
.b--solid { border-style: solid; }
.b--none { border-style: none; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Border Widths</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid">
<div class="bt db mw5 mb4 bg-near-white">default</div>
<div class="bt bw1 db mw5 mb4 bg-near-white">.125rem</div>
<div class="bt bw2 db mw5 mb4 bg-near-white">.25rem</div>
<div class="bt bw3 db mw5 mb4 bg-near-white">.5rem</div>
<div class="bt bw4 db mw5 mb4 bg-near-white">1rem</div>
<div class="bt bw5 db mw5 mb4 bg-near-white">2rem</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.bw0 { border-width: 0; }
.bw1 { border-width: .125rem; }
.bw2 { border-width: .25rem; }
.bw3 { border-width: .5rem; }
.bw4 { border-width: 1rem; }
.bw5 { border-width: 2rem; }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Border Colors</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid pr4">
<div class="bt black b--black db pt2 pb2 mb3">b--black</div>
<div class="bt black-90 b--black-90 db pt2 pb2 mb3">b--black-90</div>
<div class="bt black-80 b--black-80 db pt2 pb2 mb3">b--black-80</div>
<div class="bt black-70 b--black-70 db pt2 pb2 mb3">b--black-70</div>
<div class="bt black-60 b--black-60 db pt2 pb2 mb3">b--black-60</div>
<div class="bt black-50 b--black-50 db pt2 pb2 mb3">b--black-50</div>
<div class="bt black-40 b--black-40 db pt2 pb2 mb3">b--black-40</div>
<div class="bt black-30 b--black-30 db pt2 pb2 mb3">b--black-30</div>
<div class="bt black-20 b--black-20 db pt2 pb2 mb3">b--black-20</div>
<div class="bt black-10 b--black-10 db pt2 pb2 mb3">b--black-10</div>
<div class="bg-black pa2 db">
<div class="bt white b--white db pt2 pb2 mb3">b--white</div>
<div class="bt white-90 b--white-90 db pt2 pb2 mb3">b--white-90</div>
<div class="bt white-80 b--white-80 db pt2 pb2 mb3">b--white-80</div>
<div class="bt white-70 b--white-70 db pt2 pb2 mb3">b--white-70</div>
<div class="bt white-60 b--white-60 db pt2 pb2 mb3">b--white-60</div>
<div class="bt white-50 b--white-50 db pt2 pb2 mb3">b--white-50</div>
<div class="bt white-40 b--white-40 db pt2 pb2 mb3">b--white-40</div>
<div class="bt white-30 b--white-30 db pt2 pb2 mb3">b--white-30</div>
<div class="bt white-20 b--white-20 db pt2 pb2 mb3">b--white-20</div>
<div class="bt white-10 b--white-10 db pt2 pb2 mb3">b--white-10</div>
<div class="bt dark-purple b--dark-purple db pt2 pb2 mb3">b--dark-purple</div>
<div class="bt purple b--purple db pt2 pb2 mb3">b--purple</div>
<div class="bt light-purple b--light-purple db pt2 pb2 mb3">b--light-purple</div>
<div class="bt washed-purple b--washed-purple db pt2 pb2 mb3">b--washed-purple</div>
<div class="bt dark-gold b--dark-gold db pt2 pb2 mb3">b--dark-gold</div>
<div class="bt gold b--gold db pt2 pb2 mb3">b--gold</div>
<div class="bt light-gold b--light-gold db pt2 pb2 mb3">b--light-gold</div>
<div class="bt washed-gold b--washed-gold db pt2 pb2 mb3">b--washed-gold</div>
<div class="bt transparent b--transparent db pt2 pb2 mb3">b--transparent</div>
</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.b--black { border-color: var(--black); }
.b--black-90 { border-color: var(--black-90); }
.b--black-80 { border-color: var(--black-80); }
.b--black-70 { border-color: var(--black-70); }
.b--black-60 { border-color: var(--black-60); }
.b--black-50 { border-color: var(--black-50); }
.b--black-40 { border-color: var(--black-40); }
.b--black-30 { border-color: var(--black-30); }
.b--black-20 { border-color: var(--black-20); }
.b--black-10 { border-color: var(--black-10); }
.b--white { border-color: var(--white); }
.b--white-90 { border-color: var(--white-90); }
.b--white-80 { border-color: var(--white-80); }
.b--white-70 { border-color: var(--white-70); }
.b--white-60 { border-color: var(--white-60); }
.b--white-50 { border-color: var(--white-50); }
.b--white-40 { border-color: var(--white-40); }
.b--white-30 { border-color: var(--white-30); }
.b--white-20 { border-color: var(--white-20); }
.b--white-10 { border-color: var(--white-10); }
.b--dark-purple { border-color: var(--dark-purple); }
.b--purple { border-color: var(--purple); }
.b--purple-light { border-color: var(--light-purple); }
.b--washed-purple { border-color: var(--washed-purple); }
.b--dark-gold { border-color: var(--gold); }
.b--gold { border-color: var(--gold-medium); }
.b--light-gold { border-color: var(--gold-light); }
.b--washed-gold { border-color: var(--washed-gold); }
.b--transparent { border-color: var(--transparent); }
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Border Radii</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid">
<div class="ba dib ph4 pv3 mb4 br1">br1</div>
<div class="ba dib ph4 pv3 mb4 br2">br2</div>
<div class="ba dib ph4 pv3 mb4 br3">br3</div>
<div class="ba dib ph4 pv3 mb4 br4">br4</div><br>
<div class="dt dt--fixed">
<div class="dtc v-mid"><div class="ba dib mb4 br-100 h3 w3 pa4 tc"></div></div>
<div class="dtc v-mid"><div class="ba dib mb4 ph4 pv3 br-pill">pill</div></div>
</div>
<div class="ba br--bottom dib ph4 pv3 mb4 br3">br--bottom</div>
<div class="ba br--top dib ph4 pv3 mb4 br3">br--top</div><br>
<div class="ba br--left dib ph4 pv3 mb4 br3">br--left</div>
<div class="ba br--right dib ph4 pv3 mb4 br3">br--right</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.br0 { border-radius: 0; }
.br1 { border-radius: .125rem; }
.br2 { border-radius: .25rem; }
.br3 { border-radius: .5rem; }
.br4 { border-radius: 1rem; }
.br-100 { border-radius: 100%; }
.br-pill { border-radius: 9999px; }
.br--bottom {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.br--top {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.br--right {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.br--left {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
</code>
</pre>
</div>
</div>
</article>
<article class="mt5">
<h3 class="f6 ttu fw6 mt0 mb3 bb pb2">Hover Animations</h3>
<div class="dt-ns dt--fixed-ns">
<div class="dtc-ns v-mid pr4-ns">
<div class="pa3 bg-black mb3 white grow pointer">Grow</div>
<div class="pa3 bg-black mb3 white dim pointer">Dim</div>
</div>
<div class="dtc-ns v-mid">
<pre class="ba b--black-05 pa2 overflow-auto">
<code class="db f6 pa3 lh-copy">
.grow {
-moz-osx-font-smoothing: grayscale;
backface-visibility: hidden;
transform: translateZ(0);
transition: transform 0.25s ease-out;
}
.grow:hover,
.grow:focus {
transform: scale(1.05);
}
.dim {
opacity: 1;
transition: opacity .15s ease-in;
}
.dim:hover,
.dim:focus {
opacity: .5;
transition: opacity .15s ease-in;
}
</code>
</pre>
</div>
</div>
</article>
</div>
</div>
</main>
<footer class="bg-white black-70 ph3 ph5-ns pv5 pv6-ns bt b--black-10">
<div class="mw9 center">
<div class="mt4">
<small class="f6 measure db lh-copy mt5">
<h3 class="f5 fw6 ttu tracked">Based on Tachyons</h3>
<p class="i">Functional CSS for Humans</p>
<br>
A tachyon /ˈtæki.ɒn/ or tachyonic particle is a hypothetical particle
that always moves faster than light.
The word comes from the Greek:
<br> <br>
ταχύς or tachys, meaning “swift, quick, fast, rapid”
</small>
<h2 class="f4 fw2 tc">Made with ❤️ for the Waterloo ECE Society</h2>
</div>
</div>
</footer>
</body>
</html>