-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoutput.css
1760 lines (1497 loc) · 43.1 KB
/
output.css
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
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@charset "UTF-8";
/*!
* Normandy-CSS
* https://github.com/calidae/normandy-css
*/
/* ==========================================================================
SETTINGS
========================================================================== */
/**
* This layer defines all the global variables and configuration settings.
* Please notice that these are global scoped variables, such as font sizes,
* colors, responsive breakpoints.
*
* Try to keep every file short and clean.
*
* Place component or object specific settings within its own file so they are
* more modular and we achieve a higher separation of concerns.
*/
/* ==========================================================================
COLORS SETTINGS
========================================================================== */
/**
* The global colors file contains any project-wide color variables. Please
* maintain this file as short as possible, trying to avoid variables for
* similar colors.
*
*
*
* To add or modify the $global-colors map you can use native map-merge method
* in your custom _settings.colors.scss file:
*
* $custom-colors: (
* "branding-primary": hsl(164, 100%, 88%)
* );
* $global-colors: map-merge($global-colors, $custom-colors);
*
* or, in a one-liner:
* $global-colors: map-merge($global-colors,
("branding-primary": hsl(164, 100%, 88%)));
*
*
* Since we don't have color variables but color maps, you need to use the
* `map-get` Sass function if you want to use a specific color:
*
* .c-some-component {
* border-color: map-get($global-colors, "branding-primary");
* }
*
* Please notices that _utilities.colors.scss generates some handy helper
* classes to manage text and background colors.
*/
/* ==========================================================================
CORE SETTINGS
========================================================================== */
/**
* This file sets up normandy-css most important variables.
* These values should be defined soon and be modified with caution.
*/
/* stylelint-disable scss/dollar-variable-colon-space-after */
/**
* Baseline grid lines height.
* Every spacing metric should be based on this.
*/
/**
* How many grid lines should our spacing unit variants span?
* Each value should be an unitless integer.
*/
/**
* This will give us variables to create spacing values such as padding and
* margin utilities and mantain vertical rythm across the project.
*
* It is not recommended that you modify these following variables
* (it can break your vertical rhythm).
*/
/**
* Base typographical styles and baseline grid. Make sure you define these
* values in pixels: they will converted to more appropriate units.
*/
/* stylelint-enable scss/dollar-variable-colon-space-after */
/* ==========================================================================
DO NOT MODIFY ANYTHING BELOW THIS POINT
========================================================================== */
/* ==========================================================================
GLOBAL FONT SIZES
========================================================================== */
/**
* The global font sizes settings file contains any project-wide font-size
* variables. They are mostly used to give headings its size and to generate
* font-size utility classes.
*/
/* ==========================================================================
GLOBAL SETTINGS
========================================================================== */
/**
* The global settings file contains any project-wide variables; things that
* need to be made available to the entire codebase.
*/
/* ========================================================================
RESPONSIVE SETTINGS
======================================================================== */
/* stylelint-disable max-line-length */
/**
* Responsive settings file contains project-wide responsive variables.
* These values should be defined soon and be modified with caution.
*
* Normandy-css uses SassMQ as a media queries utility so we customize their
* own variables.
* https://github.com/sass-mq/sass-mq
*
*
* Some media query best practices:
*
* 1. Before using a media query, ask yourself the following question:
* 'Do I need a media query at all?'. Flexbox and Grid are responsive by
* default, so media queries should be used sparingly.
* 2. Avoid targeting devices. Add breakpoints when design requires so.
* 3. Take into account different media queries. For instance, pointer type
* based media queries.
* 4. Take a mobile-first approach. Set media "min-width" (or similar) media
* queries, so they modify code's behavior on larger screens.
*
* Read more:
* http://bradfrost.com/blog/post/7-habits-of-highly-effective-media-queries/
* https://www.smashingmagazine.com/2018/02/media-queries-responsive-design-2018/
* https://medium.freecodecamp.org/the-100-correct-way-to-do-css-breakpoints-88d6a5ba1862
*/
/* stylelint-enable max-line-length */
/* ==========================================================================
TOOLS
========================================================================== */
/**
* This layer defines site-wide mixins and functions.
*
* Please notice that both Settings and Tools should not output any compiled
* CSS code.
*/
/* ==========================================================================
FONT-SIZE TOOLS
========================================================================== */
/**
* Generates a rem font-size (with pixel fallback) and a baseline-compatible
* unitless line-height from a pixel font-size value. Basic usage is simply:
*
* @include font-size(18px);
*
* You can force a specific line-height by passing it as the second argument:
*
* @include font-size(16px, 1);
*/
/* stylelint-disable max-line-length */
/* stylelint-enable max-line-length */
/* ==========================================================================
GENERIC
========================================================================== */
/**
* Low-specificity, far-reaching rulesets such as resets.
*
* This is the first layer which generates actual CSS.
*/
/* ==========================================================================
BOX-SIZING
========================================================================== */
/**
* More sensible default box-sizing:
* css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
*/
html {
box-sizing: border-box; }
*, *::before, *::after {
box-sizing: inherit; }
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in
* IE on Windows Phone and in iOS.
*/
html {
line-height: 1.15;
/* 1 */
-ms-text-size-adjust: 100%;
/* 2 */
-webkit-text-size-adjust: 100%;
/* 2 */ }
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0; }
/**
* Add the correct display in IE 9-.
*/
article,
aside,
footer,
header,
nav,
section {
display: block; }
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0; }
/* Grouping content
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/
figcaption,
figure,
main {
/* 1 */
display: block; }
/**
* Add the correct margin in IE 8.
*/
figure {
margin: 1em 40px; }
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */ }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
background-color: transparent;
/* 1 */
-webkit-text-decoration-skip: objects;
/* 2 */ }
/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
text-decoration: underline dotted;
/* 2 */ }
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
font-weight: inherit; }
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder; }
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */ }
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic; }
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000; }
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%; }
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline; }
sub {
bottom: -0.25em; }
sup {
top: -0.5em; }
/* Embedded content
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
display: inline-block; }
/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
display: none;
height: 0; }
/**
* Remove the border on images inside links in IE 10-.
*/
img {
border-style: none; }
/**
* Hide the overflow in IE.
*/
svg:not(:root) {
overflow: hidden; }
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: sans-serif;
/* 1 */
font-size: 100%;
/* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */ }
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
/* 1 */
overflow: visible; }
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
/* 1 */
text-transform: none; }
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
/* 2 */ }
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0; }
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText; }
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em; }
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */ }
/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
display: inline-block;
/* 1 */
vertical-align: baseline;
/* 2 */ }
/**
* Remove the default vertical scrollbar in IE.
*/
textarea {
overflow: auto; }
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */ }
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto; }
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */ }
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; }
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */ }
/* Interactive
========================================================================== */
/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/
details,
menu {
display: block; }
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item; }
/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
display: inline-block; }
/**
* Add the correct display in IE.
*/
template {
display: none; }
/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] {
display: none; }
/* ==========================================================================
RESET
========================================================================== */
/**
* A very simple reset that sits on top of Normalize.css.
*/
/* stylelint-disable selector-list-comma-newline-after */
body,
h1, h2, h3, h4, h5, h6,
blockquote, p, pre,
dl, dd, ol, ul,
figure,
hr,
fieldset, legend {
margin: 0;
padding: 0; }
/**
* Remove trailing margins from nested lists.
*/
li > ol,
li > ul {
margin-bottom: 0; }
/**
* Remove default table spacing.
*/
table {
border-collapse: collapse;
border-spacing: 0; }
/**
* 1. Reset Chrome and Firefox behaviour which sets a `min-width: min-content;`
* on fieldsets.
*/
fieldset {
min-width: 0;
/* [1] */
border: 0; }
/* stylelint-enable selector-list-comma-newline-after */
/* ==========================================================================
BASE
========================================================================== */
/**
* Contains classless styling, i.e., how a <h1> would look without any class.
*
* Attributes on this layer are usually configured on early stages of a
* project and are not modified later.
*/
/* ==========================================================================
IMAGE ELEMENT
========================================================================== */
/**
* 1. Fluid images for responsive purposes.
* 2. Offset `alt` text from surrounding copy.
* 3. Setting `vertical-align` removes the whitespace that appears under `img`
* elements when they are dropped into a page as-is.
*/
img {
max-width: 100%;
/* [1] */
font-style: italic;
/* [2] */
vertical-align: middle;
/* [3] */ }
/**
* 1. If a `width` and/or `height` attribute have been explicitly defined, let’s
* not make the image fluid.
*/
/* stylelint-disable selector-no-qualifying-type */
img[width],
img[height] {
/* [1] */
max-width: none; }
/* stylelint-enable selector-no-qualifying-type */
/* ==========================================================================
PAGE ELEMENT
========================================================================== */
/**
* Simple page-level setup.
*
* 1. Set the default `font-size` and `line-height` for the entire project,
* sourced from our default variables. The `font-size` is calculated to exist
* in ems, the `line-height` is calculated to exist unitlessly.
* 2. Force scrollbars to always be visible to prevent awkward ‘jumps’ when
* navigating between pages that do/do not have enough content to produce
* scrollbars naturally.
* 3. Ensure the page always fills at least the entire height of the viewport.
*/
html {
font-size: 1em;
/* [1] */
line-height: 1.5;
/* [1] */
overflow-y: scroll;
/* [2] */
min-height: 100%;
/* [3] */ }
/* ==========================================================================
HEADING ELEMENTS
========================================================================== */
/**
* Simple default styles for headings 1 through 6.
*
* We have all of our heading font sizes defined here. Passing these pixel
* values into our `font-size()` mixin will generate a rem-based `font-size`
* with a pixel fallback, as well as generating a `line-height` that will
* sit on our baseline grid.
*/
h1 {
font-size: 32px;
font-size: 2rem;
line-height: 1.3125; }
h2 {
font-size: 28px;
font-size: 1.75rem;
line-height: 1.28571; }
h3 {
font-size: 24px;
font-size: 1.5rem;
line-height: 1.25; }
h4 {
font-size: 20px;
font-size: 1.25rem;
line-height: 1.5; }
h5 {
font-size: 18px;
font-size: 1.125rem;
line-height: 1.33333; }
h6 {
font-size: 16px;
font-size: 1rem;
line-height: 1.5; }
/* ==========================================================================
OBJECTS
========================================================================== */
/**
* Namespace: .o-classname
*
* Contains the implementation of various design patterns such as de famous
* media object. Objects are abstract, so they have no specific UI
* implementation. They help us abstract out the repetitive, shared and
* purely structural aspects of the UI into reusable objects.
*
* The idea is to keep these cosmetic-free in order to keep them reusable
* across component instances and, ultimately, across projects.
* That's why you would want to chose agnostic names that aren't specific to
* the type of object. For example, choose .o-box over .o-profile-box.
*
* Please be really careful if you need to modify any attribute of an Object.
* You probably shouldn't.
*/
/* ==========================================================================
MEDIA OBJECT
========================================================================== */
/**
* Place any image- and text-like content side-by-side, as per:
* https://goo.gl/MDV4HS
*
* The Flexbox version of the Media Objects allows it to behave as a flag,
* placing the image both at the bottom or the center of the whole element.
*
* 1. Image vertically aligned at top by default.
*/
.o-media {
display: flex;
align-items: flex-start;
/* [1] */ }
.o-media__img {
margin-right: 24px; }
.o-media__img > img {
display: block; }
.o-media__body {
flex: 1; }
.o-media__body,
.o-media__body > :last-child {
margin-bottom: 0; }
/* Alignment variants.
========================================================================== */
/**
* Vertically align the image- and body-content differently.
*/
.o-media--center {
align-items: center; }
.o-media--bottom {
align-items: flex-end; }
/**
* Allows media img to stretch to fit the container.
*/
.o-media--stretch {
align-items: stretch; }
/* Size variants.
========================================================================== */
/**
* Modify the amount of space between our image and our text. We also have
* reversible options for all available sizes.
*/
/* Gutterless media objects.
========================================================================== */
.o-media--flush > .o-media__img {
margin-right: 0;
margin-left: 0; }
.o-media--flush.o-media--reverse > .o-media__img {
margin-right: 0;
margin-left: 0; }
.o-media--tiny > .o-media__img {
margin-right: 6px; }
.o-media--tiny.o-media--reverse > .o-media__img {
margin-right: 0;
margin-left: 6px; }
.o-media--small > .o-media__img {
margin-right: 12px; }
.o-media--small.o-media--reverse > .o-media__img {
margin-right: 0;
margin-left: 12px; }
.o-media--large > .o-media__img {
margin-right: 48px; }
.o-media--large.o-media--reverse > .o-media__img {
margin-right: 0;
margin-left: 48px; }
.o-media--huge > .o-media__img {
margin-right: 96px; }
.o-media--huge.o-media--reverse > .o-media__img {
margin-right: 0;
margin-left: 96px; }
/* Reversed media objects.
========================================================================== */
.o-media--reverse {
flex-direction: row-reverse; }
.o-media--reverse > .o-media__img {
margin-right: 0;
margin-left: 24px; }
/* ==========================================================================
BLOCK OBJECT
========================================================================== */
/**
* Stacked image-with-text object. A simple abstraction to cover a very commonly
* occurring design pattern.
*/
.o-block {
display: block;
text-align: center; }
.o-block__img {
margin-bottom: 24px;
/* Size variants.
===================================================================== */ }
.o-block--flush > .o-block__img {
margin-bottom: 0; }
.o-block--tiny > .o-block__img {
margin-bottom: 6px; }
.o-block--small > .o-block__img {
margin-bottom: 12px; }
.o-block--large > .o-block__img {
margin-bottom: 48px; }
.o-block--huge > .o-block__img {
margin-bottom: 96px; }
.o-block__body {
display: block; }
/* Alignment variants.
========================================================================== */
.o-block--right {
text-align: right; }
.o-block--left {
text-align: left; }
/* ==========================================================================
WRAPPER OBJECT
========================================================================== */
/**
* Page-level constraining and wrapping elements.
*/
.o-wrapper {
padding-right: 24px;
padding-left: 24px;
margin-right: auto;
margin-left: auto;
max-width: 1200px; }
/* Size variants.
========================================================================== */
.o-wrapper--flush {
padding-right: 0;
padding-left: 0; }
.o-wrapper--tiny {
padding-right: 6px;
padding-left: 6px; }
.o-wrapper--small {
padding-right: 12px;
padding-left: 12px; }
.o-wrapper--large {
padding-right: 48px;
padding-left: 48px; }
.o-wrapper--huge {
padding-right: 96px;
padding-left: 96px; }
/* ==========================================================================
COVER OBJECT
========================================================================== */
/**
* Place any text as a cover from an image.
*
* 1. Opinionated placement of background image.
*/
.o-cover {
display: flex;
background-position: center;
/* [1] */
background-size: cover;
/* [1] */ }
/**
* 1. Center the body into parent element.
* https://hackernoon.com/flexbox-s-best-kept-secret-bd3d892826b6
*/
.o-cover__body {
margin: auto;
/* 1 */
padding: 24px;
/* Size variants.
========================================================================= */
/* Alignment variants.
========================================================================= */
/**
* Vertically align the image- and body-content differently.
*/ }
.o-cover--flush .o-cover__body {
padding: 0; }
.o-cover--tiny .o-cover__body {
padding: 6px; }
.o-cover--small .o-cover__body {
padding: 12px; }
.o-cover--large .o-cover__body {
padding: 48px; }
.o-cover--huge .o-cover__body {
padding: 96px; }
.o-cover--top .o-cover__body {
margin-top: 0; }
.o-cover--bottom .o-cover__body {
margin-bottom: 0; }
.o-cover--left .o-cover__body {
margin-left: 0; }
.o-cover--right .o-cover__body {
margin-right: 0; }
/* ==========================================================================
LIST OBJECT
========================================================================== */
/**
* Unstyled inline or blocked lists.
*
* 1. We need to defensively reset any box-model properties.
*/
.o-list {
margin: 0;
/* [1] */
padding: 0;
/* [1] */
list-style: none; }
.o-list__item {
display: inline-block; }
/* Display modifiers.
========================================================================== */
.o-list--block > .o-list__item {
display: block; }
/* ==========================================================================
COMPONENTS
========================================================================== */
/**
* Namespace: .c-classname
*
* Specific UI components.
*
* This is where the majority of the work takes place. since adding new
* components and features usually makes up the vast majority of development.
* UI components are often composed of Objects and Components.
*
* All of the changes made to a Component styles should be detectable in the
* current context. Modifying these styles should be safe and have no side
* effects.
*/
/* ==========================================================================
UTILITIES
========================================================================== */
/**
* Namespace: .u-classname
*
* The helpers, or “override” layer, should contain high-specificity selectors.
* These are things like utility classes such as .u-hide, which can be reused
* and are not tied to any specific piece of UI.
*
* VERY IMPORTANT: Please keep in mind the Single Responsibility Principle
* when defining utility classes. Every class should do only one thing.
* Utilities should be defined once, and never need changing.
*
* They are to be used as a last resort when no other CSS hooks are available,
* or to tackle completely unique circumstances.
*
* They are only one step away from inline styles, so should be used sparingly.