| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
|
|
| |
| |
| |
| #hy-chat .katex { |
| font: normal 1.21em KaTeX_Main, "Times New Roman", serif !important; |
| text-indent: 0 !important; |
| } |
|
|
| |
| |
| |
| #hy-chat .bot .markdown .katex, |
| #hy-chat .bot .markdown .katex *, |
| #hy-chat .bot .markdown .katex-display, |
| #hy-chat .bot .markdown .katex-display *, |
| #hy-chat .katex, |
| #hy-chat .katex *, |
| #hy-chat .katex-display, |
| #hy-chat .katex-display * { |
| letter-spacing: normal !important; |
| word-spacing: normal !important; |
| line-height: 1.2 !important; |
| } |
|
|
| |
| |
| |
| |
| #hy-chat .katex svg { |
| fill: currentColor; |
| stroke: none; |
| } |
| #hy-chat .katex svg path { |
| fill: currentColor; |
| } |
|
|
| |
| |
| |
| #hy-chat .katex .rlap, |
| #hy-chat .katex .llap, |
| #hy-chat .katex .clap { |
| line-height: 0 !important; |
| } |
| #hy-chat .katex .stretchy, |
| #hy-chat .katex .halfarrow-left, |
| #hy-chat .katex .halfarrow-right, |
| #hy-chat .katex .brace-left, |
| #hy-chat .katex .brace-right { |
| overflow: hidden !important; |
| } |
| #hy-chat .katex .rule, |
| #hy-chat .katex .mfrac .frac-line, |
| #hy-chat .katex .overline .overline-line, |
| #hy-chat .katex .underline .underline-line, |
| #hy-chat .katex .hline { |
| overflow: hidden !important; |
| } |
|
|
| |
| |
| |
| #hy-chat .katex, |
| #hy-chat .katex-display { |
| color: var(--hy-text, #222222) !important; |
| } |
|
|
| |
| #hy-chat .katex-display { |
| margin: 1em 0 !important; |
| padding: 0.4em 0 !important; |
| overflow-x: auto !important; |
| overflow-y: hidden !important; |
| -webkit-overflow-scrolling: touch; |
| } |
| #hy-chat .katex-display > .katex { |
| text-align: center !important; |
| } |
|
|
| |
| #hy-chat .katex-display::-webkit-scrollbar { |
| height: 3px; |
| } |
| #hy-chat .katex-display::-webkit-scrollbar-track { |
| background: transparent; |
| } |
| #hy-chat .katex-display::-webkit-scrollbar-thumb { |
| background: #d0d0d0; |
| border-radius: 2px; |
| } |
|
|
| |
| #hy-chat p .katex, |
| #hy-chat li .katex, |
| #hy-chat td .katex { |
| font-size: 1.05em; |
| vertical-align: baseline; |
| } |
|
|
| |
| #hy-chat .katex-error { |
| color: var(--hy-text-muted, #666) !important; |
| font-family: "SF Mono", "Fira Code", "JetBrains Mono", monospace !important; |
| font-size: 0.88em !important; |
| background: var(--hy-bg-muted, #f5f5f7) !important; |
| padding: 1px 5px !important; |
| border-radius: 3px !important; |
| } |
|
|
| |
| .dark #hy-chat .katex, |
| .dark #hy-chat .katex-display { |
| color: var(--hy-text, #e8e8e8) !important; |
| } |
| .dark #hy-chat .katex-display::-webkit-scrollbar-thumb { |
| background: #404040; |
| } |
| .dark #hy-chat .katex-error { |
| color: var(--hy-text-muted, #909090) !important; |
| background: var(--hy-bg-muted, #2a2a2a) !important; |
| } |
|
|