This repository has been archived by the owner on Oct 17, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_typography.scss
136 lines (110 loc) · 1.62 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
130
131
132
133
134
135
136
/*===============================================
Typography - Co-op Front-end Toolkit
===============================================*/
@import "variables";
@import "mixins/typography";
h1, .h1, .alpha,
h2, .h2, .beta,
h3, .h3, .gamma,
h4, .h4, .delta,
h5, .h5, .epsilon,
h6, .h6, .zeta,
ul,
ol,
p,
address {
font-weight: normal;
margin-top: 0;
}
h1, .h1, .alpha,
h2, .h2, .beta,
h3, .h3, .gamma,
h4, .h4, .delta,
h5, .h5, .epsilon,
h6, .h6, .zeta {
font-family: $bold;
}
p {
@include body;
@include spacing('margin', 'bottom', 'quarter');
}
ul,
ol {
@include body;
@include spacing('margin', 'bottom', 'quarter');
}
p:last-child {
@include spacing('margin', 'bottom', 'half');
}
.h-mega {
@include heading-mega;
}
h1, .h1, .alpha {
@include heading-h1;
}
h2, .h2, .beta {
@include heading-h2;
}
h3, .h3, .gamma {
@include heading-h3;
}
h4, .h4, .delta {
@include heading-h4;
}
h5, .h5, .epsilon {
@include heading-h5;
}
h6, .h6, .zeta {
@include heading-h6;
}
small,
.smallprint {
@include small;
}
hr {
display: block;
margin: 2em 0 3em;
border: 1px solid $coop-border-grey;
border-width: 0 0 1px;
height: 0;
color: $coop-grey;
&.dashed {
border-style: dashed;
border-color: $coop-grey;
}
}
.regular {
@include regular;
}
.italic,
.em,
em {
@include regular-italic;
}
.bold,
.strong,
strong {
@include bold;
}
.medium {
@include medium;
}
.bold-italic {
@include bold-italic;
}
blockquote {
@include blockquote;
}
cite {
@include cite;
}
del,
.line-through {
@include line-through;
}
address {
@include regular;
}
.intro-text {
@include intro-text;
}