@import "mixins.less"; @import "ebook/variables.less"; body { .page { font-family: sans-serif; .markdown-content(#000, 1.6); pre, code, blockquote, tr, img { page-break-inside: avoid; } p, h2, h3 { orphans: 3; widows: 3; } h1, h2, h3 { page-break-after: avoid; } // Section and first titles .section { > h1, > h2, > h3 { margin-top: 0px; } } // Hide the title (only used to build PDF table of content) .book-chapter { display: none; } // First page: table of contents &.page-toc { } // Glossary page &.page-glossary { .glossary { margin-bottom: 40px; h2 { a, a:hover { color: inherit; text-decoration: none; } } .glossary-index { list-style: none; margin: 0px; padding: 0px; li { display: inline; margin: 0px 8px; white-space: nowrap; } } } } } }