gel-typography 6.1.6 → 6.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1590 @@
1
+ /*------------------------------------*\
2
+ #COLOUR PALLETTE
3
+ \*------------------------------------*/
4
+ /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
5
+ /**
6
+ * 1. Set default font family to sans-serif.
7
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
8
+ * user zoom.
9
+ */
10
+ html {
11
+ font-family: sans-serif;
12
+ /* 1 */
13
+ -ms-text-size-adjust: 100%;
14
+ /* 2 */
15
+ -webkit-text-size-adjust: 100%;
16
+ /* 2 */
17
+ }
18
+
19
+ /**
20
+ * Remove default margin.
21
+ */
22
+ body {
23
+ margin: 0;
24
+ }
25
+
26
+ /* HTML5 display definitions
27
+ ========================================================================== */
28
+ /**
29
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
30
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11
31
+ * and Firefox.
32
+ * Correct `block` display not defined for `main` in IE 11.
33
+ */
34
+ article,
35
+ aside,
36
+ details,
37
+ figcaption,
38
+ figure,
39
+ footer,
40
+ header,
41
+ hgroup,
42
+ main,
43
+ menu,
44
+ nav,
45
+ section,
46
+ summary {
47
+ display: block;
48
+ }
49
+
50
+ /**
51
+ * 1. Correct `inline-block` display not defined in IE 8/9.
52
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
53
+ */
54
+ audio,
55
+ canvas,
56
+ progress,
57
+ video {
58
+ display: inline-block;
59
+ /* 1 */
60
+ vertical-align: baseline;
61
+ /* 2 */
62
+ }
63
+
64
+ /**
65
+ * Prevent modern browsers from displaying `audio` without controls.
66
+ * Remove excess height in iOS 5 devices.
67
+ */
68
+ audio:not([controls]) {
69
+ display: none;
70
+ height: 0;
71
+ }
72
+
73
+ /**
74
+ * Address `[hidden]` styling not present in IE 8/9/10.
75
+ * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
76
+ */
77
+ [hidden],
78
+ template {
79
+ display: none;
80
+ }
81
+
82
+ /* Links
83
+ ========================================================================== */
84
+ /**
85
+ * Remove the gray background color from active links in IE 10.
86
+ */
87
+ a {
88
+ background-color: transparent;
89
+ }
90
+
91
+ /**
92
+ * Improve readability when focused and also mouse hovered in all browsers.
93
+ */
94
+ a:active,
95
+ a:hover {
96
+ outline: 0;
97
+ }
98
+
99
+ /* Text-level semantics
100
+ ========================================================================== */
101
+ /**
102
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
103
+ */
104
+ abbr[title] {
105
+ border-bottom: 1px dotted;
106
+ }
107
+
108
+ /**
109
+ * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
110
+ */
111
+ b,
112
+ strong {
113
+ font-weight: bold;
114
+ }
115
+
116
+ /**
117
+ * Address styling not present in Safari and Chrome.
118
+ */
119
+ dfn {
120
+ font-style: italic;
121
+ }
122
+
123
+ /**
124
+ * Address variable `h1` font-size and margin within `section` and `article`
125
+ * contexts in Firefox 4+, Safari, and Chrome.
126
+ */
127
+ h1 {
128
+ font-size: 2em;
129
+ margin: 0.67em 0;
130
+ }
131
+
132
+ /**
133
+ * Address styling not present in IE 8/9.
134
+ */
135
+ mark {
136
+ background: #ff0;
137
+ color: #000;
138
+ }
139
+
140
+ /**
141
+ * Address inconsistent and variable font size in all browsers.
142
+ */
143
+ small {
144
+ font-size: 80%;
145
+ }
146
+
147
+ /**
148
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
149
+ */
150
+ sub,
151
+ sup {
152
+ font-size: 75%;
153
+ line-height: 0;
154
+ position: relative;
155
+ vertical-align: baseline;
156
+ }
157
+
158
+ sup {
159
+ top: -0.5em;
160
+ }
161
+
162
+ sub {
163
+ bottom: -0.25em;
164
+ }
165
+
166
+ /* Embedded content
167
+ ========================================================================== */
168
+ /**
169
+ * Remove border when inside `a` element in IE 8/9/10.
170
+ */
171
+ img {
172
+ border: 0;
173
+ }
174
+
175
+ /**
176
+ * Correct overflow not hidden in IE 9/10/11.
177
+ */
178
+ svg:not(:root) {
179
+ overflow: hidden;
180
+ }
181
+
182
+ /* Grouping content
183
+ ========================================================================== */
184
+ /**
185
+ * Address margin not present in IE 8/9 and Safari.
186
+ */
187
+ figure {
188
+ margin: 1em 40px;
189
+ }
190
+
191
+ /**
192
+ * Address differences between Firefox and other browsers.
193
+ */
194
+ hr {
195
+ -moz-box-sizing: content-box;
196
+ box-sizing: content-box;
197
+ height: 0;
198
+ }
199
+
200
+ /**
201
+ * Contain overflow in all browsers.
202
+ */
203
+ pre {
204
+ overflow: auto;
205
+ }
206
+
207
+ /**
208
+ * Address odd `em`-unit font size rendering in all browsers.
209
+ */
210
+ code,
211
+ kbd,
212
+ pre,
213
+ samp {
214
+ font-family: monospace, monospace;
215
+ font-size: 1em;
216
+ }
217
+
218
+ /* Forms
219
+ ========================================================================== */
220
+ /**
221
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
222
+ * styling of `select`, unless a `border` property is set.
223
+ */
224
+ /**
225
+ * 1. Correct color not being inherited.
226
+ * Known issue: affects color of disabled elements.
227
+ * 2. Correct font properties not being inherited.
228
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
229
+ */
230
+ button,
231
+ input,
232
+ optgroup,
233
+ select,
234
+ textarea {
235
+ color: inherit;
236
+ /* 1 */
237
+ font: inherit;
238
+ /* 2 */
239
+ margin: 0;
240
+ /* 3 */
241
+ }
242
+
243
+ /**
244
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
245
+ */
246
+ button {
247
+ overflow: visible;
248
+ }
249
+
250
+ /**
251
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
252
+ * All other form control elements do not inherit `text-transform` values.
253
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
254
+ * Correct `select` style inheritance in Firefox.
255
+ */
256
+ button,
257
+ select {
258
+ text-transform: none;
259
+ }
260
+
261
+ /**
262
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
263
+ * and `video` controls.
264
+ * 2. Correct inability to style clickable `input` types in iOS.
265
+ * 3. Improve usability and consistency of cursor style between image-type
266
+ * `input` and others.
267
+ */
268
+ button,
269
+ html input[type=button],
270
+ input[type=reset],
271
+ input[type=submit] {
272
+ -webkit-appearance: button;
273
+ /* 2 */
274
+ cursor: pointer;
275
+ /* 3 */
276
+ }
277
+
278
+ /**
279
+ * Re-set default cursor for disabled elements.
280
+ */
281
+ button[disabled],
282
+ html input[disabled] {
283
+ cursor: default;
284
+ }
285
+
286
+ /**
287
+ * Remove inner padding and border in Firefox 4+.
288
+ */
289
+ button::-moz-focus-inner,
290
+ input::-moz-focus-inner {
291
+ border: 0;
292
+ padding: 0;
293
+ }
294
+
295
+ /**
296
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
297
+ * the UA stylesheet.
298
+ */
299
+ input {
300
+ line-height: normal;
301
+ }
302
+
303
+ /**
304
+ * It's recommended that you don't attempt to style these elements.
305
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
306
+ *
307
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
308
+ * 2. Remove excess padding in IE 8/9/10.
309
+ */
310
+ input[type=checkbox],
311
+ input[type=radio] {
312
+ box-sizing: border-box;
313
+ /* 1 */
314
+ padding: 0;
315
+ /* 2 */
316
+ }
317
+
318
+ /**
319
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
320
+ * `font-size` values of the `input`, it causes the cursor style of the
321
+ * decrement button to change from `default` to `text`.
322
+ */
323
+ input[type=number]::-webkit-inner-spin-button,
324
+ input[type=number]::-webkit-outer-spin-button {
325
+ height: auto;
326
+ }
327
+
328
+ /**
329
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
330
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
331
+ * (include `-moz` to future-proof).
332
+ */
333
+ input[type=search] {
334
+ -webkit-appearance: textfield;
335
+ /* 1 */
336
+ -moz-box-sizing: content-box;
337
+ -webkit-box-sizing: content-box;
338
+ /* 2 */
339
+ box-sizing: content-box;
340
+ }
341
+
342
+ /**
343
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
344
+ * Safari (but not Chrome) clips the cancel button when the search input has
345
+ * padding (and `textfield` appearance).
346
+ */
347
+ input[type=search]::-webkit-search-cancel-button,
348
+ input[type=search]::-webkit-search-decoration {
349
+ -webkit-appearance: none;
350
+ }
351
+
352
+ /**
353
+ * Define consistent border, margin, and padding.
354
+ */
355
+ fieldset {
356
+ border: 1px solid #c0c0c0;
357
+ margin: 0 2px;
358
+ padding: 0.35em 0.625em 0.75em;
359
+ }
360
+
361
+ /**
362
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
363
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
364
+ */
365
+ legend {
366
+ border: 0;
367
+ /* 1 */
368
+ padding: 0;
369
+ /* 2 */
370
+ }
371
+
372
+ /**
373
+ * Remove default vertical scrollbar in IE 8/9/10/11.
374
+ */
375
+ textarea {
376
+ overflow: auto;
377
+ }
378
+
379
+ /**
380
+ * Don't inherit the `font-weight` (applied by a rule above).
381
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
382
+ */
383
+ optgroup {
384
+ font-weight: bold;
385
+ }
386
+
387
+ /* Tables
388
+ ========================================================================== */
389
+ /**
390
+ * Remove most spacing between table cells.
391
+ */
392
+ table {
393
+ border-collapse: collapse;
394
+ border-spacing: 0;
395
+ }
396
+
397
+ td,
398
+ th {
399
+ padding: 0;
400
+ }
401
+
402
+ /*------------------------------------*\
403
+ # RESET
404
+ \*------------------------------------*/
405
+ /**
406
+ * As well as using normalize.css, it is often advantageous to remove all
407
+ * margins from certain elements.
408
+ */
409
+ body,
410
+ h1,
411
+ h2,
412
+ h3,
413
+ h4,
414
+ h5,
415
+ h6,
416
+ p,
417
+ blockquote,
418
+ pre,
419
+ dl,
420
+ dd,
421
+ ol,
422
+ ul,
423
+ form,
424
+ fieldset,
425
+ legend,
426
+ figure,
427
+ table,
428
+ th,
429
+ td,
430
+ caption,
431
+ hr {
432
+ margin: 0;
433
+ padding: 0;
434
+ }
435
+
436
+ /**
437
+ * Remove the default font-weight so we can control this with our
438
+ * typography classes
439
+ */
440
+ h1,
441
+ h2,
442
+ h3,
443
+ h4,
444
+ h5,
445
+ h6 {
446
+ font-weight: normal;
447
+ }
448
+
449
+ /**
450
+ * Give a help cursor to elements that give extra info on `:hover`.
451
+ */
452
+ abbr[title],
453
+ dfn[title] {
454
+ cursor: help;
455
+ }
456
+
457
+ /**
458
+ * Remove underlines from potentially troublesome elements.
459
+ */
460
+ u,
461
+ ins {
462
+ text-decoration: none;
463
+ }
464
+
465
+ /**
466
+ * Apply faux underlines to inserted text via `border-bottom`.
467
+ */
468
+ ins {
469
+ border-bottom: 1px solid;
470
+ }
471
+
472
+ /*------------------------------------*\
473
+ # BOX SIZING
474
+ \*------------------------------------*/
475
+ /**
476
+ * The Onesport codebase is designed to use a `border-box` box-sizing,
477
+ * as such as set this globally on all elements
478
+ *
479
+ * http://www.paulirish.com/2012/box-sizing-border-box-ftw/
480
+ */
481
+ html {
482
+ box-sizing: border-box;
483
+ }
484
+
485
+ *,
486
+ *:before,
487
+ *:after {
488
+ box-sizing: inherit;
489
+ }
490
+
491
+ /**
492
+ * Grid containing element
493
+ */
494
+ .gel-wrap {
495
+ max-width: 1008px;
496
+ margin: 0 auto;
497
+ padding-right: 8px;
498
+ padding-left: 8px;
499
+ }
500
+
501
+ @media (min-width: 25em) {
502
+ .gel-wrap {
503
+ padding-left: 16px;
504
+ padding-right: 16px;
505
+ }
506
+ }
507
+ @media (min-width: 80em) {
508
+ .gel-wrap {
509
+ max-width: 1280px;
510
+ }
511
+ }
512
+ /**
513
+ * A grid row
514
+ */
515
+ .gel-layout {
516
+ margin-right: 0;
517
+ margin-left: -8px;
518
+ padding-right: 0;
519
+ padding-left: 0;
520
+ list-style: none;
521
+ text-align: left;
522
+ letter-spacing: -0.31em;
523
+ text-rendering: optimizespeed;
524
+ }
525
+
526
+ @media (min-width: 37.5em) {
527
+ .gel-layout {
528
+ margin-left: -16px;
529
+ }
530
+ }
531
+ /**
532
+ * A single grid item
533
+ */
534
+ .gel-layout__item {
535
+ display: inline-block;
536
+ padding-left: 8px;
537
+ text-align: left;
538
+ width: 100%;
539
+ vertical-align: top;
540
+ letter-spacing: normal;
541
+ word-spacing: normal;
542
+ text-rendering: auto;
543
+ }
544
+
545
+ @media (min-width: 37.5em) {
546
+ .gel-layout__item {
547
+ padding-left: 16px;
548
+ }
549
+ }
550
+ /**
551
+ * Make the layout items fill up from the right hand side
552
+ */
553
+ .gel-layout--right {
554
+ text-align: right;
555
+ }
556
+
557
+ .gel-layout--right > .gel-layout__item {
558
+ text-align: left;
559
+ }
560
+
561
+ /**
562
+ * Make the layout items fill up from the center outward
563
+ */
564
+ .gel-layout--center {
565
+ text-align: center;
566
+ }
567
+
568
+ .gel-layout--center > .gel-layout__item {
569
+ text-align: left;
570
+ }
571
+
572
+ @media (min-width: 56.25em) {
573
+ .gel-1\/3\@l {
574
+ width: 33.3333333333% !important;
575
+ }
576
+ .gel-2\/3\@l {
577
+ width: 66.6666666667% !important;
578
+ }
579
+ .gel-3\/4\@l {
580
+ width: 75% !important;
581
+ }
582
+ }
583
+ @media (min-width: 80em) {
584
+ .gel-10\/12\@xxl {
585
+ width: 83.3333333333% !important;
586
+ }
587
+ }
588
+ .gel-canon {
589
+ font-size: 28px;
590
+ font-size: 1.75rem;
591
+ line-height: 32px;
592
+ line-height: 2rem;
593
+ }
594
+
595
+ @media (min-width: 20em) {
596
+ .gel-canon {
597
+ font-size: 32px;
598
+ font-size: 2rem;
599
+ line-height: 36px;
600
+ line-height: 2.25rem;
601
+ }
602
+ }
603
+ @media (min-width: 37.5em) {
604
+ .gel-canon {
605
+ font-size: 52px;
606
+ font-size: 3.25rem;
607
+ line-height: 56px;
608
+ line-height: 3.5rem;
609
+ }
610
+ .no-touch .gel-canon {
611
+ font-size: 44px;
612
+ font-size: 2.75rem;
613
+ line-height: 48px;
614
+ line-height: 3rem;
615
+ }
616
+ }
617
+ .gel-canon-bold {
618
+ font-size: 28px;
619
+ font-size: 1.75rem;
620
+ line-height: 32px;
621
+ line-height: 2rem;
622
+ font-weight: bold;
623
+ letter-spacing: -1px;
624
+ letter-spacing: -0.0625rem;
625
+ }
626
+
627
+ @media (min-width: 20em) {
628
+ .gel-canon-bold {
629
+ font-size: 32px;
630
+ font-size: 2rem;
631
+ line-height: 36px;
632
+ line-height: 2.25rem;
633
+ }
634
+ }
635
+ @media (min-width: 37.5em) {
636
+ .gel-canon-bold {
637
+ font-size: 52px;
638
+ font-size: 3.25rem;
639
+ line-height: 56px;
640
+ line-height: 3.5rem;
641
+ }
642
+ .no-touch .gel-canon-bold {
643
+ font-size: 44px;
644
+ font-size: 2.75rem;
645
+ line-height: 48px;
646
+ line-height: 3rem;
647
+ }
648
+ }
649
+ .gel-trafalgar {
650
+ font-size: 20px;
651
+ font-size: 1.25rem;
652
+ line-height: 24px;
653
+ line-height: 1.5rem;
654
+ }
655
+
656
+ @media (min-width: 20em) {
657
+ .gel-trafalgar {
658
+ font-size: 24px;
659
+ font-size: 1.5rem;
660
+ line-height: 28px;
661
+ line-height: 1.75rem;
662
+ }
663
+ }
664
+ @media (min-width: 37.5em) {
665
+ .gel-trafalgar {
666
+ font-size: 36px;
667
+ font-size: 2.25rem;
668
+ line-height: 40px;
669
+ line-height: 2.5rem;
670
+ }
671
+ .no-touch .gel-trafalgar {
672
+ font-size: 32px;
673
+ font-size: 2rem;
674
+ line-height: 36px;
675
+ line-height: 2.25rem;
676
+ }
677
+ }
678
+ .gel-trafalgar-bold {
679
+ font-size: 20px;
680
+ font-size: 1.25rem;
681
+ line-height: 24px;
682
+ line-height: 1.5rem;
683
+ font-weight: bold;
684
+ letter-spacing: -1px;
685
+ letter-spacing: -0.0625rem;
686
+ }
687
+
688
+ @media (min-width: 20em) {
689
+ .gel-trafalgar-bold {
690
+ font-size: 24px;
691
+ font-size: 1.5rem;
692
+ line-height: 28px;
693
+ line-height: 1.75rem;
694
+ }
695
+ }
696
+ @media (min-width: 37.5em) {
697
+ .gel-trafalgar-bold {
698
+ font-size: 36px;
699
+ font-size: 2.25rem;
700
+ line-height: 40px;
701
+ line-height: 2.5rem;
702
+ }
703
+ .no-touch .gel-trafalgar-bold {
704
+ font-size: 32px;
705
+ font-size: 2rem;
706
+ line-height: 36px;
707
+ line-height: 2.25rem;
708
+ }
709
+ }
710
+ .gel-double-pica {
711
+ font-size: 20px;
712
+ font-size: 1.25rem;
713
+ line-height: 24px;
714
+ line-height: 1.5rem;
715
+ }
716
+
717
+ @media (min-width: 37.5em) {
718
+ .gel-double-pica {
719
+ font-size: 26px;
720
+ font-size: 1.625rem;
721
+ line-height: 30px;
722
+ line-height: 1.875rem;
723
+ }
724
+ .no-touch .gel-double-pica {
725
+ font-size: 24px;
726
+ font-size: 1.5rem;
727
+ line-height: 28px;
728
+ line-height: 1.75rem;
729
+ }
730
+ }
731
+ .gel-double-pica-bold {
732
+ font-size: 20px;
733
+ font-size: 1.25rem;
734
+ line-height: 24px;
735
+ line-height: 1.5rem;
736
+ font-weight: bold;
737
+ letter-spacing: -1px;
738
+ letter-spacing: -0.0625rem;
739
+ }
740
+
741
+ @media (min-width: 37.5em) {
742
+ .gel-double-pica-bold {
743
+ font-size: 26px;
744
+ font-size: 1.625rem;
745
+ line-height: 30px;
746
+ line-height: 1.875rem;
747
+ }
748
+ .no-touch .gel-double-pica-bold {
749
+ font-size: 24px;
750
+ font-size: 1.5rem;
751
+ line-height: 28px;
752
+ line-height: 1.75rem;
753
+ }
754
+ }
755
+ .gel-great-primer {
756
+ font-size: 18px;
757
+ font-size: 1.125rem;
758
+ line-height: 22px;
759
+ line-height: 1.375rem;
760
+ }
761
+
762
+ @media (min-width: 37.5em) {
763
+ .gel-great-primer {
764
+ font-size: 21px;
765
+ font-size: 1.3125rem;
766
+ line-height: 24px;
767
+ line-height: 1.5rem;
768
+ }
769
+ .no-touch .gel-great-primer {
770
+ font-size: 20px;
771
+ font-size: 1.25rem;
772
+ }
773
+ }
774
+ .gel-great-primer-bold {
775
+ font-size: 18px;
776
+ font-size: 1.125rem;
777
+ line-height: 22px;
778
+ line-height: 1.375rem;
779
+ font-weight: bold;
780
+ }
781
+
782
+ @media (min-width: 20em) {
783
+ .gel-great-primer-bold {
784
+ letter-spacing: -1px;
785
+ letter-spacing: -0.0625rem;
786
+ }
787
+ }
788
+ @media (min-width: 37.5em) {
789
+ .gel-great-primer-bold {
790
+ font-size: 21px;
791
+ font-size: 1.3125rem;
792
+ line-height: 24px;
793
+ line-height: 1.5rem;
794
+ }
795
+ .no-touch .gel-great-primer-bold {
796
+ font-size: 20px;
797
+ font-size: 1.25rem;
798
+ }
799
+ }
800
+ .gel-pica,
801
+ .gel-demo {
802
+ font-size: 15px;
803
+ font-size: 0.9375rem;
804
+ line-height: 20px;
805
+ line-height: 1.25rem;
806
+ }
807
+
808
+ @media (min-width: 20em) {
809
+ .gel-pica,
810
+ .gel-demo {
811
+ font-size: 16px;
812
+ font-size: 1rem;
813
+ line-height: 20px;
814
+ line-height: 1.25rem;
815
+ }
816
+ }
817
+ @media (min-width: 37.5em) {
818
+ .gel-pica,
819
+ .gel-demo {
820
+ font-size: 18px;
821
+ font-size: 1.125rem;
822
+ line-height: 22px;
823
+ line-height: 1.375rem;
824
+ }
825
+ .no-touch .gel-pica,
826
+ .no-touch .gel-demo {
827
+ font-size: 16px;
828
+ font-size: 1rem;
829
+ line-height: 20px;
830
+ line-height: 1.25rem;
831
+ }
832
+ }
833
+ .gel-pica-bold {
834
+ font-size: 15px;
835
+ font-size: 0.9375rem;
836
+ line-height: 20px;
837
+ line-height: 1.25rem;
838
+ font-weight: bold;
839
+ }
840
+
841
+ @media (min-width: 20em) {
842
+ .gel-pica-bold {
843
+ font-size: 16px;
844
+ font-size: 1rem;
845
+ line-height: 20px;
846
+ line-height: 1.25rem;
847
+ }
848
+ }
849
+ @media (min-width: 37.5em) {
850
+ .gel-pica-bold {
851
+ font-size: 18px;
852
+ font-size: 1.125rem;
853
+ line-height: 22px;
854
+ line-height: 1.375rem;
855
+ }
856
+ .no-touch .gel-pica-bold {
857
+ font-size: 16px;
858
+ font-size: 1rem;
859
+ line-height: 20px;
860
+ line-height: 1.25rem;
861
+ }
862
+ }
863
+ .gel-long-primer {
864
+ font-size: 15px;
865
+ font-size: 0.9375rem;
866
+ line-height: 18px;
867
+ line-height: 1.125rem;
868
+ }
869
+
870
+ @media (min-width: 37.5em) {
871
+ .gel-long-primer {
872
+ line-height: 20px;
873
+ line-height: 1.25rem;
874
+ }
875
+ .no-touch .gel-long-primer {
876
+ font-size: 14px;
877
+ font-size: 0.875rem;
878
+ line-height: 18px;
879
+ line-height: 1.125rem;
880
+ }
881
+ }
882
+ .gel-long-primer-bold {
883
+ font-size: 15px;
884
+ font-size: 0.9375rem;
885
+ line-height: 18px;
886
+ line-height: 1.125rem;
887
+ font-weight: bold;
888
+ }
889
+
890
+ @media (min-width: 37.5em) {
891
+ .gel-long-primer-bold {
892
+ line-height: 20px;
893
+ line-height: 1.25rem;
894
+ }
895
+ .no-touch .gel-long-primer-bold {
896
+ font-size: 14px;
897
+ font-size: 0.875rem;
898
+ line-height: 18px;
899
+ line-height: 1.125rem;
900
+ }
901
+ }
902
+ .gel-brevier,
903
+ small,
904
+ figcaption {
905
+ font-size: 14px;
906
+ font-size: 0.875rem;
907
+ line-height: 16px;
908
+ line-height: 1rem;
909
+ }
910
+
911
+ @media (min-width: 20em) {
912
+ .gel-brevier,
913
+ small,
914
+ figcaption {
915
+ line-height: 18px;
916
+ line-height: 1.125rem;
917
+ }
918
+ }
919
+ @media (min-width: 37.5em) {
920
+ .no-touch .gel-brevier,
921
+ .no-touch small,
922
+ .no-touch figcaption {
923
+ font-size: 13px;
924
+ font-size: 0.8125rem;
925
+ line-height: 16px;
926
+ line-height: 1rem;
927
+ }
928
+ }
929
+ .gel-brevier-bold {
930
+ font-size: 14px;
931
+ font-size: 0.875rem;
932
+ line-height: 16px;
933
+ line-height: 1rem;
934
+ font-weight: bold;
935
+ }
936
+
937
+ @media (min-width: 20em) {
938
+ .gel-brevier-bold {
939
+ line-height: 18px;
940
+ line-height: 1.125rem;
941
+ }
942
+ }
943
+ @media (min-width: 37.5em) {
944
+ .no-touch .gel-brevier-bold {
945
+ font-size: 13px;
946
+ font-size: 0.8125rem;
947
+ line-height: 16px;
948
+ line-height: 1rem;
949
+ }
950
+ }
951
+ .gel-minion {
952
+ font-size: 12px;
953
+ font-size: 0.75rem;
954
+ line-height: 16px;
955
+ line-height: 1rem;
956
+ text-transform: uppercase;
957
+ }
958
+
959
+ @media (min-width: 37.5em) {
960
+ .gel-minion {
961
+ font-size: 13px;
962
+ font-size: 0.8125rem;
963
+ }
964
+ .no-touch .gel-minion {
965
+ font-size: 12px;
966
+ font-size: 0.75rem;
967
+ }
968
+ }
969
+ .gel-minion-bold {
970
+ font-size: 12px;
971
+ font-size: 0.75rem;
972
+ line-height: 16px;
973
+ line-height: 1rem;
974
+ text-transform: uppercase;
975
+ font-weight: bold;
976
+ }
977
+
978
+ @media (min-width: 37.5em) {
979
+ .gel-minion-bold {
980
+ font-size: 13px;
981
+ font-size: 0.8125rem;
982
+ }
983
+ .no-touch .gel-minion-bold {
984
+ font-size: 12px;
985
+ font-size: 0.75rem;
986
+ }
987
+ }
988
+ .gel-body-copy {
989
+ font-size: 15px;
990
+ font-size: 0.9375rem;
991
+ line-height: 20px;
992
+ line-height: 1.25rem;
993
+ }
994
+
995
+ @media (min-width: 20em) {
996
+ .gel-body-copy {
997
+ font-size: 16px;
998
+ font-size: 1rem;
999
+ line-height: 22px;
1000
+ line-height: 1.375rem;
1001
+ }
1002
+ }
1003
+ @media (min-width: 37.5em) {
1004
+ .gel-body-copy {
1005
+ font-size: 18px;
1006
+ font-size: 1.125rem;
1007
+ line-height: 24px;
1008
+ line-height: 1.5rem;
1009
+ }
1010
+ .no-touch .gel-body-copy {
1011
+ font-size: 16px;
1012
+ font-size: 1rem;
1013
+ line-height: 22px;
1014
+ line-height: 1.375rem;
1015
+ }
1016
+ }
1017
+ body {
1018
+ font-family: Helvetica, Arial, freesans, sans-serif;
1019
+ }
1020
+
1021
+ /*------------------------------------*\
1022
+ # TYPOGRAPHY
1023
+ \*------------------------------------*/
1024
+ /**
1025
+ * Define the core typography experience - this basically maps
1026
+ * various elements of the GEL typography guidelines to the
1027
+ * relivant type selectors
1028
+ */
1029
+ html {
1030
+ font-family: Helvetica, Arial, Sans-serif;
1031
+ color: #404040;
1032
+ }
1033
+
1034
+ p {
1035
+ margin-bottom: 16px;
1036
+ }
1037
+
1038
+ ul,
1039
+ ol {
1040
+ list-style-position: inside;
1041
+ margin-bottom: 16px;
1042
+ }
1043
+
1044
+ ul {
1045
+ list-style-type: square;
1046
+ }
1047
+
1048
+ ul li,
1049
+ ol li {
1050
+ margin-bottom: 4px;
1051
+ }
1052
+
1053
+ a:link,
1054
+ a:visited {
1055
+ font-weight: bold;
1056
+ text-decoration: underline;
1057
+ color: #404040;
1058
+ }
1059
+
1060
+ a:hover {
1061
+ -webkit-transition: color 0.2s ease-out;
1062
+ -khtml-transition: color 0.2s ease-out;
1063
+ -moz-transition: color 0.2s ease-out;
1064
+ -ms-transition: color 0.2s ease-out;
1065
+ -o-transition: color 0.2s ease-out;
1066
+ transition: color 0.2s ease-out;
1067
+ }
1068
+
1069
+ a:focus,
1070
+ a:hover,
1071
+ a:active {
1072
+ text-decoration: underline;
1073
+ color: #e6711b;
1074
+ /* TODO: Define correct link colour */
1075
+ }
1076
+
1077
+ /* TODO: Define outline styles
1078
+ a:focus, .button:focus {
1079
+
1080
+ } */
1081
+ small,
1082
+ figcaption {
1083
+ color: #767676;
1084
+ }
1085
+
1086
+ .button {
1087
+ display: inline-block;
1088
+ position: relative;
1089
+ padding-top: 16px;
1090
+ padding-right: 16px;
1091
+ padding-bottom: 16px;
1092
+ padding-left: 16px;
1093
+ border: 0;
1094
+ margin: 0;
1095
+ line-height: 1.2;
1096
+ background-color: #404040;
1097
+ border: 1px solid #404040;
1098
+ -webkit-appearance: none;
1099
+ -moz-appearance: none;
1100
+ appearance: none;
1101
+ cursor: pointer;
1102
+ color: white;
1103
+ text-align: center;
1104
+ color: white !important;
1105
+ text-decoration: none !important;
1106
+ }
1107
+
1108
+ @media (min-width: 15em) {
1109
+ .button {
1110
+ min-width: 192px;
1111
+ }
1112
+ }
1113
+ .button .gel-icon--inline {
1114
+ margin-right: 8px;
1115
+ }
1116
+
1117
+ .button:hover {
1118
+ text-decoration: underline !important;
1119
+ background-color: #121212;
1120
+ }
1121
+
1122
+ .button:active {
1123
+ top: 1px;
1124
+ background-color: #e6711b;
1125
+ border: 1px solid #e6711b;
1126
+ }
1127
+
1128
+ /* to make a button clear */
1129
+ .button--clear {
1130
+ background-color: transparent;
1131
+ color: #404040 !important;
1132
+ }
1133
+
1134
+ /* clear button hover styles */
1135
+ .button--clear:hover {
1136
+ text-decoration: underline !important;
1137
+ background-color: transparent;
1138
+ border: 1px solid #404040;
1139
+ }
1140
+
1141
+ .button--clear:active {
1142
+ background-color: transparent !important;
1143
+ }
1144
+
1145
+ /*------------------------------------*\
1146
+ # DEMO HEADER
1147
+ \*------------------------------------*/
1148
+ .gel-demo-header__github-link {
1149
+ display: block;
1150
+ margin-top: 8px;
1151
+ margin-bottom: 8px;
1152
+ }
1153
+
1154
+ .gel-demo-header__github-link object {
1155
+ max-width: 72px;
1156
+ vertical-align: middle;
1157
+ }
1158
+
1159
+ .gel-demo-header__banner {
1160
+ border-top: 1px solid #dcdcdc;
1161
+ border-bottom: 1px solid #dcdcdc;
1162
+ padding-top: 12px;
1163
+ padding-bottom: 12px;
1164
+ }
1165
+
1166
+ .gel-demo-header__brand {
1167
+ display: block;
1168
+ margin-bottom: 12px;
1169
+ }
1170
+
1171
+ @media (min-width: 28.75em) {
1172
+ .gel-demo-header__brand {
1173
+ float: left;
1174
+ margin-bottom: 0;
1175
+ padding-top: 6px;
1176
+ padding-bottom: 6px;
1177
+ }
1178
+ }
1179
+ .gel-demo-header__brand-logo {
1180
+ color: #404040;
1181
+ display: inline-block;
1182
+ height: 38px;
1183
+ line-height: 1;
1184
+ position: relative;
1185
+ vertical-align: middle;
1186
+ width: 164px;
1187
+ }
1188
+
1189
+ .gel-demo-header__brand-logo svg {
1190
+ display: block;
1191
+ fill: currentColor;
1192
+ height: inherit;
1193
+ vertical-align: middle;
1194
+ width: inherit;
1195
+ }
1196
+
1197
+ .gel-demo-header__brand-beta {
1198
+ padding-top: 1px;
1199
+ padding-right: 4px;
1200
+ padding-bottom: 1px;
1201
+ padding-left: 4px;
1202
+ font-style: normal;
1203
+ font-weight: bold;
1204
+ color: white;
1205
+ background: #e6711b;
1206
+ vertical-align: top;
1207
+ }
1208
+
1209
+ .gel-demo-header__banner-button {
1210
+ display: block;
1211
+ width: 100%;
1212
+ }
1213
+
1214
+ @media (min-width: 28.75em) {
1215
+ .gel-demo-header__banner-button {
1216
+ float: right;
1217
+ width: auto;
1218
+ }
1219
+ }
1220
+ .gel-demo-header__intro-title {
1221
+ margin-top: 24px;
1222
+ margin-bottom: 12px;
1223
+ }
1224
+
1225
+ .gel-demo-content {
1226
+ padding-bottom: 72px;
1227
+ }
1228
+
1229
+ /*------------------------------------*\
1230
+ # TYPE CONTROLS
1231
+ \*------------------------------------*/
1232
+ /**
1233
+ * 1. Remove the margin from the last item
1234
+ */
1235
+ .gel-type-controls {
1236
+ position: relative;
1237
+ margin-right: -8px;
1238
+ margin-bottom: 16px;
1239
+ margin-left: -8px;
1240
+ padding: 8px;
1241
+ background-color: #e6711b;
1242
+ color: #fff;
1243
+ }
1244
+
1245
+ @media (min-width: 25em) {
1246
+ .gel-type-controls {
1247
+ margin-right: -16px;
1248
+ margin-left: -16px;
1249
+ padding: 16px;
1250
+ }
1251
+ }
1252
+ @media (min-width: 56.25em) {
1253
+ .gel-type-controls {
1254
+ margin-right: 0;
1255
+ margin-left: 0;
1256
+ }
1257
+ }
1258
+ .gel-type-controls > :last-child {
1259
+ margin-bottom: 0;
1260
+ /* [1] */
1261
+ }
1262
+
1263
+ .gel-type-controls__label {
1264
+ margin-bottom: 8px;
1265
+ }
1266
+
1267
+ .gel-type-controls__toggle-controls {
1268
+ position: absolute;
1269
+ bottom: 8px;
1270
+ right: 8px;
1271
+ }
1272
+
1273
+ @media (min-width: 25em) {
1274
+ .gel-type-controls__toggle-controls {
1275
+ bottom: 16px;
1276
+ right: 16px;
1277
+ }
1278
+ }
1279
+ .gel-type-controls__mode-toggle {
1280
+ padding: 0;
1281
+ border: 0;
1282
+ outline: 0;
1283
+ color: #fff;
1284
+ background: none;
1285
+ }
1286
+
1287
+ .gel-type-controls__mode-toggle:focus,
1288
+ .gel-type-controls__mode-toggle:hover {
1289
+ text-decoration: underline;
1290
+ }
1291
+
1292
+ .gel-type-controls__mode-toggle--bold {
1293
+ display: inline-block;
1294
+ }
1295
+
1296
+ .gel-type-controls__mode-toggle--touch {
1297
+ display: none;
1298
+ }
1299
+
1300
+ @media (min-width: 28.75em) {
1301
+ .gel-type-controls__mode-toggle--touch {
1302
+ display: inline-block;
1303
+ margin-left: 8px;
1304
+ }
1305
+ }
1306
+ /**
1307
+ * Change the group name based on the current media-query
1308
+ */
1309
+ .gel-type-controls__group-name:after {
1310
+ content: "Group A (0 - 319px)";
1311
+ }
1312
+
1313
+ @media (min-width: 20em) {
1314
+ .gel-type-controls__group-name:after {
1315
+ content: "Group B (320px - 599px)";
1316
+ }
1317
+ }
1318
+ @media (min-width: 37.5em) {
1319
+ .gel-type-controls__group-name:after {
1320
+ content: "Group C (600+, Touch available)";
1321
+ }
1322
+ .no-touch .gel-type-controls__group-name:after {
1323
+ content: "Group D (600+, Touch not available)";
1324
+ }
1325
+ }
1326
+ /**
1327
+ * Change the example device based on the current media-query
1328
+ */
1329
+ .gel-type-controls__example-device:after {
1330
+ content: "Feature Phones";
1331
+ }
1332
+
1333
+ @media (min-width: 20em) {
1334
+ .gel-type-controls__example-device:after {
1335
+ content: "Default & Smart Phones";
1336
+ }
1337
+ }
1338
+ @media (min-width: 37.5em) {
1339
+ .gel-type-controls__example-device:after {
1340
+ content: "Typically Tablet Devices";
1341
+ }
1342
+ .no-touch .gel-type-controls__example-device:after {
1343
+ content: "Typically Desktop or Laptop Screens";
1344
+ }
1345
+ }
1346
+ /*------------------------------------*\
1347
+ # TYPE DEMO
1348
+ \*------------------------------------*/
1349
+ .gel-type-demo {
1350
+ margin-bottom: 16px;
1351
+ padding-top: 16px;
1352
+ border-top: 1px solid #dcdcdc;
1353
+ }
1354
+
1355
+ .gel-type-demo:first-child {
1356
+ border-top: 0;
1357
+ }
1358
+
1359
+ .gel-type-demo--body-copy {
1360
+ margin-top: 64px;
1361
+ border-top-color: #dbdbdb;
1362
+ border-top-width: 2px;
1363
+ }
1364
+
1365
+ /**
1366
+ * 1. Just incase this is nested within a bold type class
1367
+ * 2. Unset minon if you're using minon
1368
+ */
1369
+ .gel-type-demo__class {
1370
+ margin-bottom: 8px;
1371
+ color: #565656;
1372
+ letter-spacing: 0;
1373
+ /* [1] */
1374
+ text-transform: none;
1375
+ /* [2] */
1376
+ }
1377
+
1378
+ .gel-type-demo__class-name,
1379
+ .gel-type-demo__class-html {
1380
+ display: inline-block;
1381
+ vertical-align: middle;
1382
+ }
1383
+
1384
+ .gel-type-demo__class-name {
1385
+ margin-right: 8px;
1386
+ }
1387
+
1388
+ .gel-type-demo__class-html {
1389
+ margin-bottom: 0;
1390
+ }
1391
+
1392
+ /**
1393
+ * 1. Remove an text-tranforms which might be missing with the look and feel
1394
+ */
1395
+ .gel-type-demo__sample-scale {
1396
+ text-transform: none;
1397
+ /* [1] */
1398
+ }
1399
+
1400
+ .gel-type-demo__settings {
1401
+ color: #e6711b;
1402
+ }
1403
+
1404
+ /**
1405
+ * Remove any units from a given value
1406
+ */
1407
+ /**
1408
+ * Get the type settings for the specified group
1409
+ */
1410
+ /**
1411
+ * Output the type settings for each font-class for each group
1412
+ */
1413
+ [data-type-class=canon] .gel-type-demo__settings:after {
1414
+ content: "28/32";
1415
+ }
1416
+
1417
+ @media (min-width: 20em) {
1418
+ [data-type-class=canon] .gel-type-demo__settings:after {
1419
+ content: "32/36";
1420
+ }
1421
+ }
1422
+ @media (min-width: 37.5em) {
1423
+ [data-type-class=canon] .gel-type-demo__settings:after {
1424
+ content: "52/56";
1425
+ }
1426
+ .no-touch [data-type-class=canon] .gel-type-demo__settings:after {
1427
+ content: "44/48";
1428
+ }
1429
+ }
1430
+ [data-type-class=canon-bold] .gel-type-demo__settings:after {
1431
+ content: "44/48";
1432
+ }
1433
+
1434
+ [data-type-class=trafalgar] .gel-type-demo__settings:after {
1435
+ content: "20/24";
1436
+ }
1437
+
1438
+ @media (min-width: 20em) {
1439
+ [data-type-class=trafalgar] .gel-type-demo__settings:after {
1440
+ content: "24/28";
1441
+ }
1442
+ }
1443
+ @media (min-width: 37.5em) {
1444
+ [data-type-class=trafalgar] .gel-type-demo__settings:after {
1445
+ content: "36/40";
1446
+ }
1447
+ .no-touch [data-type-class=trafalgar] .gel-type-demo__settings:after {
1448
+ content: "32/36";
1449
+ }
1450
+ }
1451
+ [data-type-class=trafalgar-bold] .gel-type-demo__settings:after {
1452
+ content: "32/36";
1453
+ }
1454
+
1455
+ [data-type-class=double-pica] .gel-type-demo__settings:after {
1456
+ content: "20/24";
1457
+ }
1458
+
1459
+ @media (min-width: 37.5em) {
1460
+ [data-type-class=double-pica] .gel-type-demo__settings:after {
1461
+ content: "26/30";
1462
+ }
1463
+ .no-touch [data-type-class=double-pica] .gel-type-demo__settings:after {
1464
+ content: "24/28";
1465
+ }
1466
+ }
1467
+ [data-type-class=double-pica-bold] .gel-type-demo__settings:after {
1468
+ content: "24/28";
1469
+ }
1470
+
1471
+ [data-type-class=great-primer] .gel-type-demo__settings:after {
1472
+ content: "18/22";
1473
+ }
1474
+
1475
+ @media (min-width: 37.5em) {
1476
+ [data-type-class=great-primer] .gel-type-demo__settings:after {
1477
+ content: "21/24";
1478
+ }
1479
+ .no-touch [data-type-class=great-primer] .gel-type-demo__settings:after {
1480
+ content: "20/24";
1481
+ }
1482
+ }
1483
+ [data-type-class=great-primer-bold] .gel-type-demo__settings:after {
1484
+ content: "20/24";
1485
+ }
1486
+
1487
+ @media (min-width: 20em) {
1488
+ [data-type-class=great-primer-bold] .gel-type-demo__settings:after {
1489
+ content: "20/24";
1490
+ }
1491
+ }
1492
+ [data-type-class=pica] .gel-type-demo__settings:after {
1493
+ content: "15/20";
1494
+ }
1495
+
1496
+ @media (min-width: 20em) {
1497
+ [data-type-class=pica] .gel-type-demo__settings:after {
1498
+ content: "16/20";
1499
+ }
1500
+ }
1501
+ @media (min-width: 37.5em) {
1502
+ [data-type-class=pica] .gel-type-demo__settings:after {
1503
+ content: "18/22";
1504
+ }
1505
+ .no-touch [data-type-class=pica] .gel-type-demo__settings:after {
1506
+ content: "16/20";
1507
+ }
1508
+ }
1509
+ [data-type-class=pica-bold] .gel-type-demo__settings:after {
1510
+ content: "16/20";
1511
+ }
1512
+
1513
+ [data-type-class=long-primer] .gel-type-demo__settings:after {
1514
+ content: "15/18";
1515
+ }
1516
+
1517
+ @media (min-width: 37.5em) {
1518
+ [data-type-class=long-primer] .gel-type-demo__settings:after {
1519
+ content: "15/20";
1520
+ }
1521
+ .no-touch [data-type-class=long-primer] .gel-type-demo__settings:after {
1522
+ content: "14/18";
1523
+ }
1524
+ }
1525
+ [data-type-class=long-primer-bold] .gel-type-demo__settings:after {
1526
+ content: "14/18";
1527
+ }
1528
+
1529
+ [data-type-class=brevier] .gel-type-demo__settings:after {
1530
+ content: "14/16";
1531
+ }
1532
+
1533
+ @media (min-width: 20em) {
1534
+ [data-type-class=brevier] .gel-type-demo__settings:after {
1535
+ content: "14/18";
1536
+ }
1537
+ }
1538
+ @media (min-width: 37.5em) {
1539
+ .no-touch [data-type-class=brevier] .gel-type-demo__settings:after {
1540
+ content: "13/16";
1541
+ }
1542
+ }
1543
+ [data-type-class=brevier-bold] .gel-type-demo__settings:after {
1544
+ content: "13/16";
1545
+ }
1546
+
1547
+ [data-type-class=minion] .gel-type-demo__settings:after {
1548
+ content: "12/16";
1549
+ }
1550
+
1551
+ @media (min-width: 37.5em) {
1552
+ [data-type-class=minion] .gel-type-demo__settings:after {
1553
+ content: "13/16";
1554
+ }
1555
+ .no-touch [data-type-class=minion] .gel-type-demo__settings:after {
1556
+ content: "12/16";
1557
+ }
1558
+ }
1559
+ [data-type-class=minion-bold] .gel-type-demo__settings:after {
1560
+ content: "12/16";
1561
+ }
1562
+
1563
+ [data-type-class=body-copy] .gel-type-demo__settings:after {
1564
+ content: "15/20";
1565
+ }
1566
+
1567
+ @media (min-width: 20em) {
1568
+ [data-type-class=body-copy] .gel-type-demo__settings:after {
1569
+ content: "16/22";
1570
+ }
1571
+ }
1572
+ @media (min-width: 37.5em) {
1573
+ [data-type-class=body-copy] .gel-type-demo__settings:after {
1574
+ content: "18/24";
1575
+ }
1576
+ .no-touch [data-type-class=body-copy] .gel-type-demo__settings:after {
1577
+ content: "16/22";
1578
+ }
1579
+ }
1580
+ /*------------------------------------*\
1581
+ # CLEARFIX
1582
+ \*------------------------------------*/
1583
+ /**
1584
+ * Micro clearfix, as per: css-101.org/articles/clearfix/latest-new-clearfix-so-far.php
1585
+ */
1586
+ .clearfix:after {
1587
+ content: "";
1588
+ display: table;
1589
+ clear: both;
1590
+ }