mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-01 20:59:45 +09:00
enhance: add a font for markup MathML
Assisted-by: Copilot Coding Agent:GPT-5 Co-authored-by: bircni <75789103+bircni@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a273ee098c
commit
62e80124ce
@@ -5,6 +5,16 @@
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: NewComputerModernMath;
|
||||
src: local("NewComputerModernMath"), url("../../fonts/NewCMMath-Book.woff2") format("woff2");
|
||||
}
|
||||
|
||||
.markup math {
|
||||
font-family: NewComputerModernMath, "Latin Modern Math", "STIX Two Math", "Cambria Math", math;
|
||||
font-size-adjust: ex-height 0.52;
|
||||
}
|
||||
|
||||
.markup > *:first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user