aboutsummaryrefslogtreecommitdiff
path: root/src/styles/base.css
blob: 58491038fa4a97382ea1f299cae4bd40fbbcb1c2 (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

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

	:root {
		font-family: var(--font-sans);
		font-size: 16px;
		line-height: 1.5;
		color: var(--text);
		background-color: var(--bg);
		scrollbar-gutter: stable;
	}

	body {
		min-height: 100dvh;
		background-color: var(--bg);
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	main {
		padding: 0 1rem;
	}

	h1 {
		font-size: 1.25rem;
		font-weight: 700;
	}

	h2 {
		font-size: 1rem;
		font-weight: 700;
	}

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

	:focus-visible {
		outline: 2px solid var(--accent);
		outline-offset: 1px;
	}
}