-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.css
More file actions
2144 lines (2010 loc) · 61.2 KB
/
Copy pathapp.css
File metadata and controls
2144 lines (2010 loc) · 61.2 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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ===== mdsmith.dev — site-specific styles ===== */
/* Extends colors_and_type.css (same directory) */
* { box-sizing: border-box; }
html, body {
margin: 0;
padding: 0;
min-height: 100vh;
background: var(--canvas);
color: var(--fg);
font-family: var(--font-sans);
}
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1.5px; }
button { font-family: inherit; }
/* ========== LAYOUT ========== */
.app {
display: flex;
flex-direction: column;
min-height: 100vh;
}
main {
flex: 1;
}
.container {
max-width: 1180px;
margin: 0 auto;
padding: 0 32px;
}
.container-prose {
max-width: 760px;
margin: 0 auto;
padding: 0 32px;
}
/* ========== TOP NAV ========== */
.topnav {
position: sticky;
top: 0;
z-index: 100;
background: rgba(250, 247, 242, 0.92);
backdrop-filter: saturate(180%) blur(8px);
border-bottom: 1px solid var(--border-subtle);
height: 56px;
}
.topnav.is-scrolled { box-shadow: var(--shadow-xs); border-bottom-color: var(--border); }
.topnav-inner {
height: 100%;
display: flex;
align-items: center;
gap: 28px;
max-width: 1180px;
margin: 0 auto;
padding: 0 32px;
}
.topnav-brand {
display: flex; align-items: center; gap: 8px;
font-family: var(--font-sans);
font-size: 17px;
font-weight: 600;
letter-spacing: -0.02em;
color: var(--fg);
}
.topnav-brand:hover { text-decoration: none; }
.topnav-links {
display: flex; gap: 4px;
font-size: 14px;
}
.topnav-link {
color: var(--steel-600);
padding: 6px 10px;
border-radius: 4px;
transition: background var(--dur-fast), color var(--dur-fast);
font-weight: 500;
}
.topnav-link:hover { color: var(--fg); background: var(--steel-100); text-decoration: none; }
.topnav-link.is-active { color: var(--fg); }
.topnav-brand img { display: block; }
.topnav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topnav-version { font-family: var(--font-mono); font-size: 12px; color: var(--fg-subtle); white-space: nowrap; }
.topnav-version:hover { color: var(--accent); text-decoration: none; }
.topnav-kbd {
font-family: var(--font-mono);
font-size: 11.5px;
padding: 4px 8px;
border-radius: 4px;
border: 1px solid var(--border-strong);
background: var(--bg-raised);
color: var(--steel-700);
display: inline-flex; align-items: center; gap: 6px;
cursor: pointer;
}
.topnav-kbd:hover { background: var(--steel-50); }
.topnav-gh {
display: inline-flex; align-items: center; gap: 6px;
padding: 5px 10px; border-radius: 4px;
background: var(--steel-900); color: var(--canvas);
font-size: 13px; font-weight: 500;
}
.topnav-gh:hover { background: var(--steel-800); color: var(--canvas); text-decoration: none; }
/* Below ~500px the single-row nav (brand + section links + version
+ GitHub) no longer fits. Unwrapped it overflowed the viewport,
widening the document past the screen so every section — the hero
most visibly — sat pinned to the left with dead space on the
right. Wrapping keeps the bar within the viewport and every item
reachable with no JS: the brand and GitHub button share the top
row, the section links drop to a full-width row beneath them. */
@media (max-width: 560px) {
.topnav { height: auto; }
.topnav-inner {
flex-wrap: wrap;
column-gap: 16px;
row-gap: 2px;
padding: 8px 20px;
}
.topnav-brand { order: 1; }
.topnav-right { order: 2; }
.topnav-links {
order: 3;
flex-basis: 100%;
/* Offset the first link's padding so its text lines up with the
brand at the gutter edge. */
margin-left: -10px;
}
}
/* ========== HERO ========== */
.hero {
padding: 88px 0 64px;
border-bottom: 1px solid var(--border-subtle);
position: relative;
overflow: hidden;
}
.hero::before {
content: "";
position: absolute;
inset: 0;
background-image: var(--grad-glow);
pointer-events: none;
}
.hero-inner { position: relative; }
.hero-grid {
display: grid;
grid-template-columns: 1.05fr 1fr;
gap: 56px;
align-items: center;
}
.hero-eyebrow {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--forge-600);
margin-bottom: 18px;
display: inline-flex; align-items: center; gap: 8px;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--forge-500); }
.hero h1 {
font-size: 60px;
font-weight: 600;
line-height: 1.02;
letter-spacing: -0.035em;
margin: 0 0 22px;
}
.hero h1 em {
font-family: var(--font-serif);
font-style: italic;
font-weight: 400;
color: var(--forge-500);
}
.hero-lead {
font-size: 19px;
line-height: 1.5;
color: var(--fg-muted);
max-width: 540px;
margin: 0 0 28px;
}
/* Hero lead and positioning statement are rendered Markdown
(markdownify / .Content), which wraps the text in <p>.
Without these resets, the global
`p, .p { margin: 0 0 var(--space-4); }` from
colors_and_type.css would stack on top of the blocks'
own bottom margins. */
.hero-lead p, .positioning-statement p { margin: 0; }
.hero-lead p:not(:last-child),
.positioning-statement p:not(:last-child) { margin-bottom: 12px; }
.hero-cta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-switch {
font-size: 14px;
line-height: 1.5;
color: var(--fg-muted);
margin: 16px 0 0;
}
/* min-height reserves the badge row so late or failed external
badge images don't shift the hero; the JS in baseof.html hides
a failed badge's link ([hidden]) instead of letting the browser
paint a broken-image icon. */
.hero-badges {
display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
margin-top: 22px;
min-height: 20px;
}
.hero-badges a { display: inline-flex; line-height: 0; }
.hero-badges a[hidden] { display: none; }
.hero-badges img { height: 20px; display: block; }
/* ========== POSITIONING BAND ========== */
/* The strip between the hero and the "Available on" channels:
a one-sentence scope statement (the content/_index.md body)
set as display type, then a quiet "Runs in" row of surface
links from the homepage front matter. The statement carries
the concrete rule scope so the hero lead never has to (see
docs/brand/messaging.md). Per the design system, the surface
links are plain text links — capsules/pills are status-only,
never navigation — and the serif-italic accent stays
reserved for the hero, so the statement renders in plain
sans. */
.positioning {
padding: 40px 0 32px;
border-bottom: 1px solid var(--border-subtle);
}
/* Paragraph margin resets live with .hero-lead's (same
rendered-Markdown wrapping). */
.positioning-statement {
max-width: 700px;
font-size: 20px;
font-weight: 500;
line-height: 1.5;
letter-spacing: -0.015em;
color: var(--fg);
margin-bottom: 18px;
}
.positioning-engine {
display: flex;
align-items: baseline;
gap: 16px;
}
/* One mono-label recipe for both band rows: the positioning
strip's "Runs in" and the logos strip's "Available on". */
.positioning-label,
.logos-label {
font-family: var(--font-mono);
font-size: 12px;
letter-spacing: 0.05em;
text-transform: uppercase;
color: var(--fg-subtle);
}
.positioning-label { flex-shrink: 0; }
.positioning-surfaces {
display: flex;
flex-wrap: wrap;
gap: 6px 20px;
}
/* Quiet navigation links: solid underline on hover (the global
`a:hover` rule), accent color on hover like .logos-item. */
.positioning-surface {
font-size: 14px;
font-weight: 500;
color: var(--steel-700);
}
.positioning-surface:hover {
color: var(--accent);
}
/* ========== BUTTONS ========== */
.btn {
display: inline-flex; align-items: center; gap: 8px;
font-family: var(--font-sans); font-weight: 500; font-size: 14px;
padding: 9px 16px;
border-radius: 4px;
border: 1px solid transparent;
cursor: pointer;
line-height: 1.2;
transition: background var(--dur-fast) var(--ease-out),
color var(--dur-fast) var(--ease-out),
border-color var(--dur-fast),
box-shadow var(--dur-fast),
transform var(--dur-fast);
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forge-600); color: #fff; box-shadow: var(--shadow-inset); }
.btn-primary:hover { background: var(--forge-700); }
.btn-secondary { background: var(--bg-raised); color: var(--steel-800); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--steel-500); background: var(--steel-50); }
.btn-ghost { background: transparent; color: var(--steel-700); }
.btn-ghost:hover { background: var(--steel-100); color: var(--fg); }
.btn-lg { padding: 12px 20px; font-size: 15px; }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.btn-mono { font-family: var(--font-mono); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
/* ========== SECTION HEADERS ========== */
.section { padding: 80px 0; border-bottom: 1px solid var(--border-subtle); }
.section-eyebrow {
font-family: var(--font-mono);
font-size: 12px;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--forge-600);
margin-bottom: 12px;
}
.section-title {
font-size: 38px; font-weight: 600;
line-height: 1.1;
letter-spacing: -0.02em;
margin: 0 0 14px;
}
.section-title em {
font-family: var(--font-serif);
font-style: italic;
font-weight: 400;
color: var(--forge-600);
letter-spacing: -0.02em;
}
.section-lead {
font-size: 17px; color: var(--fg-muted); line-height: 1.55;
max-width: 640px;
margin: 0 0 48px;
}
/* ========== FEATURE GRID — PILLAR LAYOUT ========== */
/* ── Pillar group ── */
.pillar { margin-bottom: 52px; }
.pillar:last-child { margin-bottom: 0; }
.pillar-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
/* steel-500: the lighter steel-300/400 pair sat below the 4.5:1
WCAG AA contrast bar at these tiny sizes. */
.pillar-num {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 600;
letter-spacing: 0.08em;
color: var(--steel-500);
flex-shrink: 0;
}
.pillar-name {
margin: 0;
font-size: 10.5px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: var(--steel-500);
flex-shrink: 0;
}
.pillar-rule {
flex: 1;
height: 1px;
background: var(--steel-100);
}
/* ── Card grid ── */
/* Hairline separators: 1px gap over steel-100 background. */
.card-grid {
display: grid;
/* Default for any card count (the grid is data-driven): support
cards flow into as many ~240px columns as fit, so an unexpected
count never collapses to a single column. data-count 3/4 tune
this below; the lead always spans the full row (.card--lead). */
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 1px;
background: var(--steel-100);
border: 1px solid var(--steel-100);
border-radius: 12px;
overflow: hidden;
}
/* Tuned column counts for the real pillar sizes: 3 cards -> 2-col
support row, 4 cards -> 3-col. */
.card-grid[data-count="3"] {
grid-template-columns: repeat(2, 1fr);
}
.card-grid[data-count="4"] {
grid-template-columns: repeat(3, 1fr);
}
/* ── Card base ── */
.card {
position: relative;
display: flex;
flex-direction: column;
background: var(--canvas-raised);
text-decoration: none;
color: inherit;
overflow: hidden;
transition: background 130ms ease;
}
.card:hover { background: var(--steel-50); color: inherit; text-decoration: none; }
.card:focus-visible {
outline: 2px solid var(--forge-500);
outline-offset: -2px;
z-index: 1;
}
/* Lead card: spans the full row (any count) and lays out horizontally. */
.card--lead {
grid-column: 1 / -1;
flex-direction: row;
align-items: stretch;
min-height: 300px;
}
/* 2px forge gradient accent on lead cards */
.card--lead::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 2px;
background: linear-gradient(
90deg,
var(--forge-500) 0%,
var(--forge-300) 60%,
transparent 100%
);
z-index: 1;
}
/* ── Card internals ── */
.card-body {
display: flex;
flex-direction: column;
padding: 26px 26px 22px;
flex: 1;
min-height: 180px;
}
.card-body--lead {
padding: 36px 36px 32px 36px;
flex: 0 0 320px;
min-width: 240px;
position: relative;
}
/* The tile (.icon-tile + tint class, set by feature-grid.html)
supplies size, background, and glyph color; this class only
adds the card-local spacing. Glyphs keep their 18px/24px
attribute size inside the tile. */
.card-icon {
margin-bottom: 16px;
stroke-width: 1.5;
}
.card-body--lead .card-icon {
width: 36px;
height: 36px;
margin-bottom: 20px;
}
.card-icon svg { stroke-width: inherit; }
.card-title {
font-size: 14.5px;
font-weight: 600;
line-height: 1.25;
letter-spacing: -0.01em;
color: var(--steel-900);
margin-bottom: 7px;
}
.card-body--lead .card-title {
font-size: 20px;
font-weight: 600;
letter-spacing: -0.028em;
line-height: 1.18;
margin-bottom: 11px;
}
.card-desc {
font-size: 13px;
line-height: 1.58;
color: var(--steel-500);
margin: 0;
}
.card-body--lead .card-desc {
font-size: 15px;
line-height: 1.65;
color: var(--steel-600);
max-width: 30ch;
}
/* .rule-chip — the MDSxxx rule tags shown on feature cards. */
.rule-chip {
font-family: var(--font-mono);
font-size: 10px;
font-weight: 500;
letter-spacing: 0.04em;
color: var(--steel-500);
background: var(--steel-50);
border: 1px solid var(--steel-100);
border-radius: 3px;
padding: 2px 6px;
line-height: 1.5;
}
.card-body--lead .rule-chip {
color: var(--forge-700);
background: var(--forge-50);
border-color: var(--forge-100);
}
.card-rules {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-top: 14px;
}
.card-content { display: flex; flex-direction: column; flex: 1; }
/* steel-500 / forge-600 bases: the old steel-300 / forge-400 read
at ~2:1 against the card background — under the 4.5:1 WCAG AA
bar — and touch users never see the darker hover state. */
.card-more {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 11.5px;
font-weight: 500;
letter-spacing: 0.01em;
color: var(--steel-500);
margin-top: auto;
padding-top: 18px;
text-decoration: none;
transition: color 130ms ease;
}
.card:hover .card-more { color: var(--steel-700); }
.card-body--lead .card-more { color: var(--forge-600); font-size: 12.5px; }
.card--lead:hover .card-more { color: var(--forge-700); }
.card-more svg { transition: transform 130ms ease; }
.card:hover .card-more svg { transform: translateX(2px); }
/* ── Lead card media panel ── */
.card-media {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
padding: 24px 24px 24px 16px;
min-width: 200px;
background: var(--canvas-sunken);
}
.card-media--terminal {
background: #F0EDE8;
padding: 20px 20px 20px 12px;
}
.card-media--editor {
background: #F0EDE8;
align-items: flex-start;
padding-top: 24px;
}
.card-media--graph {
background: var(--steel-50);
}
.card-media--doc {
background: #F0EDE8;
}
.card-media--ci {
background: var(--steel-50);
}
.card--lead:hover .card-media {
filter: brightness(1.02);
}
/* ── Artifact frame — shared frame language ── */
/* Every artifact (real capture or mockup, dark or light) floats on its
tile with this one shadow — variants must not override it. The value
is the design system's screenshot float tier (--shadow-float). */
.artifact-frame {
width: 100%;
max-width: 440px;
border-radius: 9px;
box-shadow: var(--shadow-float);
overflow: hidden;
display: flex;
flex-direction: column;
}
/* Shared titlebar base */
.artifact-titlebar {
display: flex;
align-items: center;
gap: 8px;
padding: 9px 14px;
flex-shrink: 0;
border-bottom: 1px solid;
}
.artifact-title {
font-family: var(--font-mono);
font-size: 10.5px;
letter-spacing: 0.02em;
flex: 1;
text-align: center;
color: var(--steel-500);
}
/* Shared traffic dots */
.term-dots, .vscode-traffic, .graph-traffic, .doc-traffic, .ci-traffic {
display: flex;
gap: 5px;
flex-shrink: 0;
}
.term-dot, .vscode-dot, .graph-dot, .doc-dot, .ci-dot {
width: 10px;
height: 10px;
border-radius: 50%;
}
/* ── Artifact 1: Terminal (dark) ── */
.artifact-frame--terminal {
border: 1px solid #1A1F26;
background: #0F1419;
}
.artifact-titlebar--terminal {
background: #070A0D;
border-bottom-color: #1A1F26;
}
/* The near-black terminal bar needs a lighter title than the default
steel-500 used on the light artifact bars, for legible contrast. */
.artifact-titlebar--terminal .artifact-title { color: var(--term-fg-dim); }
.term-dot-r { background: #FF6B5C; }
.term-dot-y { background: #E58233; }
.term-dot-g { background: #5DC58C; }
.artifact-body--terminal {
padding: 14px 16px 16px;
overflow: hidden;
background: #0F1419;
}
/* The terminal body is a real `mdsmith check -> fix -> check` run rendered
to SVG by scripts/gen-feature-terminal.sh; it sits on the dark frame. */
.term-shot { display: block; width: 100%; height: auto; }
/* A real screenshot framed like the other artifacts — e.g. a VS Code
capture dropped at static/img/features/editor.png. */
.artifact-frame--shot {
border: 1px solid var(--steel-200);
background: #FFFFFF;
}
/* A real screenshot floats framed on the tile's light background (like
the terminal), at its natural aspect — no cropping. */
.artifact-shot { display: block; width: 100%; height: auto; }
/* ── Artifact 2: VS Code editor (light) ── */
.artifact-frame--editor {
border: 1px solid var(--steel-200);
background: #FFFFFF;
}
.artifact-titlebar--editor {
background: #F3F0EC;
border-bottom-color: #E0DDD8;
padding: 8px 12px;
}
.vscode-dot-r { background: #FF5F57; }
.vscode-dot-y { background: #FFBD2E; }
.vscode-dot-g { background: #28CA42; }
.artifact-title--editor {
color: #5C6773;
font-size: 10px;
}
.vscode-body {
display: flex;
flex: 1;
overflow: hidden;
background: #FFFFFF;
min-height: 180px;
}
/* Activity bar — slim left strip */
.vscode-activity-bar {
width: 34px;
background: #F3F0EC;
border-right: 1px solid #E0DDD8;
display: flex;
flex-direction: column;
align-items: center;
padding: 8px 0;
gap: 4px;
flex-shrink: 0;
}
.vscode-ab-icon {
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
color: #8A93A0;
cursor: pointer;
}
.vscode-ab-active { color: #D9651D; }
.vscode-ab-icon svg { display: block; }
/* Main editor pane */
.vscode-main {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
}
/* Tab bar */
.vscode-tabs {
display: flex;
background: #F3F0EC;
border-bottom: 1px solid #E0DDD8;
flex-shrink: 0;
}
.vscode-tab {
font-family: var(--font-mono);
font-size: 10px;
padding: 6px 12px 5px;
color: #8A93A0;
border-right: 1px solid #E0DDD8;
white-space: nowrap;
}
.vscode-tab--active {
background: #FFFFFF;
color: #0F1419;
border-bottom-color: #FFFFFF;
border-top: 1.5px solid #D9651D;
margin-top: -0.5px;
}
/* Editor area with gutter */
.vscode-editor-area {
display: flex;
flex: 1;
overflow: hidden;
position: relative;
}
.vscode-gutter {
display: flex;
flex-direction: column;
padding: 8px 8px 8px 4px;
min-width: 28px;
background: #FFFFFF;
border-right: 1px solid #EAECEF;
font-family: var(--font-mono);
font-size: 10px;
line-height: 1.7;
color: #B4BBC4;
text-align: right;
flex-shrink: 0;
user-select: none;
}
.vscode-gutter-active { color: #5C6773; font-weight: 600; }
.vscode-code-area {
flex: 1;
padding: 8px 10px;
font-family: var(--font-mono);
font-size: 11px;
line-height: 1.7;
color: #0F1419;
overflow: hidden;
position: relative;
}
.vscode-line { display: block; white-space: nowrap; }
.vscode-line--error { background: rgba(229,72,77,0.06); }
/* VS Code syntax */
.vc-text { color: #3F4A57; }
.vc-url { color: #2563A8; }
/* Wavy underline squiggle */
.vc-squiggle-red {
text-decoration: underline wavy #E5484D;
text-underline-offset: 2px;
text-decoration-thickness: 1.5px;
}
/* Hover popup */
.vscode-hover-popup {
position: absolute;
top: 75px;
left: 28px;
right: 4px;
background: #FFFFFF;
border: 1px solid #D6DAE0;
border-radius: 6px;
box-shadow: 0 4px 16px rgba(15,20,25,0.14), 0 1px 4px rgba(15,20,25,0.08);
overflow: hidden;
z-index: 5;
}
.vscode-hover-header {
display: flex;
align-items: center;
gap: 6px;
padding: 7px 10px 5px;
border-bottom: 1px solid #EAECEF;
font-size: 10.5px;
}
.vscode-lightbulb { font-size: 11px; }
.vscode-hover-rule {
font-family: var(--font-mono);
font-size: 10px;
color: #B98AE8;
font-weight: 600;
}
.vscode-hover-msg { color: #3F4A57; font-size: 10.5px; flex: 1; }
.vscode-hover-actions { padding: 5px 10px 7px; }
.vscode-quickfix-label {
font-size: 10px;
font-weight: 600;
color: var(--forge-600);
display: block;
margin-bottom: 3px;
}
.vscode-quickfix-item {
display: block;
font-family: var(--font-mono);
font-size: 10px;
color: #3F4A57;
padding: 2px 4px;
border-radius: 3px;
background: var(--forge-50);
border: 1px solid var(--forge-100);
margin-bottom: 2px;
}
.vscode-quickfix-dim {
background: var(--steel-50);
border-color: var(--steel-100);
color: #8A93A0;
}
/* Status bar */
.vscode-status-bar {
height: 20px;
background: #D9651D;
display: flex;
align-items: center;
padding: 0 10px;
gap: 12px;
flex-shrink: 0;
}
.vscode-status-problems {
font-family: var(--font-mono);
font-size: 9.5px;
color: rgba(255,255,255,0.92);
font-weight: 500;
}
.vscode-status-lang, .vscode-status-ext {
font-family: var(--font-mono);
font-size: 9px;
color: rgba(255,255,255,0.7);
}
.vscode-status-lang { margin-left: auto; }
.vscode-status-ext { margin-left: 8px; }
/* ── Artifact 3: Dependency graph (light) ── */
.artifact-frame--graph {
border: 1px solid var(--steel-200);
background: #FFFFFF;
}
.artifact-titlebar--graph {
background: var(--steel-50);
border-bottom-color: var(--steel-100);
padding: 8px 12px;
}
.graph-dot-r { background: #FF5F57; }
.graph-dot-y { background: #FFBD2E; }
.graph-dot-g { background: #28CA42; }
.artifact-title--graph {
color: #5C6773;
font-size: 10px;
}
.artifact-body--graph {
padding: 12px;
background: #FFFFFF;
overflow: hidden;
}
.graph-svg {
width: 100%;
height: auto;
display: block;
min-height: 160px;
}
/* ── Artifact 4: Document / TOC (light) ── */
.artifact-frame--doc {
border: 1px solid var(--steel-200);
background: #FFFFFF;
}
.artifact-titlebar--doc {
background: #F3F0EC;
border-bottom-color: #E0DDD8;
padding: 8px 12px;
}
.doc-dot-r { background: #FF5F57; }
.doc-dot-y { background: #FFBD2E; }
.doc-dot-g { background: #28CA42; }
.artifact-title--doc { color: #5C6773; font-size: 10px; }
.artifact-body--doc {
background: #FFFFFF;
overflow: hidden;
}
.doc-file {
padding: 6px 0;
position: relative;
}
.doc-line {
display: flex;
align-items: baseline;
min-height: 21px;
font-family: var(--font-mono);
font-size: 11px;
line-height: 1.7;
}
.doc-line--added {
background: rgba(45,142,90,0.08);
}
.doc-gutter {
width: 26px;
min-width: 26px;
text-align: right;
padding-right: 8px;
font-size: 10px;
font-family: var(--font-mono);
user-select: none;
flex-shrink: 0;
}
.doc-gutter-dim { color: #B4BBC4; }
.doc-gutter-add { color: #2A8E5A; font-weight: 700; }
.doc-code { padding: 0 10px; flex: 1; overflow: hidden; }
.doc-blank { color: #EAECEF; }
/* Doc syntax */
.doc-h2 { color: #0F1419; font-weight: 600; }
.doc-h3 { color: #3F4A57; font-weight: 600; }
.doc-directive { color: #D9651D; font-style: italic; font-size: 10px; }
.doc-list-item { color: #3F4A57; }
.doc-link { color: #2563A8; }
.doc-annotation {
font-size: 10px;
color: #2A8E5A;
background: rgba(45,142,90,0.07);
border-top: 1px solid rgba(45,142,90,0.15);
padding: 6px 10px 6px 34px;
font-family: var(--font-mono);
}
.doc-annotation code {
font-family: var(--font-mono);
font-size: 10px;
background: rgba(45,142,90,0.12);
padding: 1px 4px;
border-radius: 3px;
color: #2A8E5A;
}
/* ── Artifact 5: CI checks (GitHub Actions light style) ── */
.artifact-frame--ci {
border: 1px solid var(--steel-200);
background: #FFFFFF;
}
.artifact-titlebar--ci {
background: var(--steel-50);
border-bottom-color: var(--steel-100);
padding: 8px 12px;
}
.ci-dot-r { background: #FF5F57; }
.ci-dot-y { background: #FFBD2E; }
.ci-dot-g { background: #28CA42; }
.artifact-title--ci { color: #5C6773; font-size: 10px; }
.artifact-body--ci {
padding: 12px 14px;
background: #FFFFFF;
overflow: hidden;
}
.ci-checks-header {
display: flex;
align-items: center;