Files
qiming/qiming-mobile/subpackages/uni_modules/mp-html/components/mp-html/styles/katex-fonts.scss

111 lines
2.7 KiB
SCSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* KaTeX 字体定义 - 仅保留 TTF 格式以减小包体积
* 已移除不常用的特殊字体Caligraphic花体、Fraktur哥特体、Script手写体
*/
@font-face {
font-family: KaTeX_AMS;
src: url(/subpackages/static/fonts/KaTeX_AMS-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: KaTeX_Main;
src: url(/subpackages/static/fonts/KaTeX_Main-Bold.ttf) format("truetype");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: KaTeX_Main;
src: url(/subpackages/static/fonts/KaTeX_Main-BoldItalic.ttf) format("truetype");
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: KaTeX_Main;
src: url(/subpackages/static/fonts/KaTeX_Main-Italic.ttf) format("truetype");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: KaTeX_Main;
src: url(/subpackages/static/fonts/KaTeX_Main-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: KaTeX_Math;
src: url(/subpackages/static/fonts/KaTeX_Math-BoldItalic.ttf) format("truetype");
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: KaTeX_Math;
src: url(/subpackages/static/fonts/KaTeX_Math-Italic.ttf) format("truetype");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: KaTeX_SansSerif;
src: url(/subpackages/static/fonts/KaTeX_SansSerif-Bold.ttf) format("truetype");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: KaTeX_SansSerif;
src: url(/subpackages/static/fonts/KaTeX_SansSerif-Italic.ttf) format("truetype");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: KaTeX_SansSerif;
src: url(/subpackages/static/fonts/KaTeX_SansSerif-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: KaTeX_Size1;
src: url(/subpackages/static/fonts/KaTeX_Size1-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: KaTeX_Size2;
src: url(/subpackages/static/fonts/KaTeX_Size2-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
/* 以下字体已被移除以减小包体积 */
/*
@font-face {
font-family: KaTeX_Size3;
src: url(/subpackages/static/fonts/KaTeX_Size3-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: KaTeX_Size4;
src: url(/subpackages/static/fonts/KaTeX_Size4-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: KaTeX_Typewriter;
src: url(/subpackages/static/fonts/KaTeX_Typewriter-Regular.ttf) format("truetype");
font-weight: 400;
font-style: normal;
}
*/