-
Notifications
You must be signed in to change notification settings - Fork 394
/
headings.css
55 lines (48 loc) · 1018 Bytes
/
headings.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
@import 'part:@sanity/base/theme/variables/typography-style';
.root {
text-align: left;
display: block;
font-family: var(--headings-font-family);
font-weight: var(--headings-font-weight);
line-height: var(--headings-line-height);
color: var(--headings-color);
margin: 0;
padding: 0;
}
.heading1 {
composes: root;
font-size: var(--font-size-h1);
padding-bottom: 1rem;
padding-top: 1rem;
}
.heading2 {
composes: root;
font-size: var(--font-size-h2);
padding-top: 1rem;
padding-bottom: 1rem;
}
.heading3 {
composes: root;
font-size: var(--font-size-h3);
padding-top: 1rem;
padding-bottom: 1rem;
}
.heading4 {
composes: root;
font-size: var(--font-size-h4);
/* line-height: calc(22 / 16); */
padding-top: 1rem;
padding-bottom: 1rem;
}
.heading5 {
composes: root;
font-size: var(--font-size-h5);
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.heading6 {
composes: root;
font-size: var(--font-size-h6);
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}