-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
1382 lines (1293 loc) Β· 39.3 KB
/
Copy pathstyle.css
File metadata and controls
1382 lines (1293 loc) Β· 39.3 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
/* Linear Design System β extracted tokens from popular-web-designs
Reused for a cleaner, modern look.
========================================================= */
/* --- Token layer --- */
:root {
--bg: #08090a;
--panel: #0f1011;
--surface: #191a1b;
--surface-hover: #28282c;
--fg: #f7f8f8;
--fg2: #d0d6e0;
--fg3: #8a8f98;
--fg4: #62666d;
--accent: #5e6ad2;
--accent-bright: #7170ff;
--accent-hover: #828fff;
--green: #10b981;
--border: rgba(255,255,255,0.05);
--border2: rgba(255,255,255,0.08);
}
/* --- Reset & base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
font-feature-settings: "cv01", "ss03";
background: var(--bg);
color: var(--fg2);
line-height: 1.60;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
/* Ensure Linear's signature OpenType features reach every element,
including those with own font-family (monospace, headings). */
h1, h2, h3, h4, h5, h6 {
font-feature-settings: "cv01", "ss03";
}
/* --- Hero atmosphere: radial glow + fine dot grid --- */
.hero {
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: -40%;
left: 50%;
transform: translateX(-50%);
width: 640px;
height: 640px;
background: radial-gradient(
circle,
rgba(94, 106, 210, 0.12) 0%,
rgba(94, 106, 210, 0.04) 40%,
transparent 70%
);
pointer-events: none;
z-index: 0;
}
.hero::after {
content: '';
position: absolute;
inset: 0;
background-image: radial-gradient(
circle,
rgba(255, 255, 255, 0.03) 1px,
transparent 1px
);
background-size: 24px 24px;
pointer-events: none;
z-index: 0;
mask-image: radial-gradient(
ellipse 70% 60% at 50% 40%,
black 20%,
transparent 100%
);
-webkit-mask-image: radial-gradient(
ellipse 70% 60% at 50% 40%,
black 20%,
transparent 100%
);
}
.hero > * {
position: relative;
z-index: 1;
}
/* --- Navigation --- */
nav {
position: sticky; top: 0; z-index: 100;
background: var(--panel);
border-bottom: 1px solid var(--border);
padding: 0 24px;
backdrop-filter: blur(12px);
}
nav .inner {
max-width: 960px; margin: 0 auto;
display: flex; align-items: center; justify-content: space-between;
height: 52px;
}
nav .logo {
font-weight: 510; font-size: 14px; color: var(--fg);
letter-spacing: -0.01em; text-decoration: none;
display: flex; align-items: center; gap: 8px;
}
nav .logo span { font-size: 16px; }
nav .logo .logo-mark {
display: inline-flex; align-items: center; justify-content: center;
width: 22px; height: 22px; border-radius: 5px;
background: var(--accent); color: #fff;
font-size: 11px; font-weight: 600; letter-spacing: 0;
font-family: 'Inter', system-ui, sans-serif;
}
nav .links { display: flex; gap: 24px; align-items: center; }
nav .links a {
font-size: 13px; font-weight: 510; color: var(--fg3);
text-decoration: none; transition: color 0.15s;
}
nav .links a:hover { color: var(--fg); }
nav .cta {
background: var(--accent); color: #fff;
border: none; border-radius: 6px;
padding: 6px 14px; font-size: 13px; font-weight: 510;
font-family: inherit;
text-decoration: none; cursor: pointer;
transition: background 0.15s;
}
nav .cta:hover { background: var(--accent-hover); }
/* --- Footer --- */
footer {
max-width: 960px; margin: 0 auto;
padding: 32px 24px;
border-top: 1px solid var(--border);
display: flex; justify-content: space-between; align-items: center;
}
footer .left { font-size: 13px; color: var(--fg4); }
footer .right { display: flex; gap: 20px; }
footer .right a {
font-size: 13px; font-weight: 510; color: var(--fg3);
text-decoration: none; transition: color 0.15s;
}
footer .right a:hover { color: var(--fg); }
/* --- Shared components --- */
.pill {
display: inline-block;
background: transparent; color: var(--fg4);
border: 1px solid rgba(255,255,255,0.06); border-radius: 9999px;
padding: 2px 10px 2px 8px;
font-size: 12px; font-weight: 510;
letter-spacing: -0.01em;
transition: border-color 0.15s, color 0.15s;
}
.post-row:hover .pill {
border-color: rgba(255,255,255,0.08);
color: var(--fg3);
}
/* =========================================================
HOME PAGE
========================================================= */
/* Hero */
.hero {
max-width: 720px; margin: 0 auto;
padding: 140px 24px 100px;
text-align: center;
}
.hero-label {
display: inline-flex; align-items: center; gap: 8px;
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px; font-weight: 500;
color: var(--accent-bright);
letter-spacing: 0.05em; text-transform: uppercase;
margin-bottom: 32px;
}
.hero-label .dot {
width: 6px; height: 6px; border-radius: 50%;
background: var(--green);
}
.hero h1 {
font-size: 64px; font-weight: 510; line-height: 1.00;
letter-spacing: -1.408px; color: var(--fg);
margin-bottom: 24px;
}
.hero .subtitle {
font-size: 18px; font-weight: 400; line-height: 1.60;
letter-spacing: -0.165px; color: var(--fg3);
max-width: 520px; margin: 0 auto 40px;
}
.hero .actions { display: flex; gap: 12px; justify-content: center; }
/* Buttons */
.btn-primary {
background: var(--accent); color: #fff; border: none;
border-radius: 6px; padding: 10px 20px;
font-family: inherit; font-size: 15px; font-weight: 510;
cursor: pointer; text-decoration: none;
transition: background 0.15s;
letter-spacing: -0.165px;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
background: rgba(255,255,255,0.02); color: var(--fg2);
border: 1px solid var(--border2); border-radius: 6px;
padding: 10px 20px; font-family: inherit;
font-size: 15px; font-weight: 510; cursor: pointer;
text-decoration: none; transition: all 0.15s;
letter-spacing: -0.165px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); }
/* Sections */
.section {
max-width: 960px; margin: 0 auto;
padding: 0 24px 80px;
}
.section-title {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px; font-weight: 500; color: var(--fg4);
letter-spacing: 0.05em; text-transform: uppercase;
margin-bottom: 32px;
}
/* Capabilities */
.capability {
padding: 24px 0;
border-bottom: 1px solid var(--border);
display: flex; justify-content: space-between; align-items: baseline;
gap: 24px;
transition: padding 0.2s ease, border-color 0.2s ease;
border-radius: 0;
}
.capability:first-of-type { padding-top: 0; }
.capability:last-of-type { border-bottom: none; }
.capability:hover {
padding-left: 12px;
border-color: var(--border2);
}
.capability-name {
font-size: 20px; font-weight: 590; color: var(--fg);
letter-spacing: -0.24px; white-space: nowrap;
}
.capability-desc {
font-size: 15px; font-weight: 400; color: var(--fg3);
line-height: 1.60; letter-spacing: -0.165px;
max-width: 480px; text-align: right;
}
/* Tech stack */
.tech-stack { display: flex; flex-wrap: wrap; gap: 6px; }
/* About */
.about {
max-width: 720px; margin: 0 auto;
padding: 0 24px 80px;
}
.about p {
font-size: 16px; font-weight: 400; color: var(--fg2);
line-height: 1.50; margin-bottom: 16px;
}
.about a { color: var(--accent-bright); text-decoration: none; }
.about a:hover { color: var(--accent-hover); }
/* =========================================================
BLOG INDEX
========================================================= */
.page-header {
max-width: 720px; margin: 0 auto;
padding: 96px 24px 64px;
}
.page-header h1 {
font-size: 48px; font-weight: 510; line-height: 1.00;
letter-spacing: -1.056px; color: var(--fg);
margin-bottom: 12px;
}
.page-header p {
font-size: 18px; color: var(--fg3);
letter-spacing: -0.165px; font-weight: 400;
line-height: 1.60;
}
/* Year heading β top-level grouping */
.post-year {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px; font-weight: 500; color: var(--accent-bright);
letter-spacing: 0.08em; text-transform: uppercase;
margin-bottom: 32px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border2);
}
/* Month heading β secondary grouping */
.post-month {
font-size: 13px; font-weight: 510; color: var(--fg4);
letter-spacing: 0.04em; text-transform: uppercase;
margin: 40px 0 16px;
padding-bottom: 0;
}
/* Empty month indicator */
.post-empty {
font-size: 14px; color: var(--fg4);
padding: 8px 0 24px;
font-style: normal;
}
/* =========================================================
TOPIC FILTER CHIPS
The filter affordance for the blog index. Two states only:
default (outline, muted) and active (solid accent). No
third hover-decoration state, no gradient, no shadow β the
state itself is the signal. Linear-style restraint.
========================================================= */
.topics {
max-width: 720px;
margin: 0 auto;
padding: 0 24px 16px;
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.topic-chip {
font-family: 'Inter', system-ui, sans-serif;
font-size: 13px;
font-weight: 510;
letter-spacing: -0.01em;
color: var(--fg3);
background: transparent;
border: 1px solid var(--border2);
border-radius: 9999px;
padding: 5px 14px;
cursor: pointer;
transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
line-height: 1.4;
-webkit-appearance: none;
appearance: none;
}
.topic-chip:hover {
color: var(--fg);
border-color: rgba(255, 255, 255, 0.16);
}
.topic-chip:focus-visible {
outline: 2px solid var(--accent-bright);
outline-offset: 2px;
}
.topic-chip.is-active {
color: #fff;
background: var(--accent);
border-color: var(--accent);
}
.topic-chip.is-active:hover {
background: var(--accent-hover);
border-color: var(--accent-hover);
color: #fff;
}
/* Filter result count β small mono label next to the chips */
.topic-count {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px;
font-weight: 500;
color: var(--fg4);
letter-spacing: 0.02em;
margin-left: auto;
padding-left: 8px;
}
@media (max-width: 640px) {
.topic-count { display: none; }
}
/* Empty filter state β when a topic has zero matches.
Uses the existing .post-empty tone but scoped to the
filtered result region so it reads as "no results," not
a missing page section. */
.filter-empty {
text-align: center;
padding: 48px 24px;
color: var(--fg4);
font-size: 15px;
line-height: 1.6;
}
.filter-empty .filter-empty-hint {
font-size: 13px;
margin-top: 8px;
color: var(--fg4);
}
/* When a topic filter is active, fade year/month dividers that
have no visible rows beneath them. Keeps the filtered view
tidy without collapsing layout. */
[data-divider].is-dimmed {
opacity: 0.3;
}
/* Respect reduced motion for chip state transitions */
@media (prefers-reduced-motion: reduce) {
.topic-chip { transition: none; }
}
/* Post list β Linear issue-list pattern, two-column layout */
.posts {
max-width: 720px; margin: 0 auto;
padding: 0 24px 80px;
}
.post-row {
display: flex;
text-decoration: none;
padding: 16px 0;
border-bottom: 1px solid var(--border);
transition: background 0.15s ease;
align-items: flex-start;
gap: 20px;
}
.post-row:first-child { padding-top: 0; }
.post-row:last-child { border-bottom: none; }
.post-row:hover {
background: rgba(255,255,255,0.02);
margin: 0 -16px;
padding-left: 16px;
padding-right: 16px;
border-radius: 6px;
}
.post-row:hover .post-title { color: var(--fg); }
.post-row:active {
background: rgba(255,255,255,0.04);
}
/* Post type distinction β daily news vs feature articles
Daily news rows use a slightly muted treatment so feature
articles stand out by contrast. Typography-first: lighter
title weight, not a different color or box. */
.post-row.is-news .post-title {
font-weight: 400;
color: var(--fg3);
}
.post-row.is-news:hover .post-title {
color: var(--fg2);
}
/* daily-news pill β accent tint to signal recurring series */
.pill-news {
color: var(--accent-bright);
border-color: rgba(94, 106, 210, 0.20);
}
/* =========================================================
FRESHNESS INDICATOR β newest post only
A small emerald status dot + mono "new" micro-label,
shown next to the date on the single most-recent post
in the blog index. Follows Linear's status-dot + Mono
Label pattern (emerald #27a644 for "in progress"), fired
for ~3 days after publish so it self-maintains as new
posts land. No new boxes, icons, or color slop β just
a dot the eye can land on when returning to the list.
========================================================= */
.fresh {
display: inline-flex;
align-items: center;
gap: 5px;
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px;
font-weight: 500;
color: var(--green);
letter-spacing: 0.04em;
text-transform: lowercase;
margin-left: 8px;
vertical-align: 2px;
white-space: nowrap;
}
.fresh .fresh-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--green);
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
flex-shrink: 0;
}
.fresh.is-stale { display: none; }
.post-date {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px; font-weight: 500;
color: var(--fg4);
letter-spacing: 0.02em;
padding-top: 5px;
min-width: 56px;
flex-shrink: 0;
}
/* Content column β title, excerpt, tags */
.post-content {
flex: 1;
min-width: 0;
}
.post-title {
font-size: 16px; font-weight: 510; color: var(--fg2);
letter-spacing: -0.01em; line-height: 1.40;
margin-bottom: 4px;
transition: color 0.15s;
}
.post-excerpt {
font-size: 14px; color: var(--fg3); line-height: 1.55;
letter-spacing: -0.01em; font-weight: 400;
margin-bottom: 8px;
max-width: 540px;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
/* =========================================================
ARTICLE PAGES β unified reading experience
========================================================= */
/* Back link */
.back-link {
max-width: 720px; margin: 0 auto;
padding: 0 24px 32px;
}
.back-link a {
font-size: 14px; font-weight: 510; color: var(--fg3);
text-decoration: none; transition: color 0.15s;
display: inline-flex; align-items: center; gap: 6px;
}
.back-link a:hover { color: var(--fg); }
/* Legacy .back selector (for old-style posts) */
.back {
font-size: 13px; font-weight: 510; color: var(--fg4);
text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
margin-bottom: 32px; transition: color 0.15s;
}
.back:hover { color: var(--fg2); }
/* Article header β the unified pattern */
.article-header {
max-width: 720px; margin: 0 auto;
padding: 64px 24px 40px;
}
.article-header .meta {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 13px; font-weight: 500; color: var(--fg4);
letter-spacing: 0.02em;
margin-bottom: 16px;
display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.article-header .meta .read { opacity: 0.7; }
.article-header h1 {
font-size: 40px; font-weight: 510; line-height: 1.10;
letter-spacing: -0.704px; color: var(--fg);
margin-bottom: 16px;
}
.article-header .subtitle {
font-size: 18px; color: var(--fg3);
letter-spacing: -0.165px; font-weight: 400;
line-height: 1.60; margin-bottom: 16px;
}
.article-header .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
/* Legacy inline article styles (old-style posts using <article> + bare elements) */
article {
max-width: 720px; margin: 0 auto;
padding: 64px 24px 48px;
}
article .meta {
font-size: 13px; color: var(--fg4); margin-bottom: 24px;
display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
article .meta .read { opacity: 0.7; }
article h1 {
font-size: 40px; font-weight: 510; line-height: 1.10;
letter-spacing: -0.704px; color: var(--fg);
margin-bottom: 16px;
}
/* Article body β shared reading typography */
.article-body {
max-width: 720px; margin: 0 auto;
padding: 0 24px 80px;
}
/* Also target bare article child elements for old-style posts */
.article-body h2,
article h2,
.article-body h3,
article h3 {
position: relative;
}
/* H2 β section anchors. A heading-level permalink glyph that stays
muted by default and sharpens on hover/focus, so it never competes
with the prose until the reader reaches for it. Pure Linear: a mono
token, the quaternary text tone, no box, no icon, no color slop.
The anchor shifts the heading right by its own width on hover so
the glyph occupies space ahead of the title rather than colliding
with it β Linear's "compressed headline, expanded surroundings" at
the section level. */
.article-body h2,
article h2 {
font-size: 24px; font-weight: 590; color: var(--fg);
letter-spacing: -0.288px; line-height: 1.30;
margin: 56px 0 16px;
scroll-margin-top: 72px;
transition: padding-left 0.15s ease;
}
.article-body h3,
article h3 {
font-size: 17px; font-weight: 590; color: var(--fg2);
letter-spacing: -0.204px; line-height: 1.33;
margin: 36px 0 12px;
scroll-margin-top: 72px;
transition: padding-left 0.15s ease;
}
/* The permalink glyph β rendered via ::before on a JS-inserted <a>
wrapper so it is keyboard-focusable and copies a real anchor URL.
Lives outside the heading text flow as an absolutely-positioned
mono mark on its leading edge, mirroring how Linear places a mono
label to the left of a section title. */
.article-body h2 > .heading-anchor,
article h2 > .heading-anchor,
.article-body h3 > .heading-anchor,
article h3 > .heading-anchor {
position: absolute;
left: 0;
transform: translateX(-100%);
padding-right: 8px;
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.75em;
font-weight: 500;
line-height: inherit;
color: var(--fg4);
text-decoration: none;
opacity: 0;
transition: opacity 0.15s ease, color 0.15s ease;
-webkit-user-select: none;
user-select: none;
}
/* Shift the heading text right to make room for the glyph on hover, so
the title never reflows or jumps β the glyph opens a slot for itself. */
.article-body h2:hover,
article h2:hover,
.article-body h3:hover,
article h3:hover {
padding-left: 22px;
}
.article-body h2:hover > .heading-anchor,
article h2:hover > .heading-anchor,
.article-body h3:hover > .heading-anchor,
article h3:hover > .heading-anchor,
.article-body h2 > .heading-anchor:focus-visible,
article h2 > .heading-anchor:focus-visible,
.article-body h3 > .heading-anchor:focus-visible,
article h3 > .heading-anchor:focus-visible {
opacity: 1;
color: var(--accent-bright);
}
.article-body h2 > .heading-anchor:focus-visible,
article h2 > .heading-anchor:focus-visible,
.article-body h3 > .heading-anchor:focus-visible,
article h3 > .heading-anchor:focus-visible {
outline: 2px solid var(--accent-bright);
outline-offset: 4px;
border-radius: 2px;
}
.article-body p,
article p {
font-size: 16px; font-weight: 400; color: var(--fg2);
line-height: 1.70; margin-bottom: 24px;
letter-spacing: -0.01em;
}
.article-body a,
article a:not(.back):not(.back-link a):not(.cta):not(.logo):not(.post-row):not(footer a):not(nav a) {
color: var(--accent-bright); text-decoration: none;
transition: color 0.15s;
}
.article-body a:hover,
article a:not(.back):not(.back-link a):not(.cta):not(.logo):not(.post-row):not(footer a):not(nav a):hover {
color: var(--accent-hover);
}
.article-body ul, .article-body ol,
article ul, article ol {
margin: 0 0 24px 20px;
font-size: 16px; color: var(--fg2); line-height: 1.70;
letter-spacing: -0.01em;
}
.article-body li,
article li { margin-bottom: 8px; }
/* Inline code β Linear accent violet on dark surface */
.article-body code,
article code {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 14px; background: var(--surface);
border: 1px solid var(--border2);
border-radius: 4px; padding: 2px 6px;
color: var(--accent-bright);
}
/* Code blocks β refined for readability with language labels */
.article-body pre,
article pre {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px;
padding: 20px 24px;
margin: 28px 0;
overflow-x: auto;
position: relative;
}
.article-body pre code,
article pre code {
background: none; border: none; padding: 0;
font-size: 13px; line-height: 1.65;
color: var(--fg2);
display: block;
}
/* Code block language label β Linear Mono Label spec */
.article-body pre[data-lang]::before,
article pre[data-lang]::before {
content: attr(data-lang);
position: absolute; top: 10px; right: 14px;
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 11px; font-weight: 500;
color: var(--fg4);
text-transform: lowercase;
letter-spacing: 0.02em;
pointer-events: none;
}
/* Blockquote β Linear accent border, no left-border accent callout slop */
.article-body blockquote,
article blockquote {
border-left: 3px solid var(--accent);
padding: 12px 0 12px 20px;
margin: 28px 0;
color: var(--fg3);
}
.article-body blockquote p,
article blockquote p {
margin-bottom: 0; font-size: 15px; color: var(--fg3);
font-style: normal; line-height: 1.70;
}
/* Article end-tags */
.tags {
display: flex; flex-wrap: wrap; gap: 6px;
margin-top: 48px; padding-top: 24px;
border-top: 1px solid var(--border);
}
/* Read time β monospace, muted */
.read-time {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px; font-weight: 500; color: var(--fg4);
letter-spacing: 0.02em; margin-top: 12px;
}
/* Temporary-accounts post β unique nested structure */
.meta .date {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 13px; font-weight: 500; color: var(--fg4);
letter-spacing: 0.02em; margin-bottom: 16px;
}
.meta h1 {
font-size: 40px; font-weight: 510; line-height: 1.10;
letter-spacing: -0.704px; color: var(--fg);
margin-bottom: 16px;
}
.meta .subtitle {
font-size: 18px; color: var(--fg3);
letter-spacing: -0.165px; font-weight: 400;
line-height: 1.60; margin-bottom: 16px;
}
.meta .tags { margin-top: 16px; }
.meta .read-time {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px; font-weight: 500; color: var(--fg4);
letter-spacing: 0.02em; margin-top: 12px;
}
/* Article body class (temporary-accounts uses .body) */
article .body {
padding-top: 24px;
}
article .body p {
font-size: 16px; font-weight: 400; color: var(--fg2);
line-height: 1.70; margin-bottom: 24px;
letter-spacing: -0.01em;
}
article .body a {
color: var(--accent-bright); text-decoration: none;
transition: color 0.15s;
}
article .body a:hover { color: var(--accent-hover); }
article .body h2 {
font-size: 24px; font-weight: 590; color: var(--fg);
letter-spacing: -0.288px; line-height: 1.30;
margin: 56px 0 16px;
scroll-margin-top: 72px;
}
article .body h3 {
font-size: 17px; font-weight: 590; color: var(--fg2);
letter-spacing: -0.204px; line-height: 1.33;
margin: 36px 0 12px;
scroll-margin-top: 72px;
}
article .body ul, article .body ol {
margin: 0 0 24px 20px;
font-size: 16px; color: var(--fg2); line-height: 1.70;
letter-spacing: -0.01em;
}
article .body li { margin-bottom: 8px; }
article .body code {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 14px; background: var(--surface);
border: 1px solid var(--border2);
border-radius: 4px; padding: 2px 6px;
color: var(--accent-bright);
}
article .body pre {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px;
padding: 20px 24px;
margin: 28px 0;
overflow-x: auto;
position: relative;
}
article .body pre code {
background: none; border: none; padding: 0;
font-size: 13px; line-height: 1.65;
color: var(--fg2);
display: block;
}
article .body blockquote {
border-left: 3px solid var(--accent);
padding: 12px 0 12px 20px;
margin: 28px 0;
color: var(--fg3);
}
article .body blockquote p {
margin-bottom: 0; font-size: 15px; color: var(--fg3);
font-style: normal; line-height: 1.70;
}
article .body .tags {
display: flex; flex-wrap: wrap; gap: 6px;
margin-top: 48px; padding-top: 24px;
border-top: 1px solid var(--border);
}
/* =========================================================
SHARED ARTICLE COMPONENTS
========================================================= */
/* Callout / resource box β used across multiple posts */
.callout {
background: rgba(94,106,210,0.06);
border: 1px solid rgba(94,106,210,0.15);
border-radius: 8px; padding: 16px 20px;
margin: 24px 0;
}
.callout p { margin-bottom: 0; color: var(--fg2); }
/* CTA box (legacy name, used in epoll/dmca posts) */
.cta-box {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 10px;
padding: 24px; margin: 32px 0;
}
.cta-box h3 { margin-top: 0; color: var(--accent-bright); }
.cta-box p { margin-bottom: 12px; }
/* Benchmark grid β fastsdcpu, apertus, cancel-claude */
.bench-grid {
display: grid; grid-template-columns: 1fr 1fr;
gap: 12px; margin: 16px 0 24px;
}
.bench-card {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px; padding: 16px 20px;
}
.bench-card .label {
font-size: 12px; font-weight: 510; color: var(--fg4);
text-transform: uppercase; letter-spacing: 0.04em;
margin-bottom: 6px;
}
.bench-card .stat {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 28px; font-weight: 500; color: var(--fg);
letter-spacing: -0.02em;
}
.bench-card .detail {
font-size: 13px; color: var(--fg3); margin-top: 4px;
}
/* Spec grid β apertus, cancel-claude */
.specs-grid {
display: grid; grid-template-columns: 1fr 1fr;
gap: 12px; margin: 16px 0 24px;
}
.spec-item {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px; padding: 16px 20px;
}
.spec-label {
font-size: 12px; font-weight: 510; color: var(--fg4);
text-transform: uppercase; letter-spacing: 0.04em;
margin-bottom: 6px;
}
.spec-value {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 18px; font-weight: 500; color: var(--fg);
}
.value { color: var(--fg2); font-size: 15px; }
/* Compare table β budget-accelerators */
.compare-table {
width: 100%; border-collapse: collapse;
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px; overflow: hidden;
margin: 24px 0;
}
.compare-table th {
text-align: left; padding: 12px 16px; font-size: 13px;
font-weight: 510; color: var(--fg3);
border-bottom: 1px solid var(--border2);
background: rgba(255,255,255,0.02);
}
.compare-table td {
padding: 12px 16px; font-size: 14px; color: var(--fg2);
border-bottom: 1px solid var(--border);
}
.compare-table tr:last-child td { border-bottom: none; }
/* Verdict box β budget-accelerators */
.verdict {
background: rgba(94,106,210,0.06);
border: 1px solid rgba(94,106,210,0.15);
border-radius: 8px; padding: 16px 20px;
margin: 24px 0 16px;
}
.verdict p { margin-bottom: 0; color: var(--fg2); }
.verdict strong { color: var(--fg); font-weight: 590; }
/* Story card β daily-news */
.story-card {
background: var(--surface);
border: 1px solid var(--border2);
border-radius: 8px; padding: 20px 24px;
margin-bottom: 16px;
}
.story-card h3 {
font-size: 18px; font-weight: 590; color: var(--fg);
letter-spacing: -0.24px; margin: 0 0 8px;
}
.story-card p {
font-size: 15px; color: var(--fg3); line-height: 1.60;
margin: 0 0 8px;
}
.story-card .source {
font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px; color: var(--fg4);
}
.story-card a { color: var(--accent-bright); text-decoration: none; }
.story-card a:hover { color: var(--accent-hover); }
/* Stack list β self-hosting */
.stack-item {
display: flex; gap: 16px; align-items: baseline;
padding: 12px 0;
border-bottom: 1px solid var(--border);
}
.stack-item:last-child { border-bottom: none; }
.stack-item .name {
font-size: 16px; font-weight: 590; color: var(--fg);
white-space: nowrap; min-width: 120px;
}
.stack-item .desc {
font-size: 15px; color: var(--fg3); line-height: 1.60;
}
/* Note box β dmca */
.note-box {
background: var(--surface);
border: 1px solid var(--border2);