@cicord/ui 0.0.0-bootstrap.0 → 0.1.0

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.
@@ -0,0 +1,689 @@
1
+ /* @cicord/ui — styles. Import once: `import "@cicord/ui/styles.css"`.
2
+ * Every color derives from a few tokens; the server theme sets --cicord-primary / --cicord-accent
3
+ * (and their computed foregrounds) through <ThemeProvider>. */
4
+
5
+ .cicord-root {
6
+ --cicord-font-display:
7
+ "Bricolage Grotesque Variable", "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
8
+ --cicord-font-body:
9
+ "Atkinson Hyperlegible Next Variable", "Atkinson Hyperlegible Next", ui-sans-serif, system-ui,
10
+ -apple-system, "Segoe UI", sans-serif;
11
+
12
+ --cicord-primary: #5865f2;
13
+ --cicord-primary-fg: #ffffff;
14
+ --cicord-primary-text: #8f98ff;
15
+ --cicord-accent: #eb459e;
16
+ --cicord-accent-fg: #ffffff;
17
+ --cicord-accent-text: #f27bbd;
18
+
19
+ --cicord-success: #3ba55d;
20
+ --cicord-danger: #ed4245;
21
+
22
+ --cicord-radius-sm: 8px;
23
+ --cicord-radius-md: 12px;
24
+ --cicord-radius-lg: 16px;
25
+ --cicord-radius-xl: 24px;
26
+
27
+ --cicord-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
28
+ --cicord-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
29
+ }
30
+
31
+ /* Dark is the default palette (Discord-like). */
32
+ .cicord-root,
33
+ .cicord-root[data-cicord-mode="dark"],
34
+ [data-cicord-mode="dark"] .cicord-root {
35
+ --cicord-bg: #16171f;
36
+ --cicord-surface: #1b1d26;
37
+ --cicord-raised: #232633;
38
+ --cicord-sunken: #121319;
39
+ --cicord-line: rgb(255 255 255 / 0.08);
40
+ --cicord-line-strong: rgb(255 255 255 / 0.16);
41
+ --cicord-text: #eceef5;
42
+ --cicord-muted: #a3a9c0;
43
+ --cicord-subtle: #737a94;
44
+ --cicord-shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 18px 40px -18px rgb(0 0 0 / 0.65);
45
+ --cicord-danger-text: #ff8a8c;
46
+ --cicord-success-text: #6fd394;
47
+ color-scheme: dark;
48
+ }
49
+
50
+ .cicord-root[data-cicord-mode="light"],
51
+ [data-cicord-mode="light"] .cicord-root {
52
+ --cicord-bg: #f2f3f7;
53
+ --cicord-surface: #ffffff;
54
+ --cicord-raised: #f7f8fb;
55
+ --cicord-sunken: #e8eaf1;
56
+ --cicord-line: rgb(22 26 45 / 0.1);
57
+ --cicord-line-strong: rgb(22 26 45 / 0.2);
58
+ --cicord-text: #191b24;
59
+ --cicord-muted: #565c72;
60
+ --cicord-subtle: #7d8399;
61
+ --cicord-shadow: 0 1px 2px rgb(22 26 45 / 0.06), 0 16px 36px -20px rgb(22 26 45 / 0.28);
62
+ --cicord-danger-text: #c42b2e;
63
+ --cicord-success-text: #23804a;
64
+ color-scheme: light;
65
+ }
66
+
67
+ .cicord-root {
68
+ color: var(--cicord-text);
69
+ font-family: var(--cicord-font-body);
70
+ font-size: 1rem;
71
+ line-height: 1.5;
72
+ -webkit-font-smoothing: antialiased;
73
+ }
74
+
75
+ html.cicord-root {
76
+ background: var(--cicord-bg);
77
+ }
78
+
79
+ .cicord-root *,
80
+ .cicord-root *::before,
81
+ .cicord-root *::after {
82
+ box-sizing: border-box;
83
+ }
84
+
85
+ .cicord-root :focus-visible {
86
+ outline: 2px solid var(--cicord-primary-text);
87
+ outline-offset: 2px;
88
+ }
89
+
90
+ .cicord-visually-hidden {
91
+ position: absolute !important;
92
+ width: 1px;
93
+ height: 1px;
94
+ padding: 0;
95
+ margin: -1px;
96
+ overflow: hidden;
97
+ clip: rect(0 0 0 0);
98
+ white-space: nowrap;
99
+ border: 0;
100
+ }
101
+
102
+ /* ─────────────────────────────────────────────── Spinner */
103
+
104
+ .cicord-spinner {
105
+ display: inline-flex;
106
+ --cicord-spinner-size: 20px;
107
+ }
108
+ .cicord-spinner--sm {
109
+ --cicord-spinner-size: 14px;
110
+ }
111
+ .cicord-spinner--lg {
112
+ --cicord-spinner-size: 32px;
113
+ }
114
+ .cicord-spinner__ring {
115
+ width: var(--cicord-spinner-size);
116
+ height: var(--cicord-spinner-size);
117
+ border-radius: 50%;
118
+ border: max(2px, calc(var(--cicord-spinner-size) / 9)) solid currentColor;
119
+ border-right-color: transparent;
120
+ opacity: 0.85;
121
+ animation: cicord-spin 0.7s linear infinite;
122
+ }
123
+
124
+ @keyframes cicord-spin {
125
+ to {
126
+ transform: rotate(360deg);
127
+ }
128
+ }
129
+
130
+ /* ─────────────────────────────────────────────── Button */
131
+
132
+ .cicord-button {
133
+ --cicord-button-bg: var(--cicord-primary);
134
+ --cicord-button-fg: var(--cicord-primary-fg);
135
+ --cicord-button-border: transparent;
136
+ display: inline-flex;
137
+ align-items: center;
138
+ justify-content: center;
139
+ gap: 0.5em;
140
+ min-height: 44px;
141
+ padding: 0 1.15em;
142
+ border: 1px solid var(--cicord-button-border);
143
+ border-radius: var(--cicord-radius-md);
144
+ background: var(--cicord-button-bg);
145
+ color: var(--cicord-button-fg);
146
+ font: inherit;
147
+ font-weight: 650;
148
+ letter-spacing: 0.005em;
149
+ text-decoration: none;
150
+ cursor: pointer;
151
+ user-select: none;
152
+ transition:
153
+ background-color 0.15s var(--cicord-ease),
154
+ border-color 0.15s var(--cicord-ease),
155
+ transform 0.15s var(--cicord-ease),
156
+ filter 0.15s var(--cicord-ease);
157
+ }
158
+ .cicord-button:hover {
159
+ filter: brightness(1.08);
160
+ }
161
+ .cicord-button:active {
162
+ transform: translateY(1px) scale(0.99);
163
+ }
164
+ .cicord-button:disabled,
165
+ .cicord-button[aria-disabled="true"] {
166
+ cursor: not-allowed;
167
+ opacity: 0.5;
168
+ filter: none;
169
+ transform: none;
170
+ }
171
+ .cicord-button.is-loading {
172
+ opacity: 0.8;
173
+ cursor: progress;
174
+ }
175
+ .cicord-button--sm {
176
+ min-height: 34px;
177
+ padding: 0 0.85em;
178
+ font-size: 0.875rem;
179
+ border-radius: var(--cicord-radius-sm);
180
+ }
181
+ .cicord-button--lg {
182
+ min-height: 52px;
183
+ padding: 0 1.5em;
184
+ font-size: 1.0625rem;
185
+ }
186
+ .cicord-button--block {
187
+ display: flex;
188
+ width: 100%;
189
+ }
190
+ .cicord-button--secondary {
191
+ --cicord-button-bg: var(--cicord-raised);
192
+ --cicord-button-fg: var(--cicord-text);
193
+ --cicord-button-border: var(--cicord-line-strong);
194
+ }
195
+ .cicord-button--ghost {
196
+ --cicord-button-bg: transparent;
197
+ --cicord-button-fg: var(--cicord-muted);
198
+ }
199
+ .cicord-button--ghost:hover {
200
+ --cicord-button-bg: var(--cicord-raised);
201
+ --cicord-button-fg: var(--cicord-text);
202
+ filter: none;
203
+ }
204
+ .cicord-button--danger {
205
+ --cicord-button-bg: var(--cicord-danger);
206
+ --cicord-button-fg: #fff;
207
+ }
208
+ .cicord-button__icon {
209
+ display: inline-flex;
210
+ font-size: 1.15em;
211
+ line-height: 1;
212
+ }
213
+
214
+ /* ─────────────────────────────────────────────── Card */
215
+
216
+ .cicord-card {
217
+ background: var(--cicord-surface);
218
+ border: 1px solid var(--cicord-line);
219
+ border-radius: var(--cicord-radius-xl);
220
+ box-shadow: var(--cicord-shadow);
221
+ }
222
+ .cicord-card--inset {
223
+ background: var(--cicord-sunken);
224
+ box-shadow: none;
225
+ border-radius: var(--cicord-radius-lg);
226
+ }
227
+ .cicord-card--pad-sm {
228
+ padding: 12px;
229
+ }
230
+ .cicord-card--pad-md {
231
+ padding: clamp(16px, 3vw, 24px);
232
+ }
233
+ .cicord-card--pad-lg {
234
+ padding: clamp(20px, 5vw, 40px);
235
+ }
236
+
237
+ /* ─────────────────────────────────────────────── Avatar */
238
+
239
+ .cicord-avatar {
240
+ --cicord-avatar-size: 40px;
241
+ position: relative;
242
+ display: inline-flex;
243
+ flex: none;
244
+ width: var(--cicord-avatar-size);
245
+ height: var(--cicord-avatar-size);
246
+ border-radius: 50%;
247
+ overflow: hidden;
248
+ background: hsl(var(--cicord-avatar-hue, 230) 55% 46%);
249
+ color: #fff;
250
+ }
251
+ .cicord-avatar img {
252
+ width: 100%;
253
+ height: 100%;
254
+ object-fit: cover;
255
+ }
256
+ .cicord-avatar__initials {
257
+ display: grid;
258
+ place-items: center;
259
+ width: 100%;
260
+ font-family: var(--cicord-font-display);
261
+ font-weight: 700;
262
+ font-size: calc(var(--cicord-avatar-size) * 0.38);
263
+ letter-spacing: 0.02em;
264
+ }
265
+ .cicord-avatar--ring {
266
+ box-shadow:
267
+ 0 0 0 2px var(--cicord-bg),
268
+ 0 0 0 4px var(--cicord-avatar-ring);
269
+ }
270
+
271
+ /* ─────────────────────────────────────────────── RoleChip */
272
+
273
+ .cicord-role-chip {
274
+ --cicord-role: var(--cicord-subtle);
275
+ display: inline-flex;
276
+ align-items: center;
277
+ gap: 6px;
278
+ max-width: 100%;
279
+ padding: 3px 10px 3px 8px;
280
+ border-radius: 999px;
281
+ border: 1px solid color-mix(in oklab, var(--cicord-role) 45%, var(--cicord-line));
282
+ background: color-mix(in oklab, var(--cicord-role) 12%, var(--cicord-raised));
283
+ color: var(--cicord-text);
284
+ font-size: 0.875rem;
285
+ font-weight: 600;
286
+ line-height: 1.3;
287
+ white-space: nowrap;
288
+ overflow: hidden;
289
+ text-overflow: ellipsis;
290
+ }
291
+ .cicord-role-chip--sm {
292
+ font-size: 0.8125rem;
293
+ padding: 2px 9px 2px 7px;
294
+ }
295
+ .cicord-role-chip__dot {
296
+ flex: none;
297
+ width: 10px;
298
+ height: 10px;
299
+ border-radius: 50%;
300
+ background: var(--cicord-role);
301
+ }
302
+ .cicord-role-chip.is-fresh {
303
+ animation: cicord-chip-in 0.45s var(--cicord-ease-spring) both;
304
+ }
305
+ .cicord-role-chip.is-fresh .cicord-role-chip__dot {
306
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--cicord-role) 30%, transparent);
307
+ }
308
+
309
+ @keyframes cicord-chip-in {
310
+ from {
311
+ opacity: 0;
312
+ transform: scale(0.6);
313
+ }
314
+ }
315
+
316
+ /* ─────────────────────────────────────────────── ChoiceTile */
317
+
318
+ .cicord-choice-group {
319
+ display: grid;
320
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
321
+ gap: 12px;
322
+ }
323
+
324
+ .cicord-choice {
325
+ --cicord-role: var(--cicord-primary);
326
+ position: relative;
327
+ display: flex;
328
+ align-items: center;
329
+ gap: 14px;
330
+ width: 100%;
331
+ min-height: 76px;
332
+ padding: 14px 16px;
333
+ border: 1.5px solid var(--cicord-line-strong);
334
+ border-radius: var(--cicord-radius-lg);
335
+ background: var(--cicord-surface);
336
+ color: var(--cicord-text);
337
+ font: inherit;
338
+ text-align: left;
339
+ cursor: pointer;
340
+ transition:
341
+ border-color 0.18s var(--cicord-ease),
342
+ background-color 0.18s var(--cicord-ease),
343
+ box-shadow 0.18s var(--cicord-ease),
344
+ transform 0.18s var(--cicord-ease);
345
+ }
346
+ .cicord-choice:hover {
347
+ border-color: color-mix(in oklab, var(--cicord-role) 55%, var(--cicord-line-strong));
348
+ }
349
+ .cicord-choice:active {
350
+ transform: scale(0.985);
351
+ }
352
+ .cicord-choice:disabled {
353
+ opacity: 0.5;
354
+ cursor: not-allowed;
355
+ }
356
+ .cicord-choice.is-selected {
357
+ border-color: var(--cicord-role);
358
+ background: color-mix(in oklab, var(--cicord-role) 13%, var(--cicord-surface));
359
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--cicord-role) 22%, transparent);
360
+ }
361
+ .cicord-choice__emoji {
362
+ flex: none;
363
+ display: grid;
364
+ place-items: center;
365
+ width: 46px;
366
+ height: 46px;
367
+ border-radius: var(--cicord-radius-md);
368
+ background: color-mix(in oklab, var(--cicord-role) 18%, var(--cicord-raised));
369
+ font-size: 1.5rem;
370
+ line-height: 1;
371
+ }
372
+ .cicord-choice__dot {
373
+ width: 16px;
374
+ height: 16px;
375
+ border-radius: 50%;
376
+ background: var(--cicord-role);
377
+ }
378
+ .cicord-choice__text {
379
+ display: grid;
380
+ gap: 2px;
381
+ min-width: 0;
382
+ flex: 1;
383
+ }
384
+ .cicord-choice__label {
385
+ font-weight: 700;
386
+ font-size: 1.0625rem;
387
+ line-height: 1.25;
388
+ }
389
+ .cicord-choice__description {
390
+ color: var(--cicord-muted);
391
+ font-size: 0.875rem;
392
+ line-height: 1.4;
393
+ }
394
+ .cicord-choice__mark {
395
+ flex: none;
396
+ display: grid;
397
+ place-items: center;
398
+ width: 22px;
399
+ height: 22px;
400
+ border: 1.5px solid var(--cicord-line-strong);
401
+ color: transparent;
402
+ transition:
403
+ background-color 0.18s var(--cicord-ease),
404
+ border-color 0.18s var(--cicord-ease),
405
+ color 0.18s var(--cicord-ease);
406
+ }
407
+ .cicord-choice__mark.is-check {
408
+ border-radius: 7px;
409
+ }
410
+ .cicord-choice__mark.is-radio {
411
+ border-radius: 50%;
412
+ }
413
+ .cicord-choice.is-selected .cicord-choice__mark {
414
+ border-color: var(--cicord-role);
415
+ background: var(--cicord-role);
416
+ color: var(--cicord-role-fg, var(--cicord-primary-fg));
417
+ }
418
+
419
+ /* ─────────────────────────────────────────────── Stepper */
420
+
421
+ .cicord-stepper ol {
422
+ display: flex;
423
+ gap: 6px;
424
+ margin: 0;
425
+ padding: 0;
426
+ list-style: none;
427
+ }
428
+ .cicord-stepper__step {
429
+ flex: 1;
430
+ min-width: 0;
431
+ }
432
+ .cicord-stepper__step > span,
433
+ .cicord-stepper__step > button {
434
+ display: flex;
435
+ flex-direction: column;
436
+ gap: 8px;
437
+ width: 100%;
438
+ padding: 0;
439
+ border: 0;
440
+ background: none;
441
+ color: var(--cicord-subtle);
442
+ font: inherit;
443
+ text-align: left;
444
+ }
445
+ .cicord-stepper__step > button {
446
+ cursor: pointer;
447
+ }
448
+ .cicord-stepper__step > span::before,
449
+ .cicord-stepper__step > button::before {
450
+ content: "";
451
+ order: -1;
452
+ height: 4px;
453
+ border-radius: 99px;
454
+ background: var(--cicord-line-strong);
455
+ transition: background-color 0.3s var(--cicord-ease);
456
+ }
457
+ .cicord-stepper__step.is-done > *::before {
458
+ background: var(--cicord-primary);
459
+ }
460
+ .cicord-stepper__step.is-current > *::before {
461
+ background: linear-gradient(90deg, var(--cicord-primary), var(--cicord-accent));
462
+ }
463
+ .cicord-stepper__step.is-current > *,
464
+ .cicord-stepper__step.is-done > * {
465
+ color: var(--cicord-text);
466
+ }
467
+ .cicord-stepper__index {
468
+ display: none;
469
+ }
470
+ .cicord-stepper__label {
471
+ overflow: hidden;
472
+ font-size: 0.8125rem;
473
+ font-weight: 600;
474
+ white-space: nowrap;
475
+ text-overflow: ellipsis;
476
+ }
477
+ .cicord-stepper__step.is-todo .cicord-stepper__label {
478
+ font-weight: 500;
479
+ }
480
+ @media (max-width: 560px) {
481
+ .cicord-stepper__step:not(.is-current) .cicord-stepper__label {
482
+ visibility: hidden;
483
+ }
484
+ }
485
+
486
+ /* ─────────────────────────────────────────────── ProgressBar */
487
+
488
+ .cicord-progress {
489
+ height: 6px;
490
+ border-radius: 99px;
491
+ background: var(--cicord-line-strong);
492
+ overflow: hidden;
493
+ }
494
+ .cicord-progress__bar {
495
+ display: block;
496
+ height: 100%;
497
+ border-radius: inherit;
498
+ background: linear-gradient(90deg, var(--cicord-primary), var(--cicord-accent));
499
+ transition: width 0.4s var(--cicord-ease);
500
+ }
501
+
502
+ /* ─────────────────────────────────────────────── Notice */
503
+
504
+ .cicord-notice {
505
+ --cicord-notice: var(--cicord-primary-text);
506
+ display: flex;
507
+ flex-wrap: wrap;
508
+ align-items: center;
509
+ gap: 12px 16px;
510
+ padding: 14px 16px;
511
+ border: 1px solid color-mix(in oklab, var(--cicord-notice) 35%, var(--cicord-line));
512
+ border-left-width: 4px;
513
+ border-radius: var(--cicord-radius-md);
514
+ background: color-mix(in oklab, var(--cicord-notice) 8%, var(--cicord-surface));
515
+ }
516
+ .cicord-notice--error {
517
+ --cicord-notice: var(--cicord-danger-text);
518
+ }
519
+ .cicord-notice--success {
520
+ --cicord-notice: var(--cicord-success-text);
521
+ }
522
+ .cicord-notice__body {
523
+ flex: 1 1 240px;
524
+ }
525
+ .cicord-notice__title {
526
+ margin: 0;
527
+ font-weight: 700;
528
+ }
529
+ .cicord-notice__text {
530
+ color: var(--cicord-muted);
531
+ font-size: 0.9375rem;
532
+ }
533
+ .cicord-notice__text > :first-child {
534
+ margin-top: 0;
535
+ }
536
+ .cicord-notice__text > :last-child {
537
+ margin-bottom: 0;
538
+ }
539
+
540
+ /* ─────────────────────────────────────────────── MemberCard */
541
+
542
+ .cicord-member-card {
543
+ overflow: hidden;
544
+ border: 1px solid var(--cicord-line);
545
+ border-radius: var(--cicord-radius-xl);
546
+ background: var(--cicord-surface);
547
+ box-shadow: var(--cicord-shadow);
548
+ }
549
+ .cicord-member-card__banner {
550
+ height: 84px;
551
+ background:
552
+ radial-gradient(
553
+ 120% 140% at 100% 0%,
554
+ color-mix(in oklab, var(--cicord-accent) 85%, transparent),
555
+ transparent 60%
556
+ ),
557
+ var(--cicord-primary);
558
+ }
559
+ .cicord-member-card__head {
560
+ height: 0;
561
+ padding-left: 18px;
562
+ }
563
+ .cicord-member-card__avatar {
564
+ transform: translateY(-50%);
565
+ box-shadow: 0 0 0 6px var(--cicord-surface);
566
+ }
567
+ .cicord-member-card__body {
568
+ padding: 50px 20px 20px;
569
+ }
570
+ .cicord-member-card__name {
571
+ margin: 0;
572
+ font-family: var(--cicord-font-display);
573
+ font-size: 1.375rem;
574
+ font-weight: 700;
575
+ line-height: 1.2;
576
+ letter-spacing: -0.01em;
577
+ overflow-wrap: anywhere;
578
+ }
579
+ .cicord-member-card__username {
580
+ margin: 2px 0 0;
581
+ color: var(--cicord-muted);
582
+ font-size: 0.9375rem;
583
+ }
584
+ .cicord-member-card__caption {
585
+ margin: 8px 0 0;
586
+ color: var(--cicord-muted);
587
+ font-size: 0.875rem;
588
+ }
589
+ .cicord-member-card__roles {
590
+ margin-top: 16px;
591
+ padding-top: 14px;
592
+ border-top: 1px solid var(--cicord-line);
593
+ }
594
+ .cicord-member-card__roles-title {
595
+ margin: 0 0 10px;
596
+ color: var(--cicord-muted);
597
+ font-size: 0.8125rem;
598
+ font-weight: 700;
599
+ }
600
+ .cicord-member-card__roles ul {
601
+ display: flex;
602
+ flex-wrap: wrap;
603
+ gap: 6px;
604
+ margin: 0;
605
+ padding: 0;
606
+ list-style: none;
607
+ }
608
+ .cicord-member-card__roles li {
609
+ max-width: 100%;
610
+ }
611
+ .cicord-member-card__empty {
612
+ margin: 0;
613
+ color: var(--cicord-subtle);
614
+ font-size: 0.875rem;
615
+ }
616
+
617
+ @media (prefers-reduced-motion: reduce) {
618
+ .cicord-root *,
619
+ .cicord-root *::before,
620
+ .cicord-root *::after {
621
+ animation-duration: 0.01ms !important;
622
+ animation-iteration-count: 1 !important;
623
+ transition-duration: 0.01ms !important;
624
+ }
625
+ .cicord-spinner__ring {
626
+ animation-duration: 1.5s !important;
627
+ animation-iteration-count: infinite !important;
628
+ }
629
+ }
630
+
631
+ /* ───────────────────────────────────────────── Markdown (spec.portal.description) */
632
+
633
+ .cicord-markdown {
634
+ color: var(--cicord-text);
635
+ line-height: 1.65;
636
+ }
637
+ .cicord-markdown > * + * {
638
+ margin-top: 0.85em;
639
+ }
640
+ .cicord-markdown :is(h2, h3, h4, h5) {
641
+ font-family: var(--cicord-font-display);
642
+ line-height: 1.25;
643
+ letter-spacing: -0.01em;
644
+ margin-top: 1.4em;
645
+ }
646
+ .cicord-markdown :is(h2, h3, h4, h5):first-child {
647
+ margin-top: 0;
648
+ }
649
+ .cicord-markdown h2 {
650
+ font-size: 1.35em;
651
+ }
652
+ .cicord-markdown h3 {
653
+ font-size: 1.15em;
654
+ }
655
+ .cicord-markdown :is(ul, ol) {
656
+ padding-left: 1.3em;
657
+ }
658
+ .cicord-markdown li + li {
659
+ margin-top: 0.3em;
660
+ }
661
+ .cicord-markdown li::marker {
662
+ color: var(--cicord-primary-text);
663
+ }
664
+ .cicord-markdown a {
665
+ color: var(--cicord-primary-text);
666
+ text-decoration: underline;
667
+ text-underline-offset: 0.18em;
668
+ text-decoration-thickness: 1px;
669
+ }
670
+ .cicord-markdown a:hover {
671
+ text-decoration-thickness: 2px;
672
+ }
673
+ .cicord-markdown code {
674
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
675
+ font-size: 0.9em;
676
+ padding: 0.1em 0.35em;
677
+ border-radius: 6px;
678
+ background: var(--cicord-sunken);
679
+ }
680
+ .cicord-markdown blockquote {
681
+ margin: 0;
682
+ padding: 0.2em 0 0.2em 1em;
683
+ border-left: 3px solid var(--cicord-accent);
684
+ color: var(--cicord-muted);
685
+ }
686
+
687
+ .cicord-link-icon {
688
+ flex: none;
689
+ }