Spaces:
Build error
Build error
Create static/css/custom.css
Browse files- static/css/custom.css +74 -0
static/css/custom.css
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Additional custom styles if needed */
|
| 2 |
+
|
| 3 |
+
/* Message content styling */
|
| 4 |
+
.prose {
|
| 5 |
+
color: #374151;
|
| 6 |
+
line-height: 1.75;
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
.prose p {
|
| 10 |
+
margin-bottom: 1rem;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.prose a {
|
| 14 |
+
color: #6366f1;
|
| 15 |
+
text-decoration: underline;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.prose a:hover {
|
| 19 |
+
color: #4f46e5;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.prose img {
|
| 23 |
+
max-width: 100%;
|
| 24 |
+
height: auto;
|
| 25 |
+
border-radius: 0.5rem;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.prose table {
|
| 29 |
+
width: 100%;
|
| 30 |
+
border-collapse: collapse;
|
| 31 |
+
margin: 1rem 0;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.prose th,
|
| 35 |
+
.prose td {
|
| 36 |
+
border: 1px solid #e5e7eb;
|
| 37 |
+
padding: 0.75rem;
|
| 38 |
+
text-align: left;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.prose th {
|
| 42 |
+
background-color: #f9fafb;
|
| 43 |
+
font-weight: 600;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/* Loading skeleton */
|
| 47 |
+
.skeleton {
|
| 48 |
+
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
|
| 49 |
+
background-size: 200% 100%;
|
| 50 |
+
animation: shimmer 1.5s infinite;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
@keyframes shimmer {
|
| 54 |
+
0% { background-position: -200% 0; }
|
| 55 |
+
100% { background-position: 200% 0; }
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
/* Custom scrollbar for message content */
|
| 59 |
+
.prose::-webkit-scrollbar {
|
| 60 |
+
width: 6px;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.prose::-webkit-scrollbar-track {
|
| 64 |
+
background: #f1f5f9;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.prose::-webkit-scrollbar-thumb {
|
| 68 |
+
background: #cbd5e1;
|
| 69 |
+
border-radius: 3px;
|
| 70 |
+
}
|
| 71 |
+
|
| 72 |
+
.prose::-webkit-scrollbar-thumb:hover {
|
| 73 |
+
background: #94a3b8;
|
| 74 |
+
}
|