Skip to content

feat(site): 行内公式恢复蓝色视觉标注#26

Merged
fancyboi999 merged 1 commit into
mainfrom
feat/math-inline-style
Jun 12, 2026
Merged

feat(site): 行内公式恢复蓝色视觉标注#26
fancyboi999 merged 1 commit into
mainfrom
feat/math-inline-style

Conversation

@fancyboi999

Copy link
Copy Markdown
Owner

5 行纯 CSS:.math-inline 套用与 inline code 一致的蓝字/浅背景/细边框,KaTeX 公式与代码框共享视觉语言。两主题本地实测正常(亮色截图见会话,暗色 computed style 验证 color rgb(107,142,255) / bg rgb(19,24,48))。不动判定与渲染逻辑。

KaTeX 渲染后公式融入正文,丢失了原 inline code 的蓝色框视觉。
给 .math-inline 套用与 .lesson-article code 一致的蓝字/浅背景/
细边框,公式与代码共享同一套视觉语言,只是内部排版换成真数学。
暗色模式继承 CSS 变量自动适配(已实测两主题)。
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-engineering-from-scratch-zh Ready Ready Preview, Comment Jun 12, 2026 3:04am

@fancyboi999 fancyboi999 merged commit 818ac5c into main Jun 12, 2026
3 checks passed
@fancyboi999 fancyboi999 deleted the feat/math-inline-style branch June 12, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant