forked from Frontend-Layers/scss-reset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_typography.scss
82 lines (68 loc) · 917 Bytes
/
_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
/**
* Typography
*/
html,
body {
font-family: $body-font;
font-weight: $body-font-weight;
}
html {
font-size: $basic-font-size;
}
body {
color: $text-color;
font-size: $paragraph;
line-height: $line-height;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeSpeed;
}
h1,
h2,
h3 {
font-family: $header-font;
font-weight: bold;
}
html,
button,
input,
select,
textarea {
color: $text-color;
}
a {
color: $text-color;
text-decoration: none;
&:visited {
color: $text-color;
text-decoration: none;
outline: 0;
}
&:focus,
&:active,
&:hover {
color: $text-color;
text-decoration: underline;
outline: 0;
}
}
i,
em {
font-style: italic;
}
b,
strong {
font-weight: bold;
}
input {
&:focus {
outline: none;
}
}
[disabled] {
pointer-events: none;
opacity: 0.5
}
.br {
display: block;
}