Open History to see the last commit
1@import 'tailwindcss';
2@import 'highlight.js/styles/github-dark.css';
3
4/* Custom scrollbar styles */
5::-webkit-scrollbar {
6 width: 8px;
7}
8
9::-webkit-scrollbar-track {
10 background: transparent;
11}
12
13::-webkit-scrollbar-thumb {
14 background-color: rgba(156, 163, 175, 0.5);
15 border-radius: 4px;
16}
17
18::-webkit-scrollbar-thumb:hover {
19 background-color: rgba(156, 163, 175, 0.7);
20}
21
22/* Smooth transitions for dark mode */
23html {
24 transition: background-color 0.3s ease;
25}
26
27/* Markdown content styles */
28.prose {
29 max-width: none;
30 color: #e5e7eb; /* text-gray-200 */
31}
32
33/* .prose p {
34 margin-top: 1.25em;
35 margin-bottom: 1.25em;
36} */
37
38.prose code {
39 color: #e5e7eb;
40 background-color: rgba(31, 41, 55, 0.5);
41 padding: 0.2em 0.4em;
42 border-radius: 0.375rem;
43 font-size: 0.875em;
44}
45
46.prose pre {
47 background-color: rgba(31, 41, 55, 0.5);
48 border-radius: 0.5rem;
49 padding: 1rem;
50 margin: 1.25em 0;
51 overflow-x: auto;
52}
53
54.prose pre code {
55 background-color: transparent;
56 padding: 0;
57 border-radius: 0;
58 color: inherit;
59}
60
61.prose h1,
62.prose h2,
63.prose h3,
64.prose h4 {
65 color: #f9fafb; /* text-gray-50 */
66 /* margin-top: 2em; */
67 /* margin-bottom: 1em; */
68}
69
70.prose ul,
71.prose ol {
72 margin-top: 1.25em;
73 margin-bottom: 1.25em;
74 padding-left: 1.625em;
75}
76
77.prose li {
78 margin-top: 0.5em;
79 margin-bottom: 0.5em;
80}
81
82.prose blockquote {
83 border-left-color: #f97316; /* orange-500 */
84 background-color: rgba(249, 115, 22, 0.1);
85 padding: 1em;
86 margin: 1.25em 0;
87 border-radius: 0.5rem;
88}
89
90.prose hr {
91 border-color: rgba(249, 115, 22, 0.2);
92 margin: 2em 0;
93}
94
95.prose a {
96 color: #f97316; /* orange-500 */
97 text-decoration: underline;
98 text-decoration-thickness: 0.1em;
99 text-underline-offset: 0.2em;
100}
101
102.prose a:hover {
103 color: #fb923c; /* orange-400 */
104}
105
106.prose table {
107 width: 100%;
108 border-collapse: collapse;
109 margin: 1.25em 0;
110}
111
112.prose th,
113.prose td {
114 padding: 0.75em;
115 border: 1px solid rgba(249, 115, 22, 0.2);
116}
117
118.prose th {
119 background-color: rgba(249, 115, 22, 0.1);
120 font-weight: 600;
121}
122
123/* Message transition animations */
124.message-enter {
125 opacity: 0;
126 transform: translateY(10px);
127}
128
129.message-enter-active {
130 opacity: 1;
131 transform: translateY(0);
132 transition:
133 opacity 300ms,
134 transform 300ms;
135}
136
137.message-exit {
138 opacity: 1;
139}
140
141.message-exit-active {
142 opacity: 0;
143 transition: opacity 300ms;
144}
145
146/* Add/update these styles to match AI formatting capabilities */
147.prose h1 {
148 font-size: 2em;
149 /* margin-top: 1em; */
150 margin-bottom: 0.5em;
151}
152
153.prose h2 {
154 font-size: 1.5em;
155 margin-top: 1em;
156 margin-bottom: 0.5em;
157}
158
159.prose h3 {
160 font-size: 1.25em;
161 margin-top: 1em;
162 margin-bottom: 0.5em;
163}
164
165.prose ul {
166 list-style-type: disc;
167 padding-left: 1.5em;
168}
169
170.prose ol {
171 list-style-type: decimal;
172 padding-left: 1.5em;
173}
174
175.prose table {
176 width: 100%;
177 border-collapse: collapse;
178 margin: 1em 0;
179}
180
181.prose th,
182.prose td {
183 border: 1px solid rgba(249, 115, 22, 0.2);
184 padding: 0.5em;
185}
186
187.prose th {
188 background-color: rgba(249, 115, 22, 0.1);
189}
190
191.prose strong {
192 color: #f9fafb; /* text-gray-50 */
193 font-weight: 600;
194}
195
196.prose em {
197 font-style: italic;
198}
199
200.prose blockquote {
201 border-left: 4px solid #f97316; /* orange-500 */
202 padding-left: 1em;
203 margin: 1em 0;
204 color: #d1d5db; /* text-gray-300 */
205}
206
207/* Ensure code blocks match the AI's formatting */
208.prose code {
209 color: #e5e7eb;
210 background-color: rgba(31, 41, 55, 0.5);
211 padding: 0.2em 0.4em;
212 border-radius: 0.375rem;
213 font-size: 0.875em;
214}
215
216.prose pre {
217 background-color: rgba(31, 41, 55, 0.5);
218 border-radius: 0.5rem;
219 padding: 1rem;
220 margin: 1em 0;
221}
222
223.prose pre code {
224 background-color: transparent;
225 padding: 0;
226 border-radius: 0;
227}