-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault.css
More file actions
85 lines (73 loc) · 1.38 KB
/
Copy pathdefault.css
File metadata and controls
85 lines (73 loc) · 1.38 KB
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
76
77
78
79
80
81
82
83
84
85
:root {
color-scheme: light dark;
--bg: #ffffff;
--fg: #1b1b1f;
--muted: #5c5c66;
--accent: #7a3fd4;
--surface: #f4f4f7;
--border: #dcdce2;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #16161a;
--fg: #e8e8ec;
--muted: #a0a0ac;
--accent: #b18bf0;
--surface: #212127;
--border: #33333c;
}
}
* { box-sizing: border-box; }
body {
margin: 0;
padding: 2rem 1rem 4rem;
background: var(--bg);
color: var(--fg);
font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Cantarell, sans-serif;
}
main {
max-width: 44rem;
margin: 0 auto;
}
h1 {
margin: 0 0 .5rem;
font-size: 2.25rem;
letter-spacing: -.02em;
}
h2 {
margin: 2.5rem 0 .5rem;
font-size: 1.15rem;
letter-spacing: -.01em;
}
a {
color: var(--accent);
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}
p { margin: .5rem 0; }
pre {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 8px;
padding: .9rem 1rem;
overflow-x: auto;
}
pre code {
background: none;
padding: 0;
font-size: .875rem;
}
code {
background: var(--surface);
border-radius: 4px;
padding: .1em .35em;
font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, monospace;
font-size: .9em;
}
footer {
margin-top: 3.5rem;
padding-top: 1.25rem;
border-top: 1px solid var(--border);
color: var(--muted);
font-size: .875rem;
}