This commit is contained in:
HuangHai
2026-01-21 09:59:09 +08:00
parent 2fda6f0dcf
commit 0f4435b51c
9 changed files with 158 additions and 79 deletions

View File

@@ -10,7 +10,7 @@
--success-color: #10b981;
--table-header-bg: #0f172a;
--table-row-hover: #334155;
--scrollbar-thumb: #475569;
--scrollbar-thumb: #334155;
--scrollbar-track: #0f172a;
}
@@ -230,7 +230,7 @@ body {
.ai-box {
flex: 1;
background-color: rgba(15, 23, 42, 0.3);
background-color: #243347;
border-radius: 8px;
border: 1px solid var(--card-border);
padding: 16px;
@@ -240,6 +240,7 @@ body {
color: #cbd5e1;
scrollbar-width: thin;
scrollbar-color: var(--scrollbar-thumb) transparent;
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Markdown & LaTeX Rendering */
@@ -249,6 +250,7 @@ body {
line-height: 1.8;
word-wrap: break-word;
color: #cbd5e1;
background-color: transparent !important;
}
.markdown-body h1, .markdown-body h2, .markdown-body h3,
@@ -257,37 +259,40 @@ body {
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
color: var(--text-primary);
color: var(--text-primary) !important;
background-color: transparent !important;
}
.markdown-body h1 { font-size: 1.8em; border-bottom: 1px solid var(--card-border); padding-bottom: 0.3em; }
.markdown-body h2 { font-size: 1.4em; border-bottom: 1px solid var(--card-border); padding-bottom: 0.3em; }
.markdown-body h3 { font-size: 1.2em; }
.markdown-body p { margin-top: 0; margin-bottom: 16px; }
.markdown-body p { margin-top: 0; margin-bottom: 16px; background-color: transparent !important; }
.markdown-body ul, .markdown-body ol {
padding-left: 2em;
margin-top: 0;
margin-bottom: 16px;
background-color: transparent !important;
}
.markdown-body li { margin: 0.25em 0; }
.markdown-body li { margin: 0.25em 0; background-color: transparent !important; }
.markdown-body strong { font-weight: 600; color: #fff; }
.markdown-body strong { font-weight: 600; color: #fff !important; background-color: transparent !important; }
.markdown-body blockquote {
padding: 0 1em;
color: #94a3b8;
border-left: 0.25em solid #3b82f6;
margin: 0 0 16px 0;
background-color: transparent !important;
}
.markdown-body code {
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
background-color: rgba(148, 163, 184, 0.1);
background-color: rgba(59, 130, 246, 0.1) !important;
border-radius: 6px;
font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
}
@@ -303,11 +308,7 @@ body {
border-collapse: collapse;
margin-top: 0;
margin-bottom: 16px;
}
.markdown-body table th {
font-weight: 600;
background-color: rgba(15, 23, 42, 0.8);
background-color: transparent !important;
}
.markdown-body table th,
@@ -316,13 +317,18 @@ body {
border: 1px solid var(--card-border);
}
.markdown-body table th {
font-weight: 600;
background-color: #334155 !important;
}
.markdown-body table tr {
background-color: transparent;
background-color: transparent !important;
border-top: 1px solid var(--card-border);
}
.markdown-body table tr:nth-child(2n) {
background-color: rgba(30, 41, 59, 0.3);
background-color: rgba(51, 65, 85, 0.3) !important;
}
/* LaTeX Styles */