@threepenny/md2pdf 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/styles/worksheet.css +5 -1
package/package.json
CHANGED
package/styles/worksheet.css
CHANGED
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/* Andika (SIL International) and Fredoka, both under the SIL Open Font License; the licences are in
|
|
34
|
-
fonts/andika/OFL.txt and fonts/fredoka/OFL.txt.
|
|
34
|
+
fonts/andika/OFL.txt and fonts/fredoka/OFL.txt. Their latin subsets cover English and Western
|
|
35
|
+
European languages (Basic Latin and Latin-1, plus œ and €); other letters, such as Polish, Czech or
|
|
36
|
+
Turkish ones, come from the fallbacks. */
|
|
35
37
|
@font-face {
|
|
36
38
|
font-family: "md2pdf Andika";
|
|
37
39
|
font-weight: 400;
|
|
@@ -98,6 +100,8 @@
|
|
|
98
100
|
font-size: calc(31.5 / 13.5 * var(--md2pdf-font-size));
|
|
99
101
|
color: var(--md2pdf-accent);
|
|
100
102
|
margin: 0 0 calc(0.6em * var(--md2pdf-space));
|
|
103
|
+
/* The bar is a block inside the heading; without this a page can break between them. */
|
|
104
|
+
break-inside: avoid;
|
|
101
105
|
}
|
|
102
106
|
.markdown-body h1:not(:first-child) {
|
|
103
107
|
margin-top: calc(1.4em * var(--md2pdf-space));
|