Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (69 loc) · 3.33 KB
/
Copy pathstyle.css
File metadata and controls
75 lines (69 loc) · 3.33 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
:root {
--bg: #fbfbfc; --surface: #ffffff; --text: #1b2130; --muted: #5c6475; --faint: #6b7385;
--border: #e3e6ee; --accent: #2f58cd; --accent-hover: #1f44b0; --accent-soft: #e9eefc;
--moon: #9a6c0a; --moon-soft: #fbf3dc; --logo: #13139a; --code-bg: #f0f2f7;
--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace;
color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #0b0e1a; --surface: #10142a; --text: #dde2f0; --muted: #97a0b8; --faint: #848ca8;
--border: #232a44; --accent: #8aa9ff; --accent-hover: #b3c7ff; --accent-soft: #1a2248;
--moon: #f0cf6a; --moon-soft: #2a2512; --logo: #c9cfff; --code-bg: #151a33;
color-scheme: dark;
}
}
* { box-sizing: border-box; }
body {
margin: 0; background: var(--bg); color: var(--text);
font: 16px/1.6 var(--sans);
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
code { font: .9em var(--mono); background: var(--code-bg); padding: .1em .35em; border-radius: 4px; }
.bar, main, footer { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.mark { fill: var(--logo); }
.orbit { fill: none; stroke: var(--faint); stroke-width: 3.5; stroke-dasharray: 7 4.5; }
nav { display: flex; gap: 20px; }
nav a { color: var(--muted); }
.hero { padding: 56px 0 40px; }
h1 { font-size: 2.4rem; line-height: 1.2; margin: 0 0 16px; letter-spacing: -.01em; }
.hero p { max-width: 640px; color: var(--muted); font-size: 1.1rem; margin: 0 0 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
display: inline-block; padding: 10px 18px; border-radius: 8px;
background: var(--accent); color: #fff; font-weight: 600;
}
.button:hover { background: var(--accent-hover); color: #fff; text-decoration: none; }
.button.quiet { background: var(--accent-soft); color: var(--accent); }
.button.quiet:hover { color: var(--accent-hover); }
section { margin-bottom: 40px; }
h2 { font-size: 1.25rem; margin: 0 0 16px; }
.cards {
list-style: none; margin: 0; padding: 0;
display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px;
}
.cards li {
background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
padding: 20px; display: flex; flex-direction: column;
}
.cards h3 { font-size: 1.05rem; margin: 0 0 8px; }
.cards p { margin: 0; color: var(--muted); }
.cards .links { margin-top: auto; padding-top: 14px; display: flex; gap: 16px; font-size: .95rem; }
.cards.small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.cards.small li { padding: 16px; }
.cards.small p { font-size: .95rem; }
.tag {
font-size: .75rem; font-weight: 500; color: var(--moon); background: var(--moon-soft);
padding: 2px 8px; border-radius: 999px; vertical-align: middle;
}
footer { padding: 32px 24px 48px; color: var(--faint); font-size: .9rem; border-top: 1px solid var(--border); }
@media (max-width: 560px) {
h1 { font-size: 1.9rem; }
.hero { padding: 32px 0 24px; }
}