plugin-bookdown.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. .book .book-body.fixed .body-inner {
  43. top: 50px;
  44. }
  45. .book .book-body .page-wrapper .page-inner section.normal sub, .book .book-body .page-wrapper .page-inner section.normal sup {
  46. font-size: 85%;
  47. }
  48. @media print {
  49. .book .book-summary, .book .book-body .book-header, .fa {
  50. display: none !important;
  51. }
  52. .book .book-body.fixed {
  53. left: 0px;
  54. }
  55. .book .book-body,.book .book-body .body-inner, .book.with-summary {
  56. overflow: visible !important;
  57. }
  58. }
  59. .kable_wrapper {
  60. border-spacing: 20px 0;
  61. border-collapse: separate;
  62. border: none;
  63. margin: auto;
  64. }
  65. .kable_wrapper > tbody > tr > td {
  66. vertical-align: top;
  67. }
  68. .book .book-body .page-wrapper .page-inner section.normal table tr.header {
  69. border-top-width: 2px;
  70. }
  71. .book .book-body .page-wrapper .page-inner section.normal table tr:last-child td {
  72. border-bottom-width: 2px;
  73. }
  74. .book .book-body .page-wrapper .page-inner section.normal table td, .book .book-body .page-wrapper .page-inner section.normal table th {
  75. border-left: none;
  76. border-right: none;
  77. }
  78. .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 {
  79. border-top: none;
  80. }
  81. .book .book-body .page-wrapper .page-inner section.normal table.kable_wrapper > tbody > tr:last-child > td {
  82. border-bottom: none;
  83. }
  84. div.theorem, div.lemma, div.corollary, div.proposition, div.conjecture {
  85. font-style: italic;
  86. }
  87. span.theorem, span.lemma, span.corollary, span.proposition, span.conjecture {
  88. font-style: normal;
  89. }
  90. div.proof:after {
  91. content: "\25a2";
  92. float: right;
  93. }
  94. .header-section-number {
  95. padding-right: .5em;
  96. }