paper.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. @media print {
  2. html:not(.print-pdf) {
  3. overflow: visible;
  4. width: auto;
  5. height: auto;
  6. body {
  7. margin: 0;
  8. padding: 0;
  9. overflow: visible;
  10. }
  11. }
  12. html:not(.print-pdf) .reveal {
  13. background: #fff;
  14. font-size: 20pt;
  15. .controls,
  16. .state-background,
  17. .progress,
  18. .backgrounds,
  19. .slide-number {
  20. display: none !important;
  21. }
  22. p,
  23. td,
  24. li {
  25. font-size: 20pt !important;
  26. color: #000;
  27. }
  28. h1,
  29. h2,
  30. h3,
  31. h4,
  32. h5,
  33. h6 {
  34. color: #000 !important;
  35. height: auto;
  36. line-height: normal;
  37. text-align: left;
  38. letter-spacing: normal;
  39. }
  40. h1 {
  41. font-size: 28pt !important;
  42. }
  43. h2 {
  44. font-size: 24pt !important;
  45. }
  46. h3 {
  47. font-size: 22pt !important;
  48. }
  49. h4 {
  50. font-size: 22pt !important;
  51. font-variant: small-caps;
  52. }
  53. h5 {
  54. font-size: 21pt !important;
  55. }
  56. h6 {
  57. font-size: 20pt !important;
  58. font-style: italic;
  59. }
  60. a:link,
  61. a:visited {
  62. color: #000 !important;
  63. font-weight: bold;
  64. text-decoration: underline;
  65. }
  66. ul,
  67. ol,
  68. div,
  69. p {
  70. visibility: visible;
  71. position: static;
  72. width: auto;
  73. height: auto;
  74. display: block;
  75. overflow: visible;
  76. margin: 0;
  77. text-align: left !important;
  78. }
  79. pre,
  80. table {
  81. margin-left: 0;
  82. margin-right: 0;
  83. }
  84. pre code {
  85. padding: 20px;
  86. }
  87. blockquote {
  88. margin: 20px 0;
  89. }
  90. .slides {
  91. position: static !important;
  92. width: auto !important;
  93. height: auto !important;
  94. left: 0 !important;
  95. top: 0 !important;
  96. margin-left: 0 !important;
  97. margin-top: 0 !important;
  98. padding: 0 !important;
  99. zoom: 1 !important;
  100. transform: none !important;
  101. overflow: visible !important;
  102. display: block !important;
  103. text-align: left !important;
  104. perspective: none;
  105. perspective-origin: 50% 50%;
  106. }
  107. .slides section {
  108. visibility: visible !important;
  109. position: static !important;
  110. width: auto !important;
  111. height: auto !important;
  112. display: block !important;
  113. overflow: visible !important;
  114. left: 0 !important;
  115. top: 0 !important;
  116. margin-left: 0 !important;
  117. margin-top: 0 !important;
  118. padding: 60px 20px !important;
  119. z-index: auto !important;
  120. opacity: 1 !important;
  121. page-break-after: always !important;
  122. transform-style: flat !important;
  123. transform: none !important;
  124. transition: none !important;
  125. }
  126. .slides section.stack {
  127. padding: 0 !important;
  128. }
  129. .slides section:last-of-type {
  130. page-break-after: avoid !important;
  131. }
  132. .slides section .fragment {
  133. opacity: 1 !important;
  134. visibility: visible !important;
  135. transform: none !important;
  136. }
  137. .r-fit-text {
  138. white-space: normal !important;
  139. }
  140. section img {
  141. display: block;
  142. margin: 15px 0px;
  143. background: rgba(255, 255, 255, 1);
  144. border: 1px solid #666;
  145. box-shadow: none;
  146. }
  147. section small {
  148. font-size: 0.8em;
  149. }
  150. .hljs {
  151. max-height: 100%;
  152. white-space: pre-wrap;
  153. word-wrap: break-word;
  154. word-break: break-word;
  155. font-size: 15pt;
  156. }
  157. .hljs .hljs-ln-numbers {
  158. white-space: nowrap;
  159. }
  160. .hljs td {
  161. font-size: inherit !important;
  162. color: inherit !important;
  163. }
  164. }
  165. }