-
Notifications
You must be signed in to change notification settings - Fork 0
/
typography.css
66 lines (55 loc) · 1.57 KB
/
typography.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
/*------------------------------------------------------------------------------------*/
/* FONT BASE */
/*------------------------------------------------------------------------------------*/
html {
/* font-size: 62.5%; */
font-size: 10px;
}
body {
@mixin text;
font-size: $d_fs; /* Chrome bug with rem so using px instead */
line-height: $d_lh; /* Chrome bug with rem so using px instead */
color: $c_dark_secondary;
}
h1, h2, h3, h4, h5, h6, th {
@mixin headline;
color: $c_dark_primary;
}
h1 { font-size: 4.8rem; }
h2 { font-size: 4.2rem; }
h3 { font-size: 3.6rem; }
h4 { font-size: 3.0rem; }
h5 { font-size: 2.4rem; }
h6 { font-size: 1.8rem; }
/*------------------------------------------------------------------------------------*/
/* FONT COLORS */
/*------------------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6, p, span, a, i, em, li, th, td, label, legend {
&.primary {
color: $c_color_primary !important;
&.inverted {
color: inherit !important;
&:hover {
color: $c_color_primary !important;
}
}
}
&.secondary {
color: $c_color_secondary !important;
&.inverted {
color: inherit !important;
&:hover {
color: $c_color_secondary !important;
}
}
}
&.dark {
color: $c_dark_primary !important;
&.inverted {
color: inherit !important;
&:hover {
color: $c_dark_primary !important;
}
}
}
}