File size: 4,415 Bytes
a7ede54
 
 
 
 
 
 
 
 
 
 
 
 
 
cd3f315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ce28e6a
 
 
 
671594c
50fd8b2
671594c
 
50fd8b2
 
671594c
50fd8b2
 
671594c
50fd8b2
671594c
 
 
 
50fd8b2
 
 
 
 
 
671594c
 
50fd8b2
 
 
671594c
 
50fd8b2
 
 
 
 
 
 
 
 
 
 
 
 
671594c
50fd8b2
 
 
 
 
 
671594c
50fd8b2
 
671594c
 
50fd8b2
 
 
 
671594c
 
50fd8b2
 
 
 
 
671594c
 
 
 
50fd8b2
 
671594c
50fd8b2
 
671594c
50fd8b2
 
671594c
50fd8b2
 
671594c
 
50fd8b2
 
 
 
671594c
50fd8b2
 
671594c
 
 
50fd8b2
671594c
50fd8b2
 
671594c
 
50fd8b2
 
671594c
 
 
50fd8b2
671594c
 
50fd8b2
 
671594c
 
50fd8b2
 
671594c
 
50fd8b2
671594c
 
50fd8b2
671594c
 
 
50fd8b2
 
671594c
 
50fd8b2
 
 
671594c
 
50fd8b2
 
 
 
 
 
 
 
 
 
 
 
 
 
671594c
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

@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  margin: 0;
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f9fafb;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.5);
  border-radius: 3px;
}

.perspective-1000 {
  perspective: 1000px;
}
.transform-style-3d {
  transform-style: preserve-3d;
}
.backface-hidden {
  backface-visibility: hidden;
}
.rotate-y-180 {
  transform: rotateY(180deg);
}

.auto-rows-fr {
  grid-auto-rows: 1fr;
}

/* --- Enhanced Markdown Styles --- */
.markdown-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: inherit;
}

/* Paragraphs */
.markdown-body p {
  margin-bottom: 0.8em;
}
.markdown-body p:last-child {
  margin-bottom: 0;
}

/* Lists - Critical Fix for "Messy" look */
.markdown-body ul {
  list-style-type: disc !important;
  padding-left: 1.5em !important;
  margin-bottom: 0.8em;
}
.markdown-body ol {
  list-style-type: decimal !important;
  padding-left: 1.5em !important;
  margin-bottom: 0.8em;
}
.markdown-body li {
  margin-bottom: 0.2em;
  padding-left: 0.2em;
}
.markdown-body li > p {
  margin-bottom: 0.4em; /* Tighter spacing inside lists */
}

/* Headings */
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 {
  font-weight: 700;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  line-height: 1.3;
}
.markdown-body h1 { font-size: 1.4em; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 0.3em; }
.markdown-body h2 { font-size: 1.25em; }
.markdown-body h3 { font-size: 1.1em; }
.markdown-body h4 { font-size: 1em; }

/* Code Blocks & Inline Code */
.markdown-body pre {
  background-color: rgba(0, 0, 0, 0.05); /* Light gray background */
  padding: 1em;
  border-radius: 0.5em;
  overflow-x: auto;
  margin-bottom: 1em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  border: 1px solid rgba(0,0,0,0.05);
}
.markdown-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.2em 0.4em;
  border-radius: 0.3em;
  font-size: 0.85em;
}
.markdown-body pre code {
  background-color: transparent;
  padding: 0;
  font-size: 1em;
  color: inherit;
}

/* Quotes */
.markdown-body blockquote {
  border-left: 4px solid rgba(0, 0, 0, 0.15);
  padding-left: 1em;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1em;
  font-style: italic;
  opacity: 0.8;
  background-color: rgba(0,0,0,0.02);
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  border-radius: 0 0.3em 0.3em 0;
}

/* Tables */
.markdown-body table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
  font-size: 0.9em;
  overflow-x: auto;
  display: block; /* Make tables scrollable on small screens */
}
.markdown-body th, .markdown-body td {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.5em 0.8em;
  text-align: left;
}
.markdown-body th {
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

/* Links */
.markdown-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
}

/* --- Color Overrides for User Bubbles (Blue Background) --- */
.bg-blue-600 .markdown-body code {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}
.bg-blue-600 .markdown-body pre {
  background-color: rgba(0, 0, 0, 0.2);
  border-color: rgba(255,255,255,0.1);
  color: #e5e7eb;
}
.bg-blue-600 .markdown-body blockquote {
  border-left-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255,255,255,0.1);
  color: #e5e7eb;
}
.bg-blue-600 .markdown-body th {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.bg-blue-600 .markdown-body td {
  border-color: rgba(255,255,255,0.2);
}
.bg-blue-600 .markdown-body a {
  color: white;
}
.bg-blue-600 .markdown-body h1, 
.bg-blue-600 .markdown-body h2, 
.bg-blue-600 .markdown-body h3 {
  border-bottom-color: rgba(255,255,255,0.3);
}