aboutsummaryrefslogtreecommitdiff
path: root/src/styles/base.css
blob: 8a67f66eef2d787563da1d60f05c15a3f316a174 (plain) (blame)
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

@layer base {
	*,
	*::before,
	*::after {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
	}

	:root {
		font-family:
			'Inter',
			system-ui,
			-apple-system,
			BlinkMacSystemFont,
			'Segoe UI',
			Roboto,
			sans-serif;
		font-size: 16px;
		line-height: 1.5;
		color: var(--text);
		background-color: var(--bg);
	}

	body {
		min-height: 100dvh;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	main {
		padding: 0 1rem;
	}

	h1 {
		font-size: 1.875rem;
		font-weight: 700;
		letter-spacing: -0.02em;
	}

	h2 {
		font-size: 1.25rem;
		font-weight: 600;
		letter-spacing: -0.01em;
	}

	button {
		cursor: pointer;
		font-family: inherit;
	}
}