mirror of
https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io.git
synced 2025-06-20 19:55:37 +00:00
Compare commits
4 Commits
8a459a7664
...
2023-10-25
Author | SHA1 | Date | |
---|---|---|---|
630ba71c8f | |||
ac7e50b940 | |||
5c2ff7aaee | |||
64a5e34538 |
@ -11,8 +11,10 @@
|
|||||||
"search-pro-fixed"
|
"search-pro-fixed"
|
||||||
],
|
],
|
||||||
"styles": {
|
"styles": {
|
||||||
"website": "./_styles/website.css"
|
"website": "./_styles/website.css",
|
||||||
|
"pdf": "./_styles/pdf.css"
|
||||||
},
|
},
|
||||||
|
"pdf.fontFamily": "FirgeNerd",
|
||||||
"pdf.fontSize": 16,
|
"pdf.fontSize": 16,
|
||||||
"pdf.paperSize": "a4",
|
"pdf.paperSize": "a4",
|
||||||
"pdf.embedFonts": true
|
"pdf.embedFonts": true
|
||||||
|
41
src/_styles/pdf.css
Normal file
41
src/_styles/pdf.css
Normal 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;
|
||||||
|
}
|
@ -30,6 +30,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* For hints Plguin */
|
/* For hints Plguin */
|
||||||
|
|
||||||
|
.hints-container {
|
||||||
|
/* To be fitted */
|
||||||
|
padding-right: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
.hints-alert {
|
.hints-alert {
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user