-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
418 lines (350 loc) Β· 7.79 KB
/
index.css
File metadata and controls
418 lines (350 loc) Β· 7.79 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
@tailwind base;
@tailwind components;
@tailwind utilities;
html {
height: 100dvh;
margin: 0;
padding: 0;
overflow: hidden;
}
body {
height: 100dvh;
overflow: hidden;
margin: 0;
padding: 0;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
background: #333;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.1);
border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.2);
}
/* Additional styles for markdown content */
.markdown-content {
line-height: 1.6;
}
.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
margin-top: 1.5em;
margin-bottom: 0.5em;
font-weight: 600;
color: #ffffff;
}
.markdown-content h1 {
font-size: 2.25rem;
line-height: 2.5rem;
}
.markdown-content h2 {
font-size: 1.875rem;
line-height: 2.25rem;
}
.markdown-content h3 {
font-size: 1.5rem;
line-height: 1.75rem;
}
.markdown-content h4 {
font-size: 1.25rem;
line-height: 1.75rem;
}
.markdown-content h5 {
font-size: 1.125rem;
line-height: 1.75rem;
}
.markdown-content h6 {
font-size: 1rem;
line-height: 1.5rem;
}
.markdown-content p {
margin-bottom: 1rem;
color: #cbd5e1;
}
.markdown-content ul,
.markdown-content ol {
margin-bottom: 1rem;
padding-left: 2rem;
}
.markdown-content li {
margin-bottom: 0.5rem;
color: #cbd5e1;
}
.markdown-content blockquote {
border-left: 4px solid #3b82f6;
padding-left: 1rem;
margin: 1rem 0;
color: #e2e8f0;
background-color: rgba(59, 130, 246, 0.1);
}
.markdown-content code {
background-color: rgba(59, 130, 246, 0.2);
padding: 0.2rem 0.4rem;
border-radius: 0.25rem;
font-family: 'Courier New', monospace;
font-size: 0.875rem;
color: #60a5fa;
}
.markdown-content pre {
background-color: #1e293b;
padding: 1rem;
border-radius: 0.5rem;
overflow-x: auto;
margin: 1rem 0;
border: 1px solid #334155;
}
.markdown-content pre code {
background-color: transparent;
padding: 0;
color: #f8fafc;
font-size: 0.875rem;
}
.markdown-content hr {
margin: 2rem 0;
border: none;
height: 1px;
background-color: #334155;
}
.markdown-content strong {
font-weight: 600;
color: #f1f5f9;
}
.markdown-content em {
font-style: italic;
color: #e2e8f0;
}
/* Improve spacing for nested lists */
.markdown-content ol li ol,
.markdown-content ul li ul,
.markdown-content ul li ol,
.markdown-content ol li ul {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
/* Add better spacing for consecutive paragraphs */
.markdown-content p+p {
margin-top: 0.25rem;
}
/* Improve accessibility */
.markdown-content a {
color: #60a5fa;
text-decoration: underline;
}
.markdown-content a:hover {
color: #3b82f6;
}
/* Add focus styles for interactive elements */
.markdown-content :focus {
outline: 2px solid #60a5fa;
outline-offset: 2px;
}
.markdown-content :focus:not(:focus-visible) {
outline: none;
}
/* 3D Transform Utilities for Flashcards */
.perspective-1000 {
perspective: 1000px;
}
.transform-style-3d {
transform-style: preserve-3d;
}
.backface-hidden {
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.rotate-y-180 {
transform: rotateY(180deg);
}
/* Smooth transitions for all interactive elements */
* {
-webkit-tap-highlight-color: transparent;
}
button,
a,
input,
textarea {
transition: all 0.2s ease-out;
}
/* Enhanced Chat Interface Animations */
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(20px) scale(0.95);
}
to {
opacity: 1;
transform: translateY(0) scale(1);
}
}
@keyframes pulse-glow {
0%,
100% {
box-shadow: 0 0 5px rgba(99, 102, 241, 0.4);
}
50% {
box-shadow: 0 0 20px rgba(99, 102, 241, 0.6), 0 0 30px rgba(99, 102, 241, 0.4);
}
}
.animate-slide-in-up {
animation: slideInUp 0.3s ease-out;
}
.animate-pulse-glow {
animation: pulse-glow 2s ease-in-out infinite;
}
/* Enhanced Message Styles */
.message-ai {
background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(31, 41, 55, 0.9) 100%);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.message-user {
background: linear-gradient(135deg, var(--primary) 0%, rgba(99, 102, 241, 0.9) 100%);
backdrop-filter: blur(10px);
box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}
/* Enhanced Button Styles */
.btn-primary-enhanced {
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
transition: all 0.3s ease;
}
.btn-primary-enhanced:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}
.btn-secondary-enhanced {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.8) 0%, rgba(5, 150, 105, 0.9) 100%);
box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
transition: all 0.3s ease;
}
.btn-secondary-enhanced:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}
/* Shimmer animation for skeleton loaders */
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
.animate-shimmer {
animation: shimmer 2s infinite linear;
}
/* Custom slider styles */
.slider-thumb::-webkit-slider-thumb {
appearance: none;
width: 0px;
height: 0px;
border-radius: 50%;
background: transparent;
border: none;
box-shadow: none;
cursor: pointer;
}
.slider-thumb::-moz-range-thumb {
width: 0px;
height: 0px;
border-radius: 50%;
background: transparent;
border: none;
box-shadow: none;
cursor: pointer;
}
/* Mobile Bottom Nav Spacing */
@media (max-width: 768px) {
body {
padding-bottom: 100px !important;
}
}
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 222.2 84% 4.9%;
--card: 0 0% 100%;
--card-foreground: 222.2 84% 4.9%;
--popover: 0 0% 100%;
--popover-foreground: 222.2 84% 4.9%;
--primary: 221.2 83.2% 53.3%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
--border: 214.3 31.8% 91.4%;
--input: 214.3 31.8% 91.4%;
--ring: 221.2 83.2% 53.3%;
--radius: 0.5rem;
/* Fluid Typography */
--font-h1: clamp(1.75rem, 5vw + 1rem, 2.75rem);
--font-h2: clamp(1.25rem, 3.5vw + 0.5rem, 2rem);
--font-p: clamp(0.875rem, 2vw + 0.25rem, 1rem);
--font-small: clamp(0.75rem, 1.5vw + 0.25rem, 0.875rem);
}
.dark {
--background: 222.2 84% 4.9%;
--foreground: 210 40% 98%;
--card: 222.2 84% 4.9%;
--card-foreground: 210 40% 98%;
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--primary: 217.2 91.2% 59.8%;
--primary-foreground: 222.2 47.4% 11.2%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 210 40% 98%;
--border: 217.2 32.6% 17.5%;
--input: 217.2 32.6% 17.5%;
--ring: 224.3 76.3% 48%;
}
}
@layer base {
* {
border-color: hsl(var(--border));
}
body {
@apply bg-background text-foreground;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}