@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
css 292 lines 4.92 KB
Raw
1 :root {
2 --text: #6b6375;
3 --text-h: #08060d;
4 --bg: #fff;
5 --border: #e5e4e7;
6 --code-bg: #f4f3ec;
7 --accent: #aa3bff;
8 --accent-bg: rgba(170, 59, 255, 0.1);
9 --accent-border: rgba(170, 59, 255, 0.5);
10 --social-bg: rgba(244, 243, 236, 0.5);
11 --shadow: rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
12
13 --sans: system-ui, "Segoe UI", Roboto, sans-serif;
14 --heading: system-ui, "Segoe UI", Roboto, sans-serif;
15 --mono: ui-monospace, Consolas, monospace;
16
17 font: 18px/145% var(--sans);
18 letter-spacing: 0.18px;
19 color-scheme: light dark;
20 color: var(--text);
21 background: var(--bg);
22 font-synthesis: none;
23 text-rendering: optimizeLegibility;
24 -webkit-font-smoothing: antialiased;
25 -moz-osx-font-smoothing: grayscale;
26
27 @media (max-width: 1024px) {
28 font-size: 16px;
29 }
30 }
31
32 @media (prefers-color-scheme: dark) {
33 :root {
34 --text: #9ca3af;
35 --text-h: #f3f4f6;
36 --bg: #16171d;
37 --border: #2e303a;
38 --code-bg: #1f2028;
39 --accent: #c084fc;
40 --accent-bg: rgba(192, 132, 252, 0.15);
41 --accent-border: rgba(192, 132, 252, 0.5);
42 --social-bg: rgba(47, 48, 58, 0.5);
43 --shadow: rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
44 }
45
46 #social .button-icon {
47 filter: invert(1) brightness(2);
48 }
49 }
50
51 body {
52 margin: 0;
53 }
54
55 h1,
56 h2 {
57 font-family: var(--heading);
58 font-weight: 500;
59 color: var(--text-h);
60 }
61
62 h1 {
63 font-size: 56px;
64 letter-spacing: -1.68px;
65 margin: 32px 0;
66 @media (max-width: 1024px) {
67 font-size: 36px;
68 margin: 20px 0;
69 }
70 }
71 h2 {
72 font-size: 24px;
73 line-height: 118%;
74 letter-spacing: -0.24px;
75 margin: 0 0 8px;
76 @media (max-width: 1024px) {
77 font-size: 20px;
78 }
79 }
80 p {
81 margin: 0;
82 }
83
84 code,
85 .counter {
86 font-family: var(--mono);
87 display: inline-flex;
88 border-radius: 4px;
89 color: var(--text-h);
90 }
91
92 code {
93 font-size: 15px;
94 line-height: 135%;
95 padding: 4px 8px;
96 background: var(--code-bg);
97 }
98
99 .counter {
100 font-size: 16px;
101 padding: 5px 10px;
102 border-radius: 5px;
103 color: var(--accent);
104 background: var(--accent-bg);
105 border: 2px solid transparent;
106 transition: border-color 0.3s;
107 margin-bottom: 24px;
108
109 &:hover {
110 border-color: var(--accent-border);
111 }
112 &:focus-visible {
113 outline: 2px solid var(--accent);
114 outline-offset: 2px;
115 }
116 }
117
118 .hero {
119 position: relative;
120
121 .base,
122 .framework,
123 .vite {
124 inset-inline: 0;
125 margin: 0 auto;
126 }
127
128 .base {
129 width: 170px;
130 position: relative;
131 z-index: 0;
132 }
133
134 .framework,
135 .vite {
136 position: absolute;
137 }
138
139 .framework {
140 z-index: 1;
141 top: 34px;
142 height: 28px;
143 transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg) scale(1.4);
144 }
145
146 .vite {
147 z-index: 0;
148 top: 107px;
149 height: 26px;
150 width: auto;
151 transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg) scale(0.8);
152 }
153 }
154
155 #app {
156 width: 1126px;
157 max-width: 100%;
158 margin: 0 auto;
159 text-align: center;
160 border-inline: 1px solid var(--border);
161 min-height: 100svh;
162 display: flex;
163 flex-direction: column;
164 box-sizing: border-box;
165 }
166
167 #center {
168 display: flex;
169 flex-direction: column;
170 gap: 25px;
171 place-content: center;
172 place-items: center;
173 flex-grow: 1;
174
175 @media (max-width: 1024px) {
176 padding: 32px 20px 24px;
177 gap: 18px;
178 }
179 }
180
181 #next-steps {
182 display: flex;
183 border-top: 1px solid var(--border);
184 text-align: left;
185
186 & > div {
187 flex: 1 1 0;
188 padding: 32px;
189 @media (max-width: 1024px) {
190 padding: 24px 20px;
191 }
192 }
193
194 .icon {
195 margin-bottom: 16px;
196 width: 22px;
197 height: 22px;
198 }
199
200 @media (max-width: 1024px) {
201 flex-direction: column;
202 text-align: center;
203 }
204 }
205
206 #docs {
207 border-right: 1px solid var(--border);
208
209 @media (max-width: 1024px) {
210 border-right: none;
211 border-bottom: 1px solid var(--border);
212 }
213 }
214
215 #next-steps ul {
216 list-style: none;
217 padding: 0;
218 display: flex;
219 gap: 8px;
220 margin: 32px 0 0;
221
222 .logo {
223 height: 18px;
224 }
225
226 a {
227 color: var(--text-h);
228 font-size: 16px;
229 border-radius: 6px;
230 background: var(--social-bg);
231 display: flex;
232 padding: 6px 12px;
233 align-items: center;
234 gap: 8px;
235 text-decoration: none;
236 transition: box-shadow 0.3s;
237
238 &:hover {
239 box-shadow: var(--shadow);
240 }
241 .button-icon {
242 height: 18px;
243 width: 18px;
244 }
245 }
246
247 @media (max-width: 1024px) {
248 margin-top: 20px;
249 flex-wrap: wrap;
250 justify-content: center;
251
252 li {
253 flex: 1 1 calc(50% - 8px);
254 }
255
256 a {
257 width: 100%;
258 justify-content: center;
259 box-sizing: border-box;
260 }
261 }
262 }
263
264 #spacer {
265 height: 88px;
266 border-top: 1px solid var(--border);
267 @media (max-width: 1024px) {
268 height: 48px;
269 }
270 }
271
272 .ticks {
273 position: relative;
274 width: 100%;
275
276 &::before,
277 &::after {
278 content: "";
279 position: absolute;
280 top: -4.5px;
281 border: 5px solid transparent;
282 }
283
284 &::before {
285 left: 0;
286 border-left-color: var(--border);
287 }
288 &::after {
289 right: 0;
290 border-right-color: var(--border);
291 }
292 }