paper.scss 3.4 KB

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