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
|
// Body reset
html {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
body {
font-family: $font-family-base;
font-size: $font-size-base;
line-height: $line-height-base;
color: var(--color--font-primary);
}
// Reset fonts for relevant elements
input,
button,
select,
textarea {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
// Typography
// --------------------------------------------------
// Headings
// -------------------------
h1, h2, h3, h4, h5, h6 {
font-family: $headings-font-family;
font-weight: $headings-font-weight;
line-height: $headings-line-height;
color: var(--color--font-primary);
}
h1 {
margin-top: 0;
margin-bottom: calc($line-height-computed / 2);
}
h2,
h3 {
margin-top: $line-height-computed;
margin-bottom: calc($line-height-computed / 2);
}
h4,
h5,
h6 {
margin-top: calc($line-height-computed / 2);
margin-bottom: calc($line-height-computed / 2);
}
h1 { font-size: $font-size-h1; }
h2 { font-size: $font-size-h2; }
h3 { font-size: $font-size-h3; }
h4 { font-size: $font-size-h4; }
h5 { font-size: $font-size-h5; }
h6 { font-size: $font-size-h6; }
// Body text
// -------------------------
p {
margin: 0 0 calc($line-height-computed / 2);
}
.text-center {
text-align: center;
}
|