forked from FirefoxUX/photon-components-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
62 lines (52 loc) · 959 Bytes
/
index.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
* {
box-sizing: border-box;
}
body {
background-color: var(--grey-10);
font-family:
-apple-system,
BlinkMacSystemFont,
'helvetica neue',
helvetica,
ubuntu,
roboto,
noto,
'segoe ui',
arial,
sans-serif;
padding: 1em;
margin: 0 auto;
max-width: 800px;
}
/* Typography */
:root {
--body-10: 13px;
--body-20: calc(var(--body-10) * 1.15);
--body-30: calc(var(--body-20) * 1.15);
--title-10: var(--body-10);
--title-20: calc(var(--title-10) * 1.29);
--title-30: calc(var(--title-20) * 1.29);
--title-40: calc(var(--title-30) * 1.29);
--display-20: calc(var(--title-40) * 1.29);
}
html {
font-size: var(--body-10);
line-height: 1.4;
}
h1 {
font-size: var(--display-20);
font-weight: 200;
}
h2 {
font-size: var(--title-30);
font-weight: 300;
}
h3 {
font-size: var(--title-20);
font-weight: 500;
}
code.hljs {
display: block;
font-size: var(--body-20);
padding: 1em;
}