-
Notifications
You must be signed in to change notification settings - Fork 0
/
typography.css
62 lines (52 loc) · 835 Bytes
/
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
:root {
--main-font: "Nunito";
--html-font-size: 10px;
--body-font-size: 1.8rem;
}
html {
font-size: var(--html-font-size);
}
body {
print-color-adjust: exact !important;
-webkit-print-color-adjust: exact !important;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeSpeed;
font-size: var(--body-font-size);
line-height: 1.7;
font-weight: 400;
}
html,
body {
font-family: var(--main-font);
}
h1 {
font-size: 15rem;
font-size: clamp(9rem, 15vw, 15rem);
font-weight: 200;
}
h2 {
font-size: 7rem;
font-size: clamp(7rem, 10vw, 13rem);
font-weight: 200;
}
h3 {
font-size: 5rem;
}
h4 {
font-size: 4rem;
}
h5 {
font-size: 3rem;
}
h6 {
font-size: 2rem;
}
p {
font-size: 1.8rem;
}
option {
font-size: 1.6rem;
padding: 0.5rem;
}