-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhome.css
More file actions
179 lines (164 loc) · 12 KB
/
home.css
File metadata and controls
179 lines (164 loc) · 12 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
.hp {
--hp-bg: #121317;
--hp-bg-raised: #15171A;
--hp-bg-code: #0D0E12;
--hp-border: #1C1E21;
--hp-border-bright: #272A2E;
--hp-text: #D7D9DD;
--hp-text-dim: #878C99;
--hp-text-muted: #5F6570;
--hp-accent: #A8FF53;
--hp-mono: var(--font-geist-mono), ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
--hp-sans: var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--hp-title: "Satoshi", var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: var(--hp-bg);
color: var(--hp-text);
font-family: var(--hp-sans);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
background-image: radial-gradient(circle, #1C1E21 1px, transparent 1px);
background-size: 24px 24px;
min-height: 100vh;
}
.hp a { color: var(--hp-text-dim); text-decoration: none; transition: color 0.15s; }
.hp a:hover { color: var(--hp-text); }
/* NAV */
.hp-nav { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; margin: 0 auto; padding: 20px 24px; border-bottom: 1px solid var(--hp-border); }
.hp-nav-left { display: flex; align-items: center; gap: 12px; }
.hp-wordmark { font-family: var(--hp-title); font-size: 17px; font-weight: 700; color: var(--hp-text); letter-spacing: -0.02em; }
.hp-wordmark span { color: var(--hp-accent); }
.hp-by-trigger { display: flex; align-items: center; gap: 5px; font-family: var(--hp-mono); font-size: 12px; color: var(--hp-text-muted) !important; transition: color 0.15s; }
.hp-by-trigger:hover { color: var(--hp-text-dim) !important; }
.hp-by-trigger svg { flex-shrink: 0; }
.hp-nav-links { display: flex; gap: 24px; font-family: var(--hp-mono); font-size: 14px; }
/* CONTAINER */
.hp-container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
/* HERO */
.hp-hero { padding: 80px 0 48px; text-align: center; }
.hp-hero-label { font-family: var(--hp-mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--hp-accent); margin-bottom: 16px; }
.hp-hero h1 { font-family: var(--hp-title); font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.hp-typewriter { color: var(--hp-accent); }
.hp-cursor { display: inline-block; width: 3px; height: 0.9em; background: var(--hp-accent); margin-left: 2px; vertical-align: baseline; animation: blink 0.6s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hp-hero p { font-size: 18px; color: var(--hp-text-dim); max-width: 640px; margin: 0 auto; line-height: 1.6; font-weight: 300; }
/* CODE BLOCK */
.hp-code-section { padding: 48px 0; }
.hp-code-section-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.hp-code-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hp-border); border: 1px solid var(--hp-border); border-radius: 8px; overflow: hidden; }
.hp-code-pane { background: var(--hp-bg-code); padding: 0; min-width: 0; display: flex; flex-direction: column; }
.hp-code-pane-header { font-family: var(--hp-mono); font-size: 12px; color: var(--hp-text-muted); border-bottom: 1px solid var(--hp-border); background: var(--hp-bg-raised); display: flex; align-items: stretch; }
.hp-code-tab { padding: 10px 16px; cursor: pointer; border-right: 1px solid var(--hp-border); transition: color 0.15s, background 0.15s; white-space: nowrap; }
.hp-code-tab:hover { color: var(--hp-text-dim); }
.hp-code-tab.active { color: var(--hp-text); background: var(--hp-bg-code); }
.hp-code-pane-label { padding: 10px 16px; }
.hp-code-pane pre { padding: 20px; overflow-x: auto; font-family: var(--hp-mono); font-size: 12.5px; line-height: 1.7; color: var(--hp-text-dim); margin: 0; flex: 1; background: transparent !important; }
/* Syntax highlighting */
.hp .kw { color: #c084fc; }
.hp .str { color: #fbbf24; }
.hp .cmt { color: #525252; }
.hp .fn { color: #60a5fa; }
.hp .num { color: #f97316; }
.hp .tp { color: #2dd4bf; }
.hp .trail-name { color: var(--hp-accent); }
.hp .trail-name-b { color: #60a5fa; }
.hp .trail-name-c { color: #c084fc; }
.hp .trail-msg { color: var(--hp-text); }
.hp .trail-time { color: var(--hp-text-muted); }
.hp .trail-data { color: #fbbf24; }
.hp .cc-prompt { color: var(--hp-text); font-weight: 600; }
.hp .cc-icon { color: var(--hp-accent); }
.hp .cc-dim { color: var(--hp-text-dim); }
/* INSTALL */
.hp-install-section { padding: 32px 0 64px; }
.hp-install-steps { display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin: 0 auto; }
.hp-install-step { display: flex; align-items: center; gap: 12px; }
.hp-install-step-num { font-family: var(--hp-mono); font-size: 12px; color: var(--hp-accent); width: 20px; text-align: center; flex-shrink: 0; }
.hp-install-step-text { font-family: var(--hp-mono); font-size: 14px; color: var(--hp-text-dim); padding: 14px 0; }
.hp-install-bar { display: flex; align-items: center; background: var(--hp-bg-raised); border: 1px solid var(--hp-border-bright); border-radius: 8px; padding: 14px 20px; gap: 12px; font-family: var(--hp-mono); font-size: 15px; transition: border-color 0.15s; flex: 1; }
.hp-install-bar:hover { border-color: #333; }
.hp-prompt-sign { color: var(--hp-accent); user-select: none; width: 44px; text-align: right; flex-shrink: 0; }
.hp-install-bar code { color: var(--hp-text); white-space: nowrap; background: transparent !important; padding: 0 !important; font-size: inherit; }
.hp-install-bar-agent { font-size: 14px; }
.hp-install-bar-agent code { white-space: normal; color: var(--hp-text-dim); }
.hp-agent-label { color: var(--hp-accent); user-select: none; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; width: 44px; text-align: right; flex-shrink: 0; }
.hp-copy-btn { background: none; border: 1px solid var(--hp-border-bright); border-radius: 4px; color: var(--hp-text-dim); font-family: var(--hp-mono); font-size: 12px; padding: 4px 10px; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.hp-copy-btn:hover { color: var(--hp-text); border-color: #444; }
/* FEATURES */
.hp-features { padding: 64px 0; }
.hp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hp-border); border: 1px solid var(--hp-border); border-radius: 8px; overflow: hidden; }
.hp-feature-card { background: var(--hp-bg-raised); padding: 32px 28px; }
.hp-feature-card h3 { font-family: var(--hp-title); font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--hp-text); }
.hp-feature-card p { font-size: 14px; color: var(--hp-text-dim); line-height: 1.6; }
.hp-feature-card code { font-family: var(--hp-mono); font-size: 13px; color: var(--hp-accent); background: rgba(34, 197, 94, 0.08); padding: 1px 5px; border-radius: 3px; }
/* WORKFLOW */
.hp-workflow { padding: 64px 0; }
.hp-workflow h2 { font-family: var(--hp-title); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.hp-section-subtitle { color: var(--hp-text-dim); margin-bottom: 32px; font-size: 16px; }
.hp-section-subtitle a { color: var(--hp-accent); }
.hp-section-subtitle code { font-family: var(--hp-mono); font-size: 14px; color: var(--hp-accent); background: rgba(34, 197, 94, 0.08); padding: 1px 5px; border-radius: 3px; }
.hp-section-subtitle strong { color: var(--hp-text); }
.hp-workflow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.hp-workflow-step { font-family: var(--hp-mono); font-size: 13px; }
.hp-step-num { color: var(--hp-accent); font-size: 12px; margin-bottom: 8px; }
.hp-step-title { font-family: var(--hp-title); color: var(--hp-text); font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.hp-step-desc { color: var(--hp-text-dim); line-height: 1.5; }
.hp-step-desc code { font-family: var(--hp-mono); font-size: 12px; color: var(--hp-accent); background: rgba(34, 197, 94, 0.08); padding: 1px 4px; border-radius: 3px; }
.hp-workflow-flow { display: flex; align-items: flex-start; justify-content: center; padding: 32px 0; }
.hp-flow-step { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hp-flow-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--hp-border-bright); display: block; animation: flow-pulse 5s infinite; animation-delay: calc(var(--step-index) * 1s); }
.hp-flow-line { width: 48px; height: 2px; background: var(--hp-border-bright); margin-top: 5px; animation: flow-line 5s infinite; animation-delay: calc(var(--line-index) * 1s + 0.5s); }
.hp-flow-label { font-family: var(--hp-mono); font-size: 12px; color: var(--hp-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
@keyframes flow-pulse {
0%, 15% { background: var(--hp-accent); box-shadow: 0 0 8px rgba(168, 255, 83, 0.4); }
30%, 100% { background: var(--hp-border-bright); box-shadow: none; }
}
@keyframes flow-line {
0%, 10% { background: var(--hp-accent); }
25%, 100% { background: var(--hp-border-bright); }
}
/* SKILLS */
.hp-skills { padding: 64px 0; }
.hp-skills h2 { font-family: var(--hp-title); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.hp-skills-install { background: var(--hp-bg-code); border: 1px solid var(--hp-border); border-radius: 8px; overflow: hidden; margin-bottom: 24px; }
.hp-skills-pre { padding: 20px; overflow-x: auto; font-family: var(--hp-mono); font-size: 12.5px; line-height: 1.7; color: var(--hp-text-dim); margin: 0; background: transparent !important; }
.hp-skills-config { padding: 20px; font-family: var(--hp-mono); font-size: 13px; }
.hp-skills-config-heading { color: var(--hp-text); font-weight: 600; margin-bottom: 12px; }
.hp-skills-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.hp-skills-table th { text-align: left; color: var(--hp-text-dim); font-weight: 500; padding: 6px 16px 6px 0; border-bottom: 1px solid var(--hp-border); }
.hp-skills-table td { color: var(--hp-text-dim); padding: 6px 16px 6px 0; border-bottom: 1px solid var(--hp-border); }
.hp-skills-config-note { color: var(--hp-text-muted); font-size: 12px; }
.hp-skills-detail { display: flex; gap: 32px; }
.hp-skills-detail p { color: var(--hp-text-dim); font-size: 14px; line-height: 1.6; flex: 1; }
.hp-skills-detail a { color: var(--hp-accent); }
/* COMPAT */
.hp-compat { padding: 64px 0; }
.hp-compat h2 { font-family: var(--hp-title); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.hp-compat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hp-compat-item { background: var(--hp-bg-raised); border: 1px solid var(--hp-border); border-radius: 8px; padding: 20px 24px; font-family: var(--hp-mono); font-size: 14px; }
.hp-compat-label { font-family: var(--hp-title); color: var(--hp-text); font-weight: 600; margin-bottom: 4px; }
.hp-compat-desc { color: var(--hp-text-dim); font-size: 13px; font-family: var(--hp-sans); }
/* FOOTER */
.hp-footer { border-top: 1px solid var(--hp-border); padding: 32px 0; margin-top: 48px; }
.hp-footer-inner { display: flex; align-items: center; justify-content: space-between; font-family: var(--hp-mono); font-size: 13px; color: var(--hp-text-muted); }
.hp-footer-brand { display: flex; align-items: center; gap: 8px; color: var(--hp-text-dim) !important; transition: color 0.15s; }
.hp-footer-brand:hover { color: var(--hp-text) !important; }
.hp-footer-brand svg { flex-shrink: 0; }
.hp-footer-links { display: flex; align-items: center; gap: 20px; }
.hp-footer-links a { color: var(--hp-text-dim); }
/* RESPONSIVE */
@media (max-width: 768px) {
.hp-code-split { grid-template-columns: 1fr; }
.hp-feature-grid { grid-template-columns: 1fr; }
.hp-workflow-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
.hp-compat-grid { grid-template-columns: 1fr; }
.hp-hero { padding: 56px 0 32px; }
.hp-hero p { font-size: 16px; }
.hp-install-bar { font-size: 13px; padding: 12px 16px; }
}
@media (max-width: 480px) {
.hp-workflow-steps { grid-template-columns: 1fr; }
.hp-nav { padding: 16px; }
.hp-container { padding: 0 16px; }
.hp-code-section-inner { padding: 0 8px; }
.hp-code-pane pre { font-size: 11px; padding: 12px; }
}