This commit is contained in:
HuangHai
2026-01-20 07:43:13 +08:00
parent 6263487425
commit b0b4533f57
6 changed files with 124 additions and 2 deletions

View File

@@ -278,6 +278,42 @@ body {
margin-bottom: 12px;
}
/* Markdown Table Styling in AI Result */
.ai-result table {
width: 100%;
border-collapse: collapse;
margin: 16px 0;
font-size: 13px;
background-color: var(--card-bg); /* Use card bg to distinguish from ai-box bg */
border: 1px solid var(--card-border);
border-radius: 6px;
overflow: hidden; /* For rounded corners on table */
}
.ai-result th,
.ai-result td {
padding: 10px 12px;
border: 1px solid var(--card-border); /* Explicit border color */
text-align: left;
}
.ai-result th {
background-color: rgba(15, 23, 42, 0.8);
color: var(--text-secondary);
font-weight: 600;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.ai-result tr:nth-child(even) {
background-color: rgba(255, 255, 255, 0.02); /* Slight zebra striping */
}
.ai-result tr:hover td {
background-color: var(--table-row-hover);
}
/* Custom Scrollbar Webkit */
::-webkit-scrollbar {
width: 8px;