Hao Zhu | c145088 | 2018-10-03 17:56:26 -0400 | [diff] [blame] | 1 | .book .book-header h1 { |
| 2 | padding-left: 20px; |
| 3 | padding-right: 20px; |
| 4 | } |
| 5 | .book .book-header.fixed { |
| 6 | position: fixed; |
| 7 | right: 0; |
| 8 | top: 0; |
| 9 | left: 0; |
| 10 | border-bottom: 1px solid rgba(0,0,0,.07); |
| 11 | } |
| 12 | span.search-highlight { |
| 13 | background-color: #ffff88; |
| 14 | } |
| 15 | @media (min-width: 600px) { |
| 16 | .book.with-summary .book-header.fixed { |
| 17 | left: 300px; |
| 18 | } |
| 19 | } |
| 20 | @media (max-width: 1240px) { |
| 21 | .book .book-body.fixed { |
| 22 | top: 50px; |
| 23 | } |
| 24 | .book .book-body.fixed .body-inner { |
| 25 | top: auto; |
| 26 | } |
| 27 | } |
| 28 | @media (max-width: 600px) { |
| 29 | .book.with-summary .book-header.fixed { |
| 30 | left: calc(100% - 60px); |
| 31 | min-width: 300px; |
| 32 | } |
| 33 | .book.with-summary .book-body { |
| 34 | transform: none; |
| 35 | left: calc(100% - 60px); |
| 36 | min-width: 300px; |
| 37 | } |
| 38 | .book .book-body.fixed { |
| 39 | top: 0; |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | .book .book-body.fixed .body-inner { |
| 44 | top: 50px; |
| 45 | } |
| 46 | .book .book-body .page-wrapper .page-inner section.normal sub, .book .book-body .page-wrapper .page-inner section.normal sup { |
| 47 | font-size: 85%; |
| 48 | } |
| 49 | |
| 50 | @media print { |
| 51 | .book .book-summary, .book .book-body .book-header, .fa { |
| 52 | display: none !important; |
| 53 | } |
| 54 | .book .book-body.fixed { |
| 55 | left: 0px; |
| 56 | } |
| 57 | .book .book-body,.book .book-body .body-inner, .book.with-summary { |
| 58 | overflow: visible !important; |
| 59 | } |
| 60 | } |
| 61 | .kable_wrapper { |
| 62 | border-spacing: 20px 0; |
| 63 | border-collapse: separate; |
| 64 | border: none; |
| 65 | margin: auto; |
| 66 | } |
| 67 | .kable_wrapper > tbody > tr > td { |
| 68 | vertical-align: top; |
| 69 | } |
| 70 | .book .book-body .page-wrapper .page-inner section.normal table tr.header { |
| 71 | border-top-width: 2px; |
| 72 | } |
| 73 | .book .book-body .page-wrapper .page-inner section.normal table tr:last-child td { |
| 74 | border-bottom-width: 2px; |
| 75 | } |
| 76 | .book .book-body .page-wrapper .page-inner section.normal table td, .book .book-body .page-wrapper .page-inner section.normal table th { |
| 77 | border-left: none; |
| 78 | border-right: none; |
| 79 | } |
| 80 | .book .book-body .page-wrapper .page-inner section.normal table.kable_wrapper > tbody > tr, .book .book-body .page-wrapper .page-inner section.normal table.kable_wrapper > tbody > tr > td { |
| 81 | border-top: none; |
| 82 | } |
| 83 | .book .book-body .page-wrapper .page-inner section.normal table.kable_wrapper > tbody > tr:last-child > td { |
| 84 | border-bottom: none; |
| 85 | } |
| 86 | |
| 87 | div.theorem, div.lemma, div.corollary, div.proposition, div.conjecture { |
| 88 | font-style: italic; |
| 89 | } |
| 90 | span.theorem, span.lemma, span.corollary, span.proposition, span.conjecture { |
| 91 | font-style: normal; |
| 92 | } |
| 93 | div.proof:after { |
| 94 | content: "\25a2"; |
| 95 | float: right; |
| 96 | } |
| 97 | .header-section-number { |
| 98 | padding-right: .5em; |
| 99 | } |