Optional bundled fonts (fixes #44). Style cleanups

This commit is contained in:
daudix
2024-09-15 03:49:59 +03:00
parent 4ed42a397b
commit a5f16ca54f
66 changed files with 172 additions and 90 deletions

View File

@ -1,121 +1,121 @@
/* stylelint-disable font-family-no-missing-generic-family-keyword */
@font-face {
font-family: "KaTeX_AMS";
src: url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"), url(fonts/KaTeX_AMS-Regular.woff) format("woff"), url(fonts/KaTeX_AMS-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_AMS-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Caligraphic";
src: url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"), url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"), url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype");
src: url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Caligraphic";
src: url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"), url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"), url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Fraktur";
src: url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"), url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"), url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype");
src: url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Fraktur";
src: url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"), url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"), url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Main";
src: url(fonts/KaTeX_Main-Bold.woff2) format("woff2"), url(fonts/KaTeX_Main-Bold.woff) format("woff"), url(fonts/KaTeX_Main-Bold.ttf) format("truetype");
src: url(fonts/KaTeX_Main-Bold.woff2) format("woff2");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Main";
src: url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"), url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"), url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype");
src: url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2");
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: "KaTeX_Main";
src: url(fonts/KaTeX_Main-Italic.woff2) format("woff2"), url(fonts/KaTeX_Main-Italic.woff) format("woff"), url(fonts/KaTeX_Main-Italic.ttf) format("truetype");
src: url(fonts/KaTeX_Main-Italic.woff2) format("woff2");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "KaTeX_Main";
src: url(fonts/KaTeX_Main-Regular.woff2) format("woff2"), url(fonts/KaTeX_Main-Regular.woff) format("woff"), url(fonts/KaTeX_Main-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Main-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Math";
src: url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"), url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"), url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype");
src: url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2");
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: "KaTeX_Math";
src: url(fonts/KaTeX_Math-Italic.woff2) format("woff2"), url(fonts/KaTeX_Math-Italic.woff) format("woff"), url(fonts/KaTeX_Math-Italic.ttf) format("truetype");
src: url(fonts/KaTeX_Math-Italic.woff2) format("woff2");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "KaTeX_SansSerif";
src: url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"), url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"), url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype");
src: url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: "KaTeX_SansSerif";
src: url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"), url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"), url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype");
src: url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: "KaTeX_SansSerif";
src: url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"), url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"), url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Script";
src: url(fonts/KaTeX_Script-Regular.woff2) format("woff2"), url(fonts/KaTeX_Script-Regular.woff) format("woff"), url(fonts/KaTeX_Script-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Script-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Size1";
src: url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"), url(fonts/KaTeX_Size1-Regular.woff) format("woff"), url(fonts/KaTeX_Size1-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Size1-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Size2";
src: url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"), url(fonts/KaTeX_Size2-Regular.woff) format("woff"), url(fonts/KaTeX_Size2-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Size2-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Size3";
src: url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"), url(fonts/KaTeX_Size3-Regular.woff) format("woff"), url(fonts/KaTeX_Size3-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Size3-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Size4";
src: url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"), url(fonts/KaTeX_Size4-Regular.woff) format("woff"), url(fonts/KaTeX_Size4-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Size4-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "KaTeX_Typewriter";
src: url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"), url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"), url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype");
src: url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2");
font-weight: normal;
font-style: normal;
}