-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_typography.scss
129 lines (99 loc) · 2.25 KB
/
_typography.scss
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
// Defaults Type Styles - overridden by classes or mixins
h4 {
@include base-heading-copy;
@include font-style--med-bold-uppercase;
margin-bottom: $type-margin--small;
}
h5 {
@include base-heading-copy;
@include font-style--small-bold-uppercase;
margin-bottom: $type-margin--small;
}
h6 {
@include base-heading-copy;
@include font-style--small-bold;
}
// Other Default Typography
a {
@include link;
}
hr {
border-bottom: $base-border;
border-left: none;
border-right: none;
border-top: none;
margin: $base-spacing 0;
}
ul.list--body {
margin-left: 20px;
}
blockquote {
border-left: 2px solid $base-border-primary-color;
color: lighten($text-color-dark, 15);
margin: $base-spacing 0;
padding-left: $base-spacing / 2;
}
cite {
color: lighten($text-color-dark, 25);
font-style: italic;
&:before {
content: "\2014 \00A0";
}
}
// Type Styles
.font-style--xxl-light { // Style 1: hero headers
@include font-style--xxl-light;
}
.font-style--xl-light { // Style 2: section headers and subheaders
@include font-style--xl-light;
}
.font-style--xl-bold { // Style 2 (bold): section headers and subheaders
@include font-style--xl-bold;
}
.font-style--large-regular { // Style 3: hero subheaders
@include font-style--large-regular;
}
.font-style--med-bold-uppercase { // Style 4: section headers, buttons
@include font-style--med-bold-uppercase;
}
.font-style--small-bold-uppercase { // Style 5: navigation, labels
@include font-style--small-bold-uppercase;
}
.font-style--small-bold { // Style 6: nav dropdowns
@include font-style--small-bold;
}
.font-style--med-regular { // Style 7: body copy
@include font-style--med-regular;
}
// Style 8
.font-style--smallest-regular { // Style 9: table captions, other table elements
@include font-style--smallest-regular;
}
.base-body-copy {
@include base-body-copy;
}
.base-heading-copy {
@include base-heading-copy;
}
.base-link {
@include link;
}
// Headings
.heading--hero {
@include heading--hero;
}
.heading--hero--xl {
@include heading--hero--xl;
}
.heading--section {
@include heading--section;
}
.heading--section--small {
@include heading--section--small;
}
.heading--item {
@include heading--item;
}
.heading--small {
@include heading--small;
}