fix: kavita 无法正确加载字体

This commit is contained in:
2025-07-17 14:03:10 +08:00
parent ca3fdf8980
commit 75745b9431
13 changed files with 70 additions and 193 deletions

View File

@@ -3,11 +3,15 @@ package bilinovel
const StyleCSS = `
@font-face {
font-family: "MI LANTING";
src: url(../Fonts/read.ttf);
src: url(OEBPS/Fonts/read.ttf);
}
.read-font {
font-family: "MI LANTING", serif !important;
display: block;
font-family: "MI LANTING", serif;
font-size: 1.33333em;
text-indent: 2em;
margin: 0.8em 0;
}
body > div {