-
Notifications
You must be signed in to change notification settings - Fork 127
/
typography.css
78 lines (65 loc) · 1.13 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
67
68
69
70
71
72
73
74
75
76
77
78
@import url(https://fonts.googleapis.com/css?family=Roboto:400,500);
@import url(https://cloud.typography.com/7886252/634328/css/fonts.css);
@import './colors.css';
@import './media.css';
body {
text-rendering: optimizeLegibility;
font-family: Roboto, sans-serif;
line-height: 150%;
@media (--sm-viewport) {
font-size: 110%;
}
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 1rem;
line-height: 100%;
&.highlight {
color: var(--orange);
}
}
h1 {
font-family: 'Quarto A', 'Quarto B', serif;
font-size: 3.5em !important;
}
h2 {
font-family: 'Quarto A', 'Quarto B', serif;
font-size: 2em;
margin-top: 3rem;
}
h3 {
font-weight: 400;
line-height: 150%;
}
h4 {
font-family: 'Quarto A', 'Quarto B', serif;
font-size: 1.2em;
}
h5 {
font-size: 0.85em;
font-weight: 500;
color: var(--light-gray);
margin-bottom: 1em;
}
h6 {
font-weight: 400;
}
a {
text-decoration: none;
color: var(--orange);
&:hover {
text-decoration: underline;
}
&.black {
color: black;
}
&.light-gray {
color: var(--light-gray);
}
}
b, strong {
font-weight: 500;
}
small {
opacity: 0.75;
}