CSS · 4076 bytes Raw Blame History
1 @import "tailwindcss";
2
3 @theme {
4 --color-background: #fafaf9;
5 --color-background-dark: #1c1917;
6 --color-foreground: #292524;
7 --color-foreground-dark: #e7e5e4;
8
9 --color-surface-50: #fafaf9;
10 --color-surface-100: #f5f5f4;
11 --color-surface-200: #e7e5e4;
12 --color-surface-300: #d6d3d1;
13 --color-surface-400: #a8a29e;
14 --color-surface-500: #78716c;
15 --color-surface-600: #57534e;
16 --color-surface-700: #44403c;
17 --color-surface-800: #292524;
18 --color-surface-900: #1c1917;
19 --color-surface-950: #0c0a09;
20
21 --color-accent: #5294e2;
22 --color-accent-hover: #4080cc;
23
24 --font-sans: "Inter", system-ui, sans-serif;
25 --font-mono: "JetBrains Mono", "Menlo", "Monaco", monospace;
26 }
27
28 :root {
29 --background: #fafaf9;
30 --foreground: #292524;
31 }
32
33 @media (prefers-color-scheme: dark) {
34 :root {
35 --background: #1c1917;
36 --foreground: #e7e5e4;
37 }
38 }
39
40 body {
41 color: var(--foreground);
42 background: var(--background);
43 font-family: var(--font-sans);
44 }
45
46 /* Terminal styling */
47 .terminal {
48 font-family: var(--font-mono);
49 background: var(--color-surface-900);
50 color: var(--color-surface-100);
51 border-radius: 0.5rem;
52 }
53
54 .terminal-header {
55 display: flex;
56 align-items: center;
57 gap: 0.5rem;
58 padding: 0.75rem 1rem;
59 border-bottom: 1px solid var(--color-surface-700);
60 }
61
62 .terminal-dot {
63 width: 0.75rem;
64 height: 0.75rem;
65 border-radius: 9999px;
66 }
67
68 .terminal-content {
69 padding: 1rem;
70 overflow-x: auto;
71 }
72
73 /* Shell syntax highlighting */
74 .sh-command { color: #22c55e; }
75 .sh-keyword { color: #d946ef; font-weight: 600; }
76 .sh-option { color: #3b82f6; }
77 .sh-string { color: #eab308; }
78 .sh-variable { color: #d946ef; }
79 .sh-comment { color: #71717a; }
80 .sh-operator { color: #06b6d4; }
81 .sh-number { color: #06b6d4; }
82 .sh-path { color: #60a5fa; }
83 .sh-prompt { color: #22c55e; user-select: none; }
84 .sh-text { color: #d6d3d1; }
85
86 /* Lua syntax highlighting */
87 .lua-keyword { color: #d946ef; font-weight: 600; }
88 .lua-string { color: #eab308; }
89 .lua-comment { color: #71717a; }
90 .lua-number { color: #06b6d4; }
91 .lua-function { color: #22c55e; }
92 .lua-operator { color: #06b6d4; }
93 .lua-text { color: #d6d3d1; }
94
95 /* Table styling for MDX */
96 table {
97 width: 100%;
98 border-collapse: collapse;
99 margin: 1.5rem 0;
100 font-size: 0.875rem;
101 }
102
103 th {
104 background: var(--color-surface-100);
105 text-align: left;
106 padding: 0.5rem 1rem;
107 font-weight: 600;
108 color: var(--color-surface-900);
109 border: 1px solid var(--color-surface-200);
110 }
111
112 td {
113 padding: 0.5rem 1rem;
114 border: 1px solid var(--color-surface-200);
115 color: var(--color-surface-700);
116 }
117
118 @media (prefers-color-scheme: dark) {
119 th {
120 background: var(--color-surface-800);
121 color: var(--color-surface-100);
122 border-color: var(--color-surface-700);
123 }
124 td {
125 border-color: var(--color-surface-700);
126 color: var(--color-surface-300);
127 }
128 }
129
130 tr:nth-child(even) td {
131 background: var(--color-surface-50);
132 }
133
134 @media (prefers-color-scheme: dark) {
135 tr:nth-child(even) td {
136 background: color-mix(in srgb, var(--color-surface-800) 50%, transparent);
137 }
138 }
139
140 /* Hero section */
141 .hero-bg {
142 background-image: url('/hero-tarmac.jpg');
143 background-size: cover;
144 background-position: center;
145 background-attachment: fixed;
146 }
147
148 /* Scrolling cards over static background */
149 .card {
150 background: color-mix(in srgb, white 90%, transparent);
151 backdrop-filter: blur(8px);
152 border-radius: 0.75rem;
153 padding: 1.5rem;
154 box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
155 }
156
157 @media (prefers-color-scheme: dark) {
158 .card {
159 background: color-mix(in srgb, var(--color-surface-900) 90%, transparent);
160 }
161 }
162
163 /* Screenshot placeholder */
164 .screenshot-placeholder {
165 border: 2px dashed var(--color-surface-300);
166 border-radius: 0.5rem;
167 padding: 2rem;
168 text-align: center;
169 color: var(--color-surface-500);
170 margin: 1.5rem 0;
171 background: var(--color-surface-100);
172 }
173
174 @media (prefers-color-scheme: dark) {
175 .screenshot-placeholder {
176 border-color: var(--color-surface-600);
177 color: var(--color-surface-400);
178 background: color-mix(in srgb, var(--color-surface-800) 50%, transparent);
179 }
180 }