-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
252 lines (234 loc) · 8.31 KB
/
Copy pathstyle.css
File metadata and controls
252 lines (234 loc) · 8.31 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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
/* HermesDocker — DevOps deployment + troubleshooting theme */
:root {
--bg: #0b0b12;
--surface: #14141f;
--surface2: #1c1c2b;
--border: #282840;
--text: #e2e2ed;
--text2: #9898b5;
--accent: #f59e0b;
--accent-dim: #d97706;
--danger: #ef4444;
--green: #10b981;
--code-bg: #0d0d1a;
--font: 'Segoe UI', system-ui, -apple-system, sans-serif;
--mono: 'Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font);
background: var(--bg);
color: var(--text);
line-height: 1.7;
font-size: 16px;
}
/* Nav */
nav {
background: var(--surface);
border-bottom: 1px solid var(--border);
position: sticky; top: 0; z-index: 100;
backdrop-filter: blur(12px);
}
.nav-inner {
max-width: 900px; margin: 0 auto; padding: 0 24px;
display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo a {
font-family: var(--mono); font-size: 1rem; font-weight: 600;
color: var(--accent); text-decoration: none;
}
.nav-links { list-style: none; display: flex; gap: 24px; }
.nav-links a { color: var(--text2); text-decoration: none; font-size: 0.875rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
/* Hero */
.hero {
text-align: center; padding: 80px 24px 64px;
max-width: 780px; margin: 0 auto;
}
.hero-badge {
display: inline-block; background: var(--surface2); border: 1px solid var(--border);
color: var(--accent); font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
letter-spacing: 0.08em; padding: 4px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero h1 {
font-size: 2.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em;
margin-bottom: 16px; color: #fff;
}
.hero .subtitle { font-size: 1.15rem; color: var(--text2); margin-bottom: 24px; line-height: 1.65; }
.hero-cta {
display: inline-block; margin-top: 20px; padding: 10px 22px;
background: var(--accent); color: #0b0b12; font-weight: 700;
font-size: 0.95rem; border-radius: 8px; text-decoration: none;
transition: opacity .15s;
}
.hero-cta:hover { opacity: 0.9; text-decoration: none; }
.hero-meta {
display: flex; gap: 12px; justify-content: center; align-items: center;
color: var(--text2); font-size: 0.9rem;
}
/* Sections */
.section {
max-width: 800px; margin: 0 auto; padding: 64px 24px;
border-top: 1px solid var(--border);
}
.section:first-of-type { border-top: none; }
.section .intro {
color: var(--text2); font-size: 1.05rem; margin-bottom: 32px;
}
h2 {
font-size: 1.75rem; font-weight: 700; margin-bottom: 24px;
letter-spacing: -0.01em; color: #fff;
}
h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 8px; color: #f0f0f5; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #f0f0f5; }
p { margin-bottom: 14px; color: var(--text2); }
p strong { color: var(--text); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Reason blocks */
.reason {
background: var(--surface); border: 1px solid var(--border);
border-radius: 10px; padding: 24px; margin-bottom: 20px;
}
.reason h3 { margin-top: 0; }
.reason p { margin-bottom: 8px; }
.reason-why {
font-size: 0.85rem; color: var(--accent); font-style: italic;
border-left: 3px solid var(--accent-dim); padding-left: 12px;
}
/* Steps */
.step { margin-bottom: 36px; }
.step h3 { color: var(--accent); }
/* Architecture diagram */
.arch-diagram {
background: var(--code-bg); border: 1px solid var(--border);
border-radius: 8px; padding: 20px 24px; margin: 12px 0 18px;
font-family: var(--mono); font-size: 0.8rem; line-height: 1.5;
color: var(--text2); overflow-x: auto;
}
/* Code blocks */
.code-block {
background: var(--code-bg); border: 1px solid var(--border);
border-radius: 8px; padding: 16px 20px; margin: 12px 0 18px;
font-family: var(--mono); font-size: 0.85rem; line-height: 1.65;
overflow-x: auto; white-space: pre-wrap; word-break: break-word;
color: #c9d1d9;
}
.cm { color: #8b949e; }
.st { color: #a5d6ff; }
.kw { color: #ff7b72; }
.kn { color: #ff7b72; }
.nn { color: #ffa657; }
code {
background: var(--surface2); padding: 2px 6px; border-radius: 4px;
font-family: var(--mono); font-size: 0.875em; color: var(--accent);
}
.code-block code { background: none; padding: 0; color: inherit; }
/* Callouts */
.callout {
background: var(--surface); border: 1px solid var(--border);
border-radius: 10px; padding: 18px 22px; margin: 20px 0;
font-size: 0.95rem;
}
.callout strong { color: var(--accent); }
.callout.warn { border-left: 3px solid var(--accent); }
.callout.warn strong { color: var(--accent); }
.callout.danger { border-left: 3px solid var(--danger); }
.callout.danger strong { color: var(--danger); }
.callout.note { border-left: 3px solid var(--text2); }
/* Features grid */
.features-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 20px;
}
.feature-card {
background: var(--surface); border: 1px solid var(--border);
border-radius: 10px; padding: 22px;
}
.feature-card h4 { color: var(--accent); }
.feature-card p { font-size: 0.95rem; margin-bottom: 0; }
/* Error entries */
.error-entry {
background: var(--surface); border: 1px solid var(--border);
border-radius: 10px; padding: 24px; margin-bottom: 24px;
position: relative;
}
.error-num {
position: absolute; top: -12px; left: 20px;
background: var(--danger); color: #fff;
font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
letter-spacing: 0.06em; padding: 3px 12px; border-radius: 100px;
}
.error-entry h3 { margin-top: 8px; color: #fff; }
.error-symptom {
background: var(--code-bg); border: 1px solid var(--border);
border-radius: 6px; padding: 12px 16px; margin: 12px 0;
font-size: 0.9rem;
}
.error-symptom strong { color: var(--danger); }
.error-symptom code { color: var(--danger); background: none; padding: 0; }
.error-entry p { margin-bottom: 10px; }
.source-tag {
display: inline-block; font-size: 0.75rem; color: var(--text2);
background: var(--surface2); padding: 2px 10px; border-radius: 4px;
margin-top: 12px; font-family: var(--mono);
}
/* FAQ */
.faq-item { margin-bottom: 2px; }
.faq-q {
width: 100%; text-align: left; background: var(--surface);
border: 1px solid var(--border); border-radius: 8px;
padding: 16px 48px 16px 20px; font-size: 1rem; font-weight: 500;
color: var(--text); cursor: pointer; position: relative;
font-family: var(--font); transition: background .15s;
}
.faq-q:hover { background: var(--surface2); }
.faq-q::after {
content: '+'; position: absolute; right: 20px; top: 50%;
transform: translateY(-50%); font-size: 1.3rem; color: var(--accent);
transition: transform .2s;
}
.faq-q.open::after { transform: translateY(-50%) rotate(45deg); }
.faq-q.open { background: var(--surface2); border-color: var(--accent-dim); }
.faq-a {
display: none; background: var(--surface);
border: 1px solid var(--border); border-top: none;
border-radius: 0 0 8px 8px; padding: 0 20px 18px;
}
.faq-a.open { display: block; }
.faq-a p { font-size: 0.95rem; }
.faq-a ul { margin: 0 0 14px 20px; color: var(--text2); font-size: 0.95rem; }
.faq-a li { margin-bottom: 6px; }
/* Next steps */
.next-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px; margin-top: 8px;
}
.next-card {
display: flex; flex-direction: column; gap: 4px;
background: var(--surface); border: 1px solid var(--border);
border-radius: 10px; padding: 22px; text-decoration: none;
transition: border-color .15s;
}
.next-card:hover { border-color: var(--accent-dim); text-decoration: none; }
.next-card .next-arrow { color: var(--accent); font-size: 1.1rem; font-weight: 700; }
.next-card strong { color: var(--text); font-size: 1rem; }
.next-card span { color: var(--text2); font-size: 0.875rem; }
/* Footer */
footer {
text-align: center; padding: 48px 24px;
border-top: 1px solid var(--border); color: var(--text2); font-size: 0.875rem;
}
footer a { color: var(--accent); }
/* Responsive */
@media (max-width: 640px) {
.hero h1 { font-size: 1.65rem; }
.hero .subtitle { font-size: 1rem; }
.section { padding: 48px 16px; }
h2 { font-size: 1.4rem; }
.features-grid { grid-template-columns: 1fr; }
.next-grid { grid-template-columns: 1fr; }
.nav-links { display: none; }
.arch-diagram { font-size: 0.65rem; padding: 14px 16px; }
}