1 | %heading {
|
2 | margin-top: 0;
|
3 | margin-bottom: $headings-margin-bottom;
|
4 | font-family: $headings-font-family;
|
5 | font-style: $headings-font-style;
|
6 | font-weight: $headings-font-weight;
|
7 | line-height: $headings-line-height;
|
8 | color: $headings-color;
|
9 | }
|
10 |
|
11 | %display-heading {
|
12 | @extend %heading;
|
13 | font-weight: $display-font-weight;
|
14 | font-family: $display-font-family;
|
15 | }
|
16 |
|
17 | h1 {
|
18 | @extend %heading;
|
19 | font-size: $h1-font-size
|
20 | }
|
21 |
|
22 | h2 {
|
23 | @extend %heading;
|
24 | font-size: $h2-font-size
|
25 | }
|
26 |
|
27 | h3 {
|
28 | @extend %heading;
|
29 | font-size: $h3-font-size
|
30 | }
|
31 |
|
32 | h4 {
|
33 | @extend %heading;
|
34 | font-size: $h4-font-size
|
35 | }
|
36 |
|
37 | h5 {
|
38 | @extend %heading;
|
39 | font-size: $h5-font-size
|
40 | }
|
41 |
|
42 | h6 {
|
43 | @extend %heading;
|
44 | font-size: $h6-font-size
|
45 | }
|
46 |
|
47 | .display-1 {
|
48 | @extend %display-heading;
|
49 | font-size: $display-1-font-size;
|
50 | }
|
51 |
|
52 | .display-2 {
|
53 | @extend %display-heading;
|
54 | font-size: $display-2-font-size;
|
55 | }
|
56 |
|
57 | .display-3 {
|
58 | @extend %display-heading;
|
59 | font-size: $display-3-font-size;
|
60 | }
|
61 |
|
62 | .display-4 {
|
63 | @extend %display-heading;
|
64 | font-size: $display-4-font-size;
|
65 | }
|
66 |
|
67 | .lead {
|
68 | font-size: $lead-font-size;
|
69 | font-weight: $lead-font-weight;
|
70 | }
|
71 |
|
72 | .small {
|
73 | font-size: $font-size-sm;
|
74 | }
|
75 |
|
76 | p {
|
77 | margin-top: 0;
|
78 | line-height: $paragraph-line-height;
|
79 | margin-bottom: $paragraph-margin-bottom;
|
80 | }
|
81 |
|
82 | @media (max-width: breakpoint('sm')) {
|
83 | .display-1 { font-size: 3.8rem; }
|
84 | .display-2 { font-size: 3rem; }
|
85 | .display-3 { font-size: 2.6rem; }
|
86 | .display-4 { font-size: 2.4rem; }
|
87 |
|
88 | h1 { font-size: 2.3rem; }
|
89 | h2 { font-size: 1.8rem; }
|
90 | h3 { font-size: 1.65rem; }
|
91 | h4 { font-size: 1.4rem; }
|
92 | h5 { font-size: 1.25rem; }
|
93 | h6 { font-size: 1.1rem; }
|
94 |
|
95 | .lead { font-size: 1.2rem }
|
96 | }
|
97 |
|
98 | ::selection {
|
99 | background-color: $light-gray-1;
|
100 | }
|