2 Commits

Author SHA1 Message Date
630ba71c8f FIX? 2023-10-25 06:05:17 +09:00
ac7e50b940 FIX 2023-10-25 06:05:03 +09:00
2 changed files with 43 additions and 1 deletions

View File

@ -11,7 +11,8 @@
"search-pro-fixed" "search-pro-fixed"
], ],
"styles": { "styles": {
"website": "./_styles/website.css" "website": "./_styles/website.css",
"pdf": "./_styles/pdf.css"
}, },
"pdf.fontFamily": "FirgeNerd", "pdf.fontFamily": "FirgeNerd",
"pdf.fontSize": 16, "pdf.fontSize": 16,

41
src/_styles/pdf.css Normal file
View File

@ -0,0 +1,41 @@
@font-face {
font-family: "FirgeNerd";
src: url("./fonts/woff2/FirgeNerd-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "FirgeNerd";
src: url("./fonts/woff2/FirgeNerd-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}
.book.font-family-1 {
font-family: "FirgeNerd", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.markdown-section p {
font-size: 1.1em;
}
.markdown-section code,
.markdown-section pre {
font-family: "FirgeNerd", monospace;
}
.markdown-section code {
font-size: 0.9em;
}
/* For hints Plguin */
.hints-container {
/* To be fitted */
padding-right: 15px;
}
.hints-alert {
word-break: break-word;
}