aboutsummaryrefslogtreecommitdiff
path: root/styles/globals.css
blob: 56502403cca53821c736fa87147682672b2f35cd (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
html, body {
	padding: 0;
	margin: 0;

	background-color: var(--bg);
	color: var(--fg);

	font-family: "Inter", sans-serif;
}

code { font-family: "JetBrainsMono", monospace; }

::selection {
	background-color: var(--fire-opal);
}

h1, h2, h3 {
	font-weight: 700;
	margin: 0;
}

h1 { font-size: 64px; }
h2 { font-size: 48px; }
h3 { font-size: 32px; }

.subtile {
	font-style: italic;
	opacity: .75;
	color: var(--heliotrope-gray);
}

.contentWrapper a {
	color: var(--fire-opal);
	text-decoration: none;
	position: relative;
	display: inline-block;
}

.contentWrapper a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-color: var(--fire-opal);
}

::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background-color: var(--bg);
}

::-webkit-scrollbar-thumb {
	background-color: var(--purple-navy);
	border-radius: 6px;
	border: 4px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--fg);
}

:focus { outline: none; }

@media (prefers-color-scheme: light) {
	.subtile {
		opacity: .6;
		color: var(--fg);
	}
}