feat(site): 行内公式恢复蓝色视觉标注#26
Merged
Merged
Conversation
KaTeX 渲染后公式融入正文,丢失了原 inline code 的蓝色框视觉。 给 .math-inline 套用与 .lesson-article code 一致的蓝字/浅背景/ 细边框,公式与代码共享同一套视觉语言,只是内部排版换成真数学。 暗色模式继承 CSS 变量自动适配(已实测两主题)。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
5 行纯 CSS:.math-inline 套用与 inline code 一致的蓝字/浅背景/细边框,KaTeX 公式与代码框共享视觉语言。两主题本地实测正常(亮色截图见会话,暗色 computed style 验证 color rgb(107,142,255) / bg rgb(19,24,48))。不动判定与渲染逻辑。