diff options
Diffstat (limited to 'theme/stylesheets')
-rw-r--r-- | theme/stylesheets/base/markdown.less | 1 | ||||
-rwxr-xr-x | theme/stylesheets/ebook.less | 12 |
2 files changed, 6 insertions, 7 deletions
diff --git a/theme/stylesheets/base/markdown.less b/theme/stylesheets/base/markdown.less index a214502..f23b7b4 100644 --- a/theme/stylesheets/base/markdown.less +++ b/theme/stylesheets/base/markdown.less @@ -323,7 +323,6 @@ max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; - page-break-inside: avoid; } code { diff --git a/theme/stylesheets/ebook.less b/theme/stylesheets/ebook.less index 01a7d42..f1dd45c 100755 --- a/theme/stylesheets/ebook.less +++ b/theme/stylesheets/ebook.less @@ -7,11 +7,7 @@ body { font-family: sans-serif; .markdown-content(#000, 1.6); - pre, code, blockquote { - page-break-inside: avoid; - } - - tr, img { + pre, code, blockquote, tr, img { page-break-inside: avoid; } @@ -26,7 +22,6 @@ body { h1, h2, h3 { - page-break-before: initial; page-break-after: avoid; } @@ -44,6 +39,11 @@ body { // First page: table of contents &.page-toc { + + } + + // Glossary page + &.page-glossary { .glossary { margin-bottom: 40px; |