@janldeboer/style-baseline 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +22 -0
- package/src/components.css +451 -0
- package/src/design-tokens.css +48 -0
- package/src/index.css +7 -0
- package/src/layout.css +106 -0
- package/src/navigation.css +161 -0
- package/src/reset.css +96 -0
- package/src/typography.css +120 -0
- package/src/utilities.css +3 -0
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@janldeboer/style-baseline",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": "./src/index.css",
|
|
7
|
+
"./design-tokens": "./src/design-tokens.css",
|
|
8
|
+
"./reset": "./src/reset.css",
|
|
9
|
+
"./typography": "./src/typography.css",
|
|
10
|
+
"./layout": "./src/layout.css",
|
|
11
|
+
"./components": "./src/components.css",
|
|
12
|
+
"./navigation": "./src/navigation.css",
|
|
13
|
+
"./utilities": "./src/utilities.css"
|
|
14
|
+
},
|
|
15
|
+
"main": "./src/index.css",
|
|
16
|
+
"files": [
|
|
17
|
+
"src/"
|
|
18
|
+
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
.btn {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
gap: 0.5rem;
|
|
6
|
+
font-family: var(--mono);
|
|
7
|
+
font-size: 0.78rem;
|
|
8
|
+
letter-spacing: 0.06em;
|
|
9
|
+
text-transform: uppercase;
|
|
10
|
+
padding: 0.55rem 1.1rem;
|
|
11
|
+
border-radius: 0;
|
|
12
|
+
border: 3px solid var(--ink-2);
|
|
13
|
+
background: var(--bg);
|
|
14
|
+
color: var(--ink);
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
transition:
|
|
17
|
+
background 0.15s,
|
|
18
|
+
border-color 0.15s,
|
|
19
|
+
color 0.15s,
|
|
20
|
+
transform 0.1s;
|
|
21
|
+
white-space: nowrap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.btn:hover {
|
|
25
|
+
background: var(--surface);
|
|
26
|
+
border-color: var(--accent);
|
|
27
|
+
color: var(--ink);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.btn:active {
|
|
31
|
+
transform: translateY(1px);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.btn:disabled {
|
|
35
|
+
opacity: 0.5;
|
|
36
|
+
cursor: not-allowed;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.btn-primary {
|
|
40
|
+
background: var(--accent);
|
|
41
|
+
border-color: var(--accent);
|
|
42
|
+
color: var(--accent-ink);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.btn-primary:hover {
|
|
46
|
+
background: var(--accent-2);
|
|
47
|
+
border-color: var(--accent-2);
|
|
48
|
+
color: var(--accent-ink);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.btn-ghost {
|
|
52
|
+
background: transparent;
|
|
53
|
+
border-color: transparent;
|
|
54
|
+
color: var(--ink-2);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.btn-ghost:hover {
|
|
58
|
+
background: var(--surface);
|
|
59
|
+
color: var(--ink);
|
|
60
|
+
border-color: var(--ink-2);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.btn-danger {
|
|
64
|
+
background: transparent;
|
|
65
|
+
border-color: var(--ink-2);
|
|
66
|
+
color: var(--danger);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.btn-danger:hover {
|
|
70
|
+
background: color-mix(in srgb, var(--danger) 10%, transparent);
|
|
71
|
+
border-color: var(--danger);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.btn-block {
|
|
75
|
+
width: 100%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.btn-sm {
|
|
79
|
+
padding: 0.35rem 0.75rem;
|
|
80
|
+
font-size: 0.7rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.card {
|
|
84
|
+
background: var(--surface);
|
|
85
|
+
border: 3px solid var(--ink-2);
|
|
86
|
+
border-radius: 0;
|
|
87
|
+
padding: 1.5rem;
|
|
88
|
+
transition:
|
|
89
|
+
border-color 0.15s,
|
|
90
|
+
background 0.15s;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.card:hover {
|
|
94
|
+
border-color: var(--accent);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.card-header {
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: flex-start;
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
gap: 1rem;
|
|
102
|
+
margin-bottom: 1rem;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.card-title {
|
|
106
|
+
font-size: 1.15rem;
|
|
107
|
+
margin: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.card-body {
|
|
111
|
+
color: var(--ink-2);
|
|
112
|
+
font-size: 0.95rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.card-footer {
|
|
116
|
+
margin-top: 1.25rem;
|
|
117
|
+
display: flex;
|
|
118
|
+
gap: 0.5rem;
|
|
119
|
+
align-items: center;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.tag {
|
|
123
|
+
display: inline-flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
gap: 0.4rem;
|
|
126
|
+
font-family: var(--mono);
|
|
127
|
+
font-size: 0.68rem;
|
|
128
|
+
letter-spacing: 0.08em;
|
|
129
|
+
text-transform: uppercase;
|
|
130
|
+
padding: 0.2em 0.65em;
|
|
131
|
+
border-radius: 0;
|
|
132
|
+
border: 3px solid var(--ink-2);
|
|
133
|
+
color: var(--ink-2);
|
|
134
|
+
background: transparent;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.tag-accent {
|
|
138
|
+
color: var(--accent);
|
|
139
|
+
border-color: var(--accent);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.tag-success {
|
|
143
|
+
color: var(--success);
|
|
144
|
+
border-color: color-mix(in srgb, var(--success) 70%, var(--ink-2));
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.tag-warn {
|
|
148
|
+
color: var(--warning);
|
|
149
|
+
border-color: color-mix(in srgb, var(--warning) 70%, var(--ink-2));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.tag-error {
|
|
153
|
+
color: var(--danger);
|
|
154
|
+
border-color: color-mix(in srgb, var(--danger) 70%, var(--ink-2));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.tag-info {
|
|
158
|
+
color: var(--info);
|
|
159
|
+
border-color: color-mix(in srgb, var(--info) 70%, var(--ink-2));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.tag-muted {
|
|
163
|
+
color: var(--ink-3);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.callout {
|
|
167
|
+
background: var(--surface);
|
|
168
|
+
border: 3px solid var(--ink-2);
|
|
169
|
+
border-left: 4px solid var(--accent);
|
|
170
|
+
border-radius: 0;
|
|
171
|
+
padding: 1rem 1.25rem;
|
|
172
|
+
color: var(--ink-2);
|
|
173
|
+
font-size: 0.95rem;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.callout strong {
|
|
177
|
+
display: block;
|
|
178
|
+
font-family: var(--mono);
|
|
179
|
+
font-size: 0.7rem;
|
|
180
|
+
letter-spacing: 0.1em;
|
|
181
|
+
text-transform: uppercase;
|
|
182
|
+
color: var(--accent);
|
|
183
|
+
margin-bottom: 0.4rem;
|
|
184
|
+
font-weight: 500;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.callout-warn {
|
|
188
|
+
border-left-color: var(--warning);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.callout-warn strong {
|
|
192
|
+
color: var(--warning);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.callout-error {
|
|
196
|
+
border-left-color: var(--danger);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.callout-error strong {
|
|
200
|
+
color: var(--danger);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.callout-success {
|
|
204
|
+
border-left-color: var(--success);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.callout-success strong {
|
|
208
|
+
color: var(--success);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.callout-info {
|
|
212
|
+
border-left-color: var(--info);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.callout-info strong {
|
|
216
|
+
color: var(--info);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.spinner {
|
|
220
|
+
width: 28px;
|
|
221
|
+
height: 28px;
|
|
222
|
+
border: 3px solid var(--ink-2);
|
|
223
|
+
border-top-color: var(--accent);
|
|
224
|
+
border-radius: 50%;
|
|
225
|
+
animation: spin 0.9s linear infinite;
|
|
226
|
+
margin: 0 auto 1rem;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@keyframes spin {
|
|
230
|
+
to {
|
|
231
|
+
transform: rotate(360deg);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.table {
|
|
236
|
+
width: 100%;
|
|
237
|
+
border-collapse: collapse;
|
|
238
|
+
font-size: 0.92rem;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.table th,
|
|
242
|
+
.table td {
|
|
243
|
+
text-align: left;
|
|
244
|
+
padding: 0.6rem 0.8rem;
|
|
245
|
+
border-bottom: 3px solid var(--ink-2);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.table th {
|
|
249
|
+
font-family: var(--mono);
|
|
250
|
+
font-size: 0.7rem;
|
|
251
|
+
letter-spacing: 0.08em;
|
|
252
|
+
text-transform: uppercase;
|
|
253
|
+
color: var(--ink-3);
|
|
254
|
+
font-weight: 500;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.table tr:hover td {
|
|
258
|
+
background: var(--surface);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.field {
|
|
262
|
+
display: flex;
|
|
263
|
+
flex-direction: column;
|
|
264
|
+
gap: 0.4rem;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.label {
|
|
268
|
+
font-family: var(--mono);
|
|
269
|
+
font-size: 0.7rem;
|
|
270
|
+
letter-spacing: 0.1em;
|
|
271
|
+
text-transform: uppercase;
|
|
272
|
+
color: var(--ink-3);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.help {
|
|
276
|
+
font-size: 0.85rem;
|
|
277
|
+
color: var(--ink-3);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.detail-row {
|
|
281
|
+
display: flex;
|
|
282
|
+
align-items: center;
|
|
283
|
+
gap: 0.6rem;
|
|
284
|
+
font-size: 0.9rem;
|
|
285
|
+
color: var(--ink-2);
|
|
286
|
+
padding: 0.35rem 0;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.detail-row .icon {
|
|
290
|
+
width: 1.2rem;
|
|
291
|
+
text-align: center;
|
|
292
|
+
color: var(--ink-3);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.detail-row .text {
|
|
296
|
+
overflow: hidden;
|
|
297
|
+
text-overflow: ellipsis;
|
|
298
|
+
white-space: nowrap;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.detail-row.pending {
|
|
302
|
+
color: var(--ink-3);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.detail-row.success {
|
|
306
|
+
color: var(--success);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.empty {
|
|
310
|
+
text-align: center;
|
|
311
|
+
padding: 4rem 2rem;
|
|
312
|
+
background: var(--surface);
|
|
313
|
+
border: 3px dashed var(--ink-2);
|
|
314
|
+
border-radius: 0;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.empty h2 {
|
|
318
|
+
margin-bottom: 0.5rem;
|
|
319
|
+
color: var(--ink);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.empty p {
|
|
323
|
+
color: var(--ink-2);
|
|
324
|
+
margin-bottom: 1.5rem;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.steps {
|
|
328
|
+
list-style: none;
|
|
329
|
+
display: flex;
|
|
330
|
+
flex-direction: column;
|
|
331
|
+
gap: 0;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.step {
|
|
335
|
+
display: grid;
|
|
336
|
+
grid-template-columns: 2.5rem 1fr auto;
|
|
337
|
+
gap: 1rem;
|
|
338
|
+
padding: 1.25rem 0;
|
|
339
|
+
border-bottom: 3px solid var(--ink-2);
|
|
340
|
+
align-items: start;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.step:last-child {
|
|
344
|
+
border-bottom: none;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.step-num {
|
|
348
|
+
font-family: var(--mono);
|
|
349
|
+
font-size: 0.78rem;
|
|
350
|
+
color: var(--ink-3);
|
|
351
|
+
padding-top: 0.15rem;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.step-title {
|
|
355
|
+
font-size: 1rem;
|
|
356
|
+
margin: 0 0 0.3rem;
|
|
357
|
+
color: var(--ink);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.step-message {
|
|
361
|
+
color: var(--ink-2);
|
|
362
|
+
font-size: 0.9rem;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.step.complete .step-num {
|
|
366
|
+
color: var(--success);
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.step.blocked .step-num {
|
|
370
|
+
color: var(--danger);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.page-header {
|
|
374
|
+
padding: 3.5rem 0 2rem;
|
|
375
|
+
border-bottom: 3px solid var(--ink-2);
|
|
376
|
+
margin-bottom: 2.5rem;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.page-header h1 {
|
|
380
|
+
margin-bottom: 0.5rem;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.page-header .lede {
|
|
384
|
+
margin-top: 0.75rem;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.dot {
|
|
388
|
+
width: 6px;
|
|
389
|
+
height: 6px;
|
|
390
|
+
border-radius: 50%;
|
|
391
|
+
display: inline-block;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.dot-success {
|
|
395
|
+
background: var(--success);
|
|
396
|
+
box-shadow: 0 0 6px color-mix(in srgb, var(--success) 50%, transparent);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.dot-warn {
|
|
400
|
+
background: var(--warning);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.dot-error {
|
|
404
|
+
background: var(--danger);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.dot-info {
|
|
408
|
+
background: var(--info);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.dot-muted {
|
|
412
|
+
background: var(--ink-3);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.auth-shell {
|
|
416
|
+
min-height: 100vh;
|
|
417
|
+
display: flex;
|
|
418
|
+
align-items: center;
|
|
419
|
+
justify-content: center;
|
|
420
|
+
padding: 3rem 1.5rem;
|
|
421
|
+
background: var(--bg);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.auth-card {
|
|
425
|
+
background: var(--surface);
|
|
426
|
+
border: 3px solid var(--ink-2);
|
|
427
|
+
border-radius: 0;
|
|
428
|
+
padding: 2.5rem;
|
|
429
|
+
width: 100%;
|
|
430
|
+
max-width: 420px;
|
|
431
|
+
box-shadow: 0 8px 30px color-mix(in srgb, var(--ink) 8%, transparent);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.auth-title {
|
|
435
|
+
text-align: center;
|
|
436
|
+
margin-bottom: 0.5rem;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.auth-subtitle {
|
|
440
|
+
text-align: center;
|
|
441
|
+
color: var(--ink-3);
|
|
442
|
+
margin-bottom: 2rem;
|
|
443
|
+
font-size: 0.95rem;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.auth-footer {
|
|
447
|
+
text-align: center;
|
|
448
|
+
margin-top: 1.5rem;
|
|
449
|
+
font-size: 0.9rem;
|
|
450
|
+
color: var(--ink-3);
|
|
451
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--bg: #ffffff;
|
|
3
|
+
--surface: #f2f2f2;
|
|
4
|
+
--surface-2: #e0e0e0;
|
|
5
|
+
--ink: #000000;
|
|
6
|
+
--ink-2: #333333;
|
|
7
|
+
--ink-3: #808080;
|
|
8
|
+
|
|
9
|
+
/* ── EINZIGE STELLSCHRAUBE ── */
|
|
10
|
+
--accent-hue: 214;
|
|
11
|
+
|
|
12
|
+
--accent: hsl(var(--accent-hue) 80% 50%);
|
|
13
|
+
--accent-2: hsl(var(--accent-hue) 90% 65%);
|
|
14
|
+
--accent-3: hsl(var(--accent-hue) 90% 85%);
|
|
15
|
+
--accent-ink: #ffffff;
|
|
16
|
+
|
|
17
|
+
--success: #008033;
|
|
18
|
+
--warning: #b86000;
|
|
19
|
+
--danger: #cc0033;
|
|
20
|
+
--info: #0055cc;
|
|
21
|
+
|
|
22
|
+
--sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
|
|
23
|
+
--serif: 'Lora', Georgia, 'Times New Roman', serif;
|
|
24
|
+
--mono: 'DM Mono', 'JetBrains Mono', ui-monospace, monospace;
|
|
25
|
+
--col: 720px;
|
|
26
|
+
--wide: 1200px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (prefers-color-scheme: dark) {
|
|
30
|
+
:root {
|
|
31
|
+
--bg: #000000;
|
|
32
|
+
--surface: #141414;
|
|
33
|
+
--surface-2: #262626;
|
|
34
|
+
--ink: #ffffff;
|
|
35
|
+
--ink-2: #bcbcbc;
|
|
36
|
+
--ink-3: #6b6b6b;
|
|
37
|
+
|
|
38
|
+
--accent: hsl(var(--accent-hue) 90% 65%);
|
|
39
|
+
--accent-2: hsl(var(--accent-hue) 90% 80%);
|
|
40
|
+
--accent-3: hsl(var(--accent-hue) 65% 50%);
|
|
41
|
+
--accent-ink: #000000;
|
|
42
|
+
|
|
43
|
+
--success: #00cc55;
|
|
44
|
+
--warning: #ff9933;
|
|
45
|
+
--danger: #ff3366;
|
|
46
|
+
--info: #3399ff;
|
|
47
|
+
}
|
|
48
|
+
}
|
package/src/index.css
ADDED
package/src/layout.css
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
.app {
|
|
2
|
+
min-height: 100vh;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.container {
|
|
8
|
+
max-width: var(--wide);
|
|
9
|
+
margin: 0 auto;
|
|
10
|
+
padding: 0 2rem;
|
|
11
|
+
width: 100%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.container-narrow {
|
|
15
|
+
max-width: var(--col);
|
|
16
|
+
margin: 0 auto;
|
|
17
|
+
padding: 0 1.5rem;
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.container-wide {
|
|
22
|
+
max-width: var(--wide);
|
|
23
|
+
margin: 0 auto;
|
|
24
|
+
padding: 0 2rem;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.stack {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: 1rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.stack-sm {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: 0.5rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.stack-lg {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
gap: 1.75rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.row {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
gap: 1rem;
|
|
50
|
+
flex-wrap: wrap;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.row-between {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
gap: 1rem;
|
|
58
|
+
flex-wrap: wrap;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.spacer {
|
|
62
|
+
flex: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.grid {
|
|
66
|
+
display: grid;
|
|
67
|
+
gap: 1.5rem;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.grid-cards {
|
|
71
|
+
display: grid;
|
|
72
|
+
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
73
|
+
gap: 1.25rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.center {
|
|
77
|
+
text-align: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.vh-center {
|
|
81
|
+
min-height: 60vh;
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
gap: 0.5rem;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (max-width: 768px) {
|
|
90
|
+
html {
|
|
91
|
+
font-size: 15px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.container,
|
|
95
|
+
.container-wide {
|
|
96
|
+
padding: 0 1rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.container-narrow {
|
|
100
|
+
padding: 0 1rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.grid-cards {
|
|
104
|
+
grid-template-columns: 1fr;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
.nav {
|
|
2
|
+
position: sticky;
|
|
3
|
+
top: 0;
|
|
4
|
+
z-index: 50;
|
|
5
|
+
background: color-mix(in srgb, var(--bg) 88%, transparent);
|
|
6
|
+
backdrop-filter: blur(12px);
|
|
7
|
+
-webkit-backdrop-filter: blur(12px);
|
|
8
|
+
border-bottom: 3px solid var(--ink-2);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.nav-inner {
|
|
12
|
+
max-width: var(--wide);
|
|
13
|
+
margin: 0 auto;
|
|
14
|
+
padding: 0.85rem 2rem;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
gap: 1.5rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.nav-brand {
|
|
22
|
+
font-family: var(--mono);
|
|
23
|
+
font-size: 0.78rem;
|
|
24
|
+
letter-spacing: 0.14em;
|
|
25
|
+
text-transform: uppercase;
|
|
26
|
+
color: var(--ink);
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
font-weight: 500;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.nav-brand:hover {
|
|
32
|
+
color: var(--accent-2);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.nav-links {
|
|
36
|
+
display: flex;
|
|
37
|
+
gap: 1.5rem;
|
|
38
|
+
list-style: none;
|
|
39
|
+
align-items: center;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.nav-links a {
|
|
43
|
+
font-family: var(--mono);
|
|
44
|
+
font-size: 0.7rem;
|
|
45
|
+
letter-spacing: 0.1em;
|
|
46
|
+
text-transform: uppercase;
|
|
47
|
+
color: var(--ink-3);
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
transition: color 0.15s;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.nav-links a:hover {
|
|
53
|
+
color: var(--ink);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.nav-links a.active {
|
|
57
|
+
color: var(--accent);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.user-menu {
|
|
61
|
+
position: relative;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.user-button {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
gap: 0.6rem;
|
|
68
|
+
background: transparent;
|
|
69
|
+
border: 3px solid var(--ink-2);
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
padding: 0.35rem 0.7rem;
|
|
72
|
+
transition:
|
|
73
|
+
border-color 0.15s,
|
|
74
|
+
background 0.15s;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.user-button:hover {
|
|
78
|
+
border-color: var(--accent);
|
|
79
|
+
background: var(--surface);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.user-avatar {
|
|
83
|
+
width: 26px;
|
|
84
|
+
height: 26px;
|
|
85
|
+
border-radius: 50%;
|
|
86
|
+
background: var(--accent);
|
|
87
|
+
color: var(--accent-ink);
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
justify-content: center;
|
|
91
|
+
font-weight: 600;
|
|
92
|
+
font-size: 0.78rem;
|
|
93
|
+
font-family: var(--mono);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.user-email {
|
|
97
|
+
color: var(--ink-2);
|
|
98
|
+
font-family: var(--mono);
|
|
99
|
+
font-size: 0.78rem;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.dropdown {
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: calc(100% + 0.5rem);
|
|
105
|
+
right: 0;
|
|
106
|
+
background: var(--surface);
|
|
107
|
+
border: 3px solid var(--ink-2);
|
|
108
|
+
border-radius: 0;
|
|
109
|
+
min-width: 220px;
|
|
110
|
+
padding: 0.5rem 0;
|
|
111
|
+
box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 12%, transparent);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.dropdown-item {
|
|
115
|
+
display: block;
|
|
116
|
+
width: 100%;
|
|
117
|
+
padding: 0.55rem 1rem;
|
|
118
|
+
text-align: left;
|
|
119
|
+
background: none;
|
|
120
|
+
border: none;
|
|
121
|
+
color: var(--ink-2);
|
|
122
|
+
font-size: 0.9rem;
|
|
123
|
+
transition:
|
|
124
|
+
background 0.15s,
|
|
125
|
+
color 0.15s;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.dropdown-item:hover {
|
|
129
|
+
background: var(--surface-2);
|
|
130
|
+
color: var(--ink);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.dropdown-item.user-info {
|
|
134
|
+
cursor: default;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.dropdown-item.user-info:hover {
|
|
138
|
+
background: none;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.dropdown-divider {
|
|
142
|
+
height: 1px;
|
|
143
|
+
background: var(--ink-2);
|
|
144
|
+
margin: 0.4rem 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.user-name {
|
|
148
|
+
color: var(--ink);
|
|
149
|
+
font-weight: 500;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.user-email-small {
|
|
153
|
+
font-size: 0.8rem;
|
|
154
|
+
color: var(--ink-3);
|
|
155
|
+
font-family: var(--mono);
|
|
156
|
+
margin-top: 0.15rem;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.nav-links .nav-link {
|
|
160
|
+
position: relative;
|
|
161
|
+
}
|
package/src/reset.css
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
*,
|
|
2
|
+
*::before,
|
|
3
|
+
*::after {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
html {
|
|
10
|
+
font-size: 16px;
|
|
11
|
+
scroll-behavior: smooth;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
body {
|
|
15
|
+
background: var(--bg);
|
|
16
|
+
color: var(--ink);
|
|
17
|
+
font-family: var(--serif);
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
line-height: 1.65;
|
|
20
|
+
-webkit-font-smoothing: antialiased;
|
|
21
|
+
overflow-x: clip;
|
|
22
|
+
min-height: 100vh;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
button,
|
|
26
|
+
input,
|
|
27
|
+
select,
|
|
28
|
+
textarea {
|
|
29
|
+
font: inherit;
|
|
30
|
+
color: inherit;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
button {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
input,
|
|
38
|
+
textarea,
|
|
39
|
+
select {
|
|
40
|
+
background: var(--bg);
|
|
41
|
+
border: 3px solid var(--ink-2);
|
|
42
|
+
color: var(--ink);
|
|
43
|
+
padding: 0.55rem 0.8rem;
|
|
44
|
+
border-radius: 0;
|
|
45
|
+
width: 100%;
|
|
46
|
+
transition:
|
|
47
|
+
border-color 0.15s,
|
|
48
|
+
background 0.15s;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
input:focus,
|
|
52
|
+
textarea:focus,
|
|
53
|
+
select:focus {
|
|
54
|
+
outline: none;
|
|
55
|
+
border-color: var(--accent);
|
|
56
|
+
background: var(--bg);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
input::placeholder,
|
|
60
|
+
textarea::placeholder {
|
|
61
|
+
color: var(--ink-3);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
input:disabled,
|
|
65
|
+
textarea:disabled,
|
|
66
|
+
select:disabled,
|
|
67
|
+
button:disabled {
|
|
68
|
+
opacity: 0.55;
|
|
69
|
+
cursor: not-allowed;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:focus-visible {
|
|
73
|
+
outline: 3px solid var(--accent);
|
|
74
|
+
outline-offset: 2px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
hr {
|
|
78
|
+
border: 0;
|
|
79
|
+
border-top: 3px solid var(--ink-2);
|
|
80
|
+
margin: 1.5rem 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
::selection {
|
|
84
|
+
background: color-mix(in srgb, var(--accent) 30%, transparent);
|
|
85
|
+
color: var(--ink);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@media (prefers-reduced-motion: reduce) {
|
|
89
|
+
*,
|
|
90
|
+
*::before,
|
|
91
|
+
*::after {
|
|
92
|
+
animation-duration: 0.01ms !important;
|
|
93
|
+
transition-duration: 0.01ms !important;
|
|
94
|
+
scroll-behavior: auto !important;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
a {
|
|
2
|
+
color: var(--accent);
|
|
3
|
+
text-decoration: underline;
|
|
4
|
+
text-underline-offset: 3px;
|
|
5
|
+
text-decoration-thickness: 3px;
|
|
6
|
+
text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
|
|
7
|
+
transition:
|
|
8
|
+
text-decoration-color 0.15s,
|
|
9
|
+
color 0.15s;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
a:hover {
|
|
13
|
+
text-decoration-color: var(--accent);
|
|
14
|
+
color: var(--accent-2);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
h1,
|
|
18
|
+
h2,
|
|
19
|
+
h3,
|
|
20
|
+
h4,
|
|
21
|
+
h5,
|
|
22
|
+
h6 {
|
|
23
|
+
font-family: var(--serif);
|
|
24
|
+
font-weight: 800;
|
|
25
|
+
line-height: 1.15;
|
|
26
|
+
color: var(--ink);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
h1 {
|
|
30
|
+
font-size: clamp(2rem, 5vw, 3rem);
|
|
31
|
+
letter-spacing: -0.02em;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h2 {
|
|
35
|
+
font-size: 1.5rem;
|
|
36
|
+
margin-bottom: 0.75rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
h3 {
|
|
40
|
+
font-size: 1.15rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
p {
|
|
44
|
+
color: var(--ink);
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
p + p {
|
|
49
|
+
margin-top: 0.75rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
code,
|
|
53
|
+
pre,
|
|
54
|
+
kbd {
|
|
55
|
+
font-family: var(--mono);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
code {
|
|
59
|
+
font-size: 0.85em;
|
|
60
|
+
background: var(--surface);
|
|
61
|
+
padding: 0.15em 0.4em;
|
|
62
|
+
border-radius: 0;
|
|
63
|
+
border: 3px solid var(--ink-2);
|
|
64
|
+
color: var(--ink);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
pre {
|
|
68
|
+
background: var(--surface);
|
|
69
|
+
border: 3px solid var(--ink-2);
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
padding: 1rem 1.25rem;
|
|
72
|
+
overflow-x: auto;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
pre code {
|
|
76
|
+
background: none;
|
|
77
|
+
border: none;
|
|
78
|
+
padding: 0;
|
|
79
|
+
font-size: 0.82rem;
|
|
80
|
+
line-height: 1.6;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.lede {
|
|
84
|
+
font-size: 1.1rem;
|
|
85
|
+
line-height: 1.6;
|
|
86
|
+
color: var(--ink-2);
|
|
87
|
+
max-width: 56ch;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.eyebrow {
|
|
91
|
+
font-family: var(--mono);
|
|
92
|
+
font-size: 0.72rem;
|
|
93
|
+
letter-spacing: 0.12em;
|
|
94
|
+
text-transform: uppercase;
|
|
95
|
+
color: var(--ink-3);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.mono {
|
|
99
|
+
font-family: var(--mono);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.serif {
|
|
103
|
+
font-family: var(--serif);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.muted {
|
|
107
|
+
color: var(--ink-2);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.subtle {
|
|
111
|
+
color: var(--ink-3);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.divider {
|
|
115
|
+
text-align: center;
|
|
116
|
+
margin: 2.5rem 0;
|
|
117
|
+
color: var(--ink-3);
|
|
118
|
+
letter-spacing: 0.3em;
|
|
119
|
+
font-size: 0.8rem;
|
|
120
|
+
}
|