diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-10-02 14:40:14 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-10-06 09:45:22 +0200 |
commit | 7363580095dfe71b853658437eab8e86016adbd3 (patch) | |
tree | 5de31c621444798a3aa87ad69c0d55d19d6396b1 /theme/stylesheets | |
parent | 23a46b0597635e098dc3a375765ddb25ac9d0c05 (diff) | |
download | gitbook-7363580095dfe71b853658437eab8e86016adbd3.zip gitbook-7363580095dfe71b853658437eab8e86016adbd3.tar.gz gitbook-7363580095dfe71b853658437eab8e86016adbd3.tar.bz2 |
Fix glossary page using a "section" instead of a "div"
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; |