-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.css
More file actions
460 lines (383 loc) · 9.36 KB
/
Copy pathindex.css
File metadata and controls
460 lines (383 loc) · 9.36 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
/* Global Styles */
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Custom Components */
@layer components {
.container {
@apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}
/* Button Styles */
.btn {
@apply inline-flex items-center justify-center px-6 py-3 rounded-lg font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2;
}
.btn-primary {
@apply bg-brand-600 text-white hover:bg-brand-700 focus:ring-brand-500 shadow-lg shadow-brand-500/20;
}
.btn-secondary {
@apply border border-slate-300 dark:border-slate-700 text-slate-700 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-800 focus:ring-slate-500;
}
/* Card Styles */
.card {
@apply bg-white dark:bg-slate-900 rounded-xl border border-slate-200 dark:border-slate-800 shadow-sm;
}
.card-hover {
@apply transition-all duration-200 hover:shadow-lg hover:border-brand-500/50;
}
/* Code Block Styles */
code {
@apply px-1.5 py-0.5 rounded bg-slate-100 dark:bg-slate-800 text-sm font-mono text-brand-600 dark:text-brand-400;
}
pre code {
@apply px-0 py-0 bg-transparent;
}
/* Link Styles */
a {
@apply transition-colors duration-200;
}
/* Table Styles */
table {
@apply w-full border-collapse;
}
th {
@apply bg-slate-100 dark:bg-slate-800 font-semibold text-left p-3;
}
td {
@apply p-3 border-b border-slate-200 dark:border-slate-800;
}
/* Section Spacing */
section {
@apply py-12 md:py-16 lg:py-20;
}
/* Heading Styles */
h1 {
@apply text-4xl md:text-5xl lg:text-6xl font-extrabold tracking-tight;
}
h2 {
@apply text-3xl md:text-4xl font-bold tracking-tight;
}
h3 {
@apply text-2xl md:text-3xl font-semibold;
}
h4 {
@apply text-xl md:text-2xl font-semibold;
}
/* Gradient Text */
.gradient-text {
@apply text-transparent bg-clip-text bg-gradient-to-r from-brand-500 to-blue-600;
}
/* Feature Card */
.feature-card {
@apply relative overflow-hidden rounded-xl border border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900/50 p-6 transition-all duration-200 hover:shadow-lg hover:border-brand-500/30;
}
/* Timeline */
.timeline-item {
@apply relative border-l-4 border-brand-600 pl-6 py-2 mb-6;
}
/* Badge */
.badge {
@apply inline-flex items-center px-3 py-1 rounded-full text-xs font-medium;
}
.badge-primary {
@apply bg-brand-100 dark:bg-brand-950 text-brand-700 dark:text-brand-300;
}
/* Input Styles */
input,
textarea,
select {
@apply w-full px-4 py-2 rounded-lg border border-slate-300 dark:border-slate-700 bg-white dark:bg-slate-900 text-slate-900 dark:text-slate-100 focus:outline-none focus:ring-2 focus:ring-brand-500 focus:border-transparent;
}
}
/* Utility Classes */
@layer utilities {
/* Animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
@keyframes float {
0%, 100% {
transform: translateY(0px) translateX(0px);
}
25% {
transform: translateY(-20px) translateX(10px);
}
50% {
transform: translateY(-10px) translateX(-10px);
}
75% {
transform: translateY(-30px) translateX(5px);
}
}
@keyframes float-chaotic {
0% {
transform: translate(-50%, -50%) rotate(var(--rotation, 0deg));
}
20% {
transform: translate(calc(-50% + 8px), calc(-50% - 12px)) rotate(calc(var(--rotation, 0deg) + 3deg));
}
40% {
transform: translate(calc(-50% - 6px), calc(-50% + 8px)) rotate(calc(var(--rotation, 0deg) - 4deg));
}
60% {
transform: translate(calc(-50% + 10px), calc(-50% + 5px)) rotate(calc(var(--rotation, 0deg) + 2deg));
}
80% {
transform: translate(calc(-50% - 4px), calc(-50% - 8px)) rotate(calc(var(--rotation, 0deg) - 3deg));
}
100% {
transform: translate(-50%, -50%) rotate(var(--rotation, 0deg));
}
}
@keyframes glow {
0%, 100% {
box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}
50% {
box-shadow: 0 0 40px rgba(20, 184, 166, 0.4);
}
}
@keyframes drawLine {
from {
stroke-dashoffset: 5000;
}
to {
stroke-dashoffset: 0;
}
}
@keyframes shimmer {
0% {
background-position: -1000px 0;
}
100% {
background-position: 1000px 0;
}
}
@keyframes bounce-slow {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
@keyframes flowLine {
0% {
left: -8rem;
}
100% {
left: 100%;
}
}
.animate-fadeIn {
animation: fadeIn 0.6s ease-out forwards;
}
.animate-slideIn {
animation: slideIn 0.6s ease-out forwards;
}
.animate-slideUp {
animation: slideUp 0.8s ease-out forwards;
}
.animate-scaleIn {
animation: scaleIn 0.5s ease-out forwards;
}
.animate-pulse-slow {
animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
.animate-float-chaotic {
animation: float-chaotic 3s ease-in-out infinite;
}
.animate-glow {
animation: glow 2s ease-in-out infinite;
}
.animate-draw-line {
stroke-dasharray: 5000;
stroke-dashoffset: 5000;
animation: drawLine 3s ease-in-out forwards;
}
.animate-shimmer {
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.1),
transparent
);
background-size: 1000px 100%;
animation: shimmer 2s infinite;
}
.animate-bounce-slow {
animation: bounce-slow 3s ease-in-out infinite;
}
.animate-flow-line {
animation: flowLine 4s ease-in-out infinite;
}
/* Stagger animations */
.stagger-1 {
animation-delay: 0.1s;
}
.stagger-2 {
animation-delay: 0.2s;
}
.stagger-3 {
animation-delay: 0.3s;
}
.stagger-4 {
animation-delay: 0.4s;
}
.stagger-5 {
animation-delay: 0.5s;
}
.stagger-6 {
animation-delay: 0.6s;
}
/* Text Selection */
::selection {
@apply bg-brand-200 text-brand-900;
}
.dark ::selection {
@apply bg-brand-800 text-brand-100;
}
/* Scrollbar */
.scrollbar-thin::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.scrollbar-thin::-webkit-scrollbar-track {
@apply bg-slate-100 dark:bg-slate-900;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
@apply bg-slate-300 dark:bg-slate-700 rounded-full;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
@apply bg-slate-400 dark:bg-slate-600;
}
/* Backdrop Blur */
.backdrop-blur-glass {
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
/* Focus Visible */
.focus-visible-ring {
@apply focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-500 focus-visible:ring-offset-2;
}
}
/* Dark Mode Transitions */
* {
transition-property: background-color, border-color, color;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
/* Prevent transition on theme change */
.no-transition * {
transition: none !important;
}
/* Typography Improvements */
.prose {
@apply max-w-none;
}
.prose p {
@apply text-slate-700 dark:text-slate-300 leading-relaxed;
}
.prose ul,
.prose ol {
@apply text-slate-700 dark:text-slate-300;
}
.prose a {
@apply text-brand-600 dark:text-brand-400 hover:text-brand-700 dark:hover:text-brand-300 no-underline;
}
.prose code {
@apply text-sm;
}
.prose pre {
@apply bg-slate-900 dark:bg-slate-950 rounded-lg overflow-x-auto;
}
.prose blockquote {
@apply border-l-4 border-brand-500 pl-4 italic text-slate-600 dark:text-slate-400;
}
/* Loading States */
.skeleton {
@apply animate-pulse bg-slate-200 dark:bg-slate-800 rounded;
}
/* Accessibility */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
/* Print Styles */
@media print {
.no-print {
display: none !important;
}
body {
@apply text-black bg-white;
}
}