Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

styles.css

758 lines15.9 KB

1@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Manrope:wght@400;500;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');
2@import 'tailwindcss';
3​
4@plugin "tailwindcss-animate";
5​
6@custom-variant dark (&:is(.dark *));
7​
8body {
9 @apply m-0;
10 font-family: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;
11 -webkit-font-smoothing: antialiased;
12 -moz-osx-font-smoothing: grayscale;
14​
15code {
16 font-family: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
18​
19:root {
20 --background: oklch(1 0 0);
21 --foreground: oklch(0.141 0.005 285.823);
22 --card: oklch(1 0 0);
23 --card-foreground: oklch(0.141 0.005 285.823);
24 --popover: oklch(1 0 0);
25 --popover-foreground: oklch(0.141 0.005 285.823);
26 --primary: oklch(0.21 0.006 285.885);
27 --primary-foreground: oklch(0.985 0 0);
28 --secondary: oklch(0.967 0.001 286.375);
29 --secondary-foreground: oklch(0.21 0.006 285.885);
30 --muted: oklch(0.967 0.001 286.375);
31 --muted-foreground: oklch(0.552 0.016 285.938);
32 --accent: oklch(0.967 0.001 286.375);
33 --accent-foreground: oklch(0.21 0.006 285.885);
34 --destructive: oklch(0.577 0.245 27.325);
35 --destructive-foreground: oklch(0.577 0.245 27.325);
36 --border: oklch(0.92 0.004 286.32);
37 --input: oklch(0.92 0.004 286.32);
38 --ring: oklch(0.871 0.006 286.286);
39 --chart-1: oklch(0.646 0.222 41.116);
40 --chart-2: oklch(0.6 0.118 184.704);
41 --chart-3: oklch(0.398 0.07 227.392);
42 --chart-4: oklch(0.828 0.189 84.429);
43 --chart-5: oklch(0.769 0.188 70.08);
44 --radius: 0.625rem;
45 --sidebar: oklch(0.985 0 0);
46 --sidebar-foreground: oklch(0.141 0.005 285.823);
47 --sidebar-primary: oklch(0.21 0.006 285.885);
48 --sidebar-primary-foreground: oklch(0.985 0 0);
49 --sidebar-accent: oklch(0.967 0.001 286.375);
50 --sidebar-accent-foreground: oklch(0.21 0.006 285.885);
51 --sidebar-border: oklch(0.92 0.004 286.32);
52 --sidebar-ring: oklch(0.871 0.006 286.286);
54​
55.dark {
56 --background: oklch(0.141 0.005 285.823);
57 --foreground: oklch(0.985 0 0);
58 --card: oklch(0.141 0.005 285.823);
59 --card-foreground: oklch(0.985 0 0);
60 --popover: oklch(0.141 0.005 285.823);
61 --popover-foreground: oklch(0.985 0 0);
62 --primary: oklch(0.985 0 0);
63 --primary-foreground: oklch(0.21 0.006 285.885);
64 --secondary: oklch(0.274 0.006 286.033);
65 --secondary-foreground: oklch(0.985 0 0);
66 --muted: oklch(0.274 0.006 286.033);
67 --muted-foreground: oklch(0.705 0.015 286.067);
68 --accent: oklch(0.274 0.006 286.033);
69 --accent-foreground: oklch(0.985 0 0);
70 --destructive: oklch(0.396 0.141 25.723);
71 --destructive-foreground: oklch(0.637 0.237 25.331);
72 --border: oklch(0.274 0.006 286.033);
73 --input: oklch(0.274 0.006 286.033);
74 --ring: oklch(0.442 0.017 285.786);
75 --chart-1: oklch(0.488 0.243 264.376);
76 --chart-2: oklch(0.696 0.17 162.48);
77 --chart-3: oklch(0.769 0.188 70.08);
78 --chart-4: oklch(0.627 0.265 303.9);
79 --chart-5: oklch(0.645 0.246 16.439);
80 --sidebar: oklch(0.21 0.006 285.885);
81 --sidebar-foreground: oklch(0.985 0 0);
82 --sidebar-primary: oklch(0.488 0.243 264.376);
83 --sidebar-primary-foreground: oklch(0.985 0 0);
84 --sidebar-accent: oklch(0.274 0.006 286.033);
85 --sidebar-accent-foreground: oklch(0.985 0 0);
86 --sidebar-border: oklch(0.274 0.006 286.033);
87 --sidebar-ring: oklch(0.442 0.017 285.786);
89​
90@theme inline {
91 --color-background: var(--background);
92 --color-foreground: var(--foreground);
93 --color-card: var(--card);
94 --color-card-foreground: var(--card-foreground);
95 --color-popover: var(--popover);
96 --color-popover-foreground: var(--popover-foreground);
97 --color-primary: var(--primary);
98 --color-primary-foreground: var(--primary-foreground);
99 --color-secondary: var(--secondary);
100 --color-secondary-foreground: var(--secondary-foreground);
101 --color-muted: var(--muted);
102 --color-muted-foreground: var(--muted-foreground);
103 --color-accent: var(--accent);
104 --color-accent-foreground: var(--accent-foreground);
105 --color-destructive: var(--destructive);
106 --color-destructive-foreground: var(--destructive-foreground);
107 --color-border: var(--border);
108 --color-input: var(--input);
109 --color-ring: var(--ring);
110 --color-chart-1: var(--chart-1);
111 --color-chart-2: var(--chart-2);
112 --color-chart-3: var(--chart-3);
113 --color-chart-4: var(--chart-4);
114 --color-chart-5: var(--chart-5);
115 --radius-sm: calc(var(--radius) - 4px);
116 --radius-md: calc(var(--radius) - 2px);
117 --radius-lg: var(--radius);
118 --radius-xl: calc(var(--radius) + 4px);
119 --color-sidebar: var(--sidebar);
120 --color-sidebar-foreground: var(--sidebar-foreground);
121 --color-sidebar-primary: var(--sidebar-primary);
122 --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
123 --color-sidebar-accent: var(--sidebar-accent);
124 --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
125 --color-sidebar-border: var(--sidebar-border);
126 --color-sidebar-ring: var(--sidebar-ring);
128​
129@layer base {
130 * {
131 @apply border-border outline-ring/50;
132 }
133 body {
134 @apply bg-background text-foreground;
135 }
137​
138.resume-body {
139 min-height: 100svh;
140 background:
141 radial-gradient(900px 460px at -10% -10%, rgba(79, 184, 178, 0.14), transparent 60%),
142 radial-gradient(900px 520px at 110% -10%, rgba(47, 106, 74, 0.12), transparent 64%),
143 linear-gradient(180deg, #f8fcfa 0%, #f3f8f6 48%, #f0f6f4 100%);
145​
146.resume-header {
147 position: sticky;
148 top: 0;
149 z-index: 50;
150 padding: 0.85rem 1rem 0;
152​
153.resume-nav {
154 width: min(1080px, calc(100% - 1rem));
155 margin-inline: auto;
156 border-radius: 999px;
157 border: 1px solid rgba(23, 58, 64, 0.12);
158 background: rgba(255, 255, 255, 0.78);
159 box-shadow: 0 14px 30px rgba(23, 58, 64, 0.08);
160 backdrop-filter: blur(8px);
161 padding: 0.5rem 0.65rem;
162 display: flex;
163 align-items: center;
164 gap: 0.5rem;
165 flex-wrap: wrap;
167​
168.resume-brand-wrap {
169 display: inline-flex;
170 align-items: center;
171 gap: 0.55rem;
172 margin-right: auto;
174​
175.resume-brand-mark {
176 width: 0.55rem;
177 height: 0.55rem;
178 border-radius: 999px;
179 background: linear-gradient(90deg, #56c6be, #7ed3bf);
180 box-shadow: 0 0 0 6px rgba(126, 211, 191, 0.24);
182​
183.resume-brand {
184 text-decoration: none;
185 color: #173a40;
186 font-family: 'Fraunces', Georgia, serif;
187 font-size: 1.03rem;
189​
190.resume-brand.is-active {
191 color: #2f6a4a;
193​
194.resume-role {
195 font: 700 0.66rem/1.2 'IBM Plex Mono', monospace;
196 letter-spacing: 0.08em;
197 text-transform: uppercase;
198 color: #5b7a80;
200​
201.resume-nav-links {
202 display: flex;
203 align-items: center;
204 gap: 0.15rem;
205 flex-wrap: wrap;
207​
208.resume-link {
209 text-decoration: none;
210 border-radius: 999px;
211 padding: 0.34rem 0.68rem;
212 font: 700 0.71rem/1.2 'IBM Plex Mono', monospace;
213 text-transform: uppercase;
214 letter-spacing: 0.07em;
215 color: #5b7a80;
216 transition: color 140ms ease, background-color 140ms ease;
218​
219.resume-link:hover,
220.resume-link.is-active {
221 color: #173a40;
222 background: rgba(79, 184, 178, 0.18);
224​
225.resume-demos {
226 position: relative;
228​
229.resume-demos-summary {
230 list-style: none;
231 cursor: pointer;
233​
234.resume-demos-summary::-webkit-details-marker {
235 display: none;
237​
238.resume-demos-popover {
239 position: absolute;
240 right: 0;
241 top: calc(100% + 0.45rem);
242 min-width: 14rem;
243 border-radius: 0.95rem;
244 border: 1px solid rgba(23, 58, 64, 0.12);
245 background: rgba(255, 255, 255, 0.95);
246 box-shadow: 0 18px 34px rgba(23, 58, 64, 0.12);
247 padding: 0.45rem;
249​
250.resume-demo-link {
251 display: block;
252 text-decoration: none;
253 border-radius: 0.6rem;
254 padding: 0.42rem 0.55rem;
255 font: 600 0.72rem/1.25 'IBM Plex Mono', monospace;
256 text-transform: uppercase;
257 letter-spacing: 0.05em;
258 color: #416166;
260​
261.resume-demo-link:hover,
262.resume-demo-link.is-active {
263 color: #173a40;
264 background: rgba(79, 184, 178, 0.14);
266​
267.resume-shell {
268 width: min(1080px, calc(100% - 2rem));
269 margin-inline: auto;
270 padding: 2rem 0 3.5rem;
271 color: #173a40;
273​
274.resume-hero,
275.resume-filter,
276.resume-panel,
277.timeline-card,
278.edu-card {
279 border: 1px solid rgba(23, 58, 64, 0.12);
280 background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
281 box-shadow:
282 0 1px 0 rgba(255, 255, 255, 0.82) inset,
283 0 18px 36px rgba(30, 90, 72, 0.08);
285​
286.resume-hero {
287 border-radius: 1.6rem;
288 padding: clamp(1.5rem, 3.2vw, 2.9rem);
289 margin-bottom: 1.2rem;
291​
292.resume-hero-layout {
293 display: grid;
294 grid-template-columns: minmax(0, 1fr) auto;
295 gap: 1.5rem;
296 align-items: start;
298​
299.resume-kicker {
300 margin: 0;
301 letter-spacing: 0.16em;
302 text-transform: uppercase;
303 font-weight: 700;
304 font-size: 0.68rem;
305 color: rgba(47, 106, 74, 0.9);
307​
308.resume-hero h1 {
309 margin: 0.55rem 0 0;
310 font-family: 'Fraunces', Georgia, serif;
311 font-size: clamp(2.2rem, 6.4vw, 4.2rem);
312 line-height: 1.02;
313 letter-spacing: -0.02em;
315​
316.resume-hero h1 span {
317 color: #328f97;
319​
320.resume-summary {
321 margin: 0.95rem 0 0;
322 max-width: 62ch;
323 font-size: clamp(1.02rem, 1.7vw, 1.18rem);
324 line-height: 1.78;
325 color: #416166;
327​
328.resume-meta {
329 margin: 1.2rem 0 0;
330 padding: 0;
331 list-style: none;
332 display: flex;
333 flex-wrap: wrap;
334 gap: 0.55rem;
336​
337.resume-meta li {
338 border-radius: 999px;
339 border: 1px solid rgba(47, 106, 74, 0.18);
340 background: rgba(255, 255, 255, 0.78);
341 padding: 0.4rem 0.8rem;
342 font: 600 0.74rem/1.2 'IBM Plex Mono', monospace;
343 color: #416166;
345​
346.resume-identity-card {
347 width: 4.9rem;
348 min-width: 4.9rem;
349 border-radius: 999px;
350 background: rgba(255, 255, 255, 0.88);
351 padding: 0.24rem;
352 justify-self: end;
353 box-shadow: 0 8px 18px rgba(23, 58, 64, 0.1);
355​
356.resume-portrait {
357 width: 100%;
358 aspect-ratio: 1 / 1;
359 object-fit: cover;
360 object-position: center 28%;
361 border-radius: 999px;
363​
364.resume-fact-row {
365 margin: 0.9rem 0 0;
366 display: grid;
367 grid-template-columns: repeat(4, minmax(0, 1fr));
368 gap: 0.42rem;
370​
371.resume-fact-row div {
372 border-radius: 0.6rem;
373 border: 1px solid rgba(23, 58, 64, 0.1);
374 background: rgba(255, 255, 255, 0.72);
375 padding: 0.42rem;
377​
378.resume-fact-row dt {
379 margin: 0;
380 font: 600 0.56rem/1.2 'IBM Plex Mono', monospace;
381 letter-spacing: 0.08em;
382 text-transform: uppercase;
383 color: #5f7f84;
385​
386.resume-fact-row dd {
387 margin: 0.16rem 0 0;
388 font: 700 0.76rem/1.2 'Manrope', sans-serif;
389 color: #173a40;
391​
392.resume-fact-grid {
393 display: grid;
394 grid-template-columns: repeat(2, minmax(0, 1fr));
395 gap: 0.4rem;
396 margin: 0.62rem 0 0;
398​
399.resume-fact {
400 border-radius: 0.62rem;
401 background: rgba(255, 255, 255, 0.82);
402 border: 1px solid rgba(23, 58, 64, 0.1);
403 padding: 0.42rem;
405​
406.resume-fact dt {
407 margin: 0;
408 font: 600 0.58rem/1.2 'IBM Plex Mono', monospace;
409 letter-spacing: 0.08em;
410 text-transform: uppercase;
411 color: #5f7f84;
413​
414.resume-fact dd {
415 margin: 0.16rem 0 0;
416 font: 700 0.82rem/1.2 'Manrope', sans-serif;
418​
419.resume-filter {
420 border-radius: 1.1rem;
421 padding: 0.95rem;
422 margin-bottom: 1.2rem;
424​
425.resume-filter-label {
426 margin-bottom: 0.65rem;
427 letter-spacing: 0.16em;
428 text-transform: uppercase;
429 font-weight: 700;
430 font-size: 0.66rem;
431 color: rgba(47, 106, 74, 0.9);
433​
434.resume-tags {
435 display: flex;
436 flex-wrap: wrap;
437 gap: 0.45rem;
439​
440.resume-tag {
441 border-radius: 999px;
442 border: 1px solid rgba(47, 106, 74, 0.18);
443 background: rgba(255, 255, 255, 0.72);
444 padding: 0.38rem 0.75rem;
445 font: 600 0.72rem/1.2 'IBM Plex Mono', monospace;
446 color: #416166;
447 transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
449​
450.resume-tag:hover {
451 transform: translateY(-1px);
452 background: rgba(79, 184, 178, 0.14);
454​
455.resume-tag[data-active='true'] {
456 background: #328f97;
457 border-color: #328f97;
458 color: white;
460​
461.resume-grid {
462 display: grid;
463 grid-template-columns: minmax(0, 17.5rem) minmax(0, 1fr);
464 gap: 1rem;
466​
467.resume-aside {
468 align-self: start;
469 position: sticky;
470 top: 5.7rem;
471 display: grid;
472 gap: 1rem;
474​
475.resume-panel {
476 border-radius: 1rem;
477 padding: 1rem;
479​
480.resume-panel h2,
481.section-head h2 {
482 margin: 0;
483 font-family: 'Fraunces', Georgia, serif;
484 font-size: clamp(1.35rem, 2.2vw, 1.8rem);
485 line-height: 1.14;
487​
488.resume-panel p,
489.resume-panel li,
490.timeline-card p,
491.edu-card p {
492 line-height: 1.72;
493 color: #416166;
495​
496.resume-panel ul {
497 margin: 0.8rem 0 0;
498 padding-left: 1.04rem;
500​
501.resume-mainline {
502 display: grid;
503 gap: 1rem;
505​
506.section-head {
507 display: flex;
508 justify-content: space-between;
509 align-items: baseline;
510 margin-bottom: 0.7rem;
512​
513.section-head p {
514 margin: 0;
515 font: 700 0.66rem/1.2 'IBM Plex Mono', monospace;
516 letter-spacing: 0.12em;
517 text-transform: uppercase;
518 color: #5f7f84;
520​
521.timeline {
522 list-style: none;
523 margin: 0;
524 padding: 0;
525 display: grid;
526 gap: 0.82rem;
528​
529.timeline-card,
530.edu-card {
531 border-radius: 1rem;
532 padding: 1.05rem;
534​
535.timeline-top {
536 display: flex;
537 justify-content: space-between;
538 align-items: baseline;
539 gap: 0.75rem;
541​
542.timeline-top h3 {
543 margin: 0;
544 font-family: 'Fraunces', Georgia, serif;
545 font-size: clamp(1.12rem, 1.9vw, 1.5rem);
546 line-height: 1.2;
548​
549.timeline-top span {
550 white-space: nowrap;
551 font: 600 0.68rem/1.25 'IBM Plex Mono', monospace;
552 letter-spacing: 0.08em;
553 text-transform: uppercase;
554 color: #5f7f84;
556​
557.timeline-company {
558 margin: 0.35rem 0 0;
559 color: #2f6a4a;
560 font-weight: 700;
562​
563.timeline-card details {
564 margin-top: 0.58rem;
566​
567.timeline-card summary {
568 cursor: pointer;
569 font: 700 0.68rem/1.2 'IBM Plex Mono', monospace;
570 letter-spacing: 0.11em;
571 text-transform: uppercase;
572 color: #5f7f84;
574​
575.markdown {
576 margin-top: 0.58rem;
578​
579.markdown ul {
580 margin: 0.45rem 0;
581 padding-left: 1.05rem;
583​
584.chip-row {
585 list-style: none;
586 margin: 0.82rem 0 0;
587 padding: 0;
588 display: flex;
589 flex-wrap: wrap;
590 gap: 0.38rem;
592​
593.chip-row li {
594 border-radius: 999px;
595 border: 1px solid rgba(47, 106, 74, 0.18);
596 background: rgba(255, 255, 255, 0.78);
597 padding: 0.3rem 0.66rem;
598 font: 600 0.67rem/1.15 'IBM Plex Mono', monospace;
599 color: #416166;
601​
602.edu-grid {
603 display: grid;
604 grid-template-columns: repeat(2, minmax(0, 1fr));
605 gap: 0.82rem;
607​
608.rise-in {
609 animation: rise-in 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
611​
612@keyframes rise-in {
613 from {
614 opacity: 0;
615 transform: translateY(10px);
616 }
617 to {
618 opacity: 1;
619 transform: translateY(0);
620 }
622​
623@media (max-width: 980px) {
624 .resume-grid {
625 grid-template-columns: minmax(0, 1fr);
626 }
627​
628 .resume-aside {
629 position: static;
630 }
631​
632 .resume-hero-layout {
633 grid-template-columns: minmax(0, 1fr);
634 }
635​
636 .resume-identity-card {
637 width: 4.9rem;
638 min-width: 0;
639 justify-self: start;
640 }
641​
642 .edu-grid {
643 grid-template-columns: minmax(0, 1fr);
644 }
645​
646 .resume-fact-row {
647 grid-template-columns: repeat(2, minmax(0, 1fr));
648 }
650​
651@media (max-width: 700px) {
652 .resume-shell {
653 width: min(1080px, calc(100% - 1rem));
654 padding-top: 1.5rem;
655 }
656​
657 .resume-header {
658 padding: 0.65rem 0.5rem 0;
659 }
660​
661 .resume-brand-wrap {
662 width: 100%;
663 }
664​
665 .resume-role {
666 width: 100%;
667 padding-left: 1.1rem;
668 }
669​
670 .resume-link {
671 padding: 0.42rem 0.74rem;
672 font-size: 0.74rem;
673 }
674​
675 .resume-kicker,
676 .resume-filter-label,
677 .section-head p {
678 font-size: 0.72rem;
679 }
680​
681 .resume-summary,
682 .resume-panel p,
683 .resume-panel li,
684 .timeline-card p,
685 .edu-card p {
686 font-size: 1rem;
687 line-height: 1.66;
688 }
689​
690 .timeline-card,
691 .edu-card,
692 .resume-panel,
693 .resume-filter {
694 padding: 1.15rem;
695 }
696​
697 .timeline-top h3 {
698 font-size: 1.35rem;
699 }
700​
701 .timeline-top span,
702 .timeline-card summary {
703 font-size: 0.74rem;
704 }
705​
706 .resume-filter {
707 padding: 0.9rem 0.82rem;
708 }
709​
710 .resume-tags {
711 flex-wrap: nowrap;
712 overflow-x: auto;
713 padding: 0.08rem 0.1rem 0.26rem;
714 margin-inline: -0.1rem;
715 -webkit-overflow-scrolling: touch;
716 scrollbar-width: thin;
717 }
718​
719 .resume-tags::-webkit-scrollbar {
720 height: 6px;
721 }
722​
723 .resume-tags::-webkit-scrollbar-thumb {
724 background: rgba(47, 106, 74, 0.24);
725 border-radius: 999px;
726 }
727​
728 .resume-tag,
729 .chip-row li,
730 .resume-meta li {
731 font-size: 0.74rem;
732 line-height: 1.25;
733 padding: 0.42rem 0.8rem;
734 }
735​
736 .resume-tag {
737 white-space: nowrap;
738 flex: 0 0 auto;
739 }
740​
741 .chip-row li:nth-child(n + 6) {
742 display: none;
743 }
744​
745 .timeline-top {
746 flex-direction: column;
747 align-items: flex-start;
748 }
749​
750 .timeline-top span {
751 white-space: normal;
752 }
753​
754 .resume-demos-popover {
755 left: 0;
756 right: auto;
757 }