paper.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. /* SECTION 1: Set default width, margin, float, and
  8. background. This prevents elements from extending
  9. beyond the edge of the printed page, and prevents
  10. unnecessary background images from printing */
  11. html {
  12. background: #fff;
  13. width: auto;
  14. height: auto;
  15. overflow: visible;
  16. }
  17. body {
  18. background: #fff;
  19. font-size: 20pt;
  20. width: auto;
  21. height: auto;
  22. border: 0;
  23. margin: 0 5%;
  24. padding: 0;
  25. overflow: visible;
  26. float: none !important;
  27. }
  28. /* SECTION 2: Remove any elements not needed in print.
  29. This would include navigation, ads, sidebars, etc. */
  30. .nestedarrow,
  31. .controls,
  32. .fork-reveal,
  33. .share-reveal,
  34. .state-background,
  35. .reveal .progress,
  36. .reveal .backgrounds {
  37. display: none !important;
  38. }
  39. /* SECTION 3: Set body font face, size, and color.
  40. Consider using a serif font for readability. */
  41. body, p, td, li, div {
  42. font-size: 20pt!important;
  43. font-family: Georgia, "Times New Roman", Times, serif !important;
  44. color: #000;
  45. }
  46. /* SECTION 4: Set heading font face, sizes, and color.
  47. Differentiate your headings from your body text.
  48. Perhaps use a large sans-serif for distinction. */
  49. h1,h2,h3,h4,h5,h6 {
  50. color: #000!important;
  51. height: auto;
  52. line-height: normal;
  53. font-family: Georgia, "Times New Roman", Times, serif !important;
  54. text-shadow: 0 0 0 #000 !important;
  55. text-align: left;
  56. letter-spacing: normal;
  57. }
  58. /* Need to reduce the size of the fonts for printing */
  59. h1 { font-size: 28pt !important; }
  60. h2 { font-size: 24pt !important; }
  61. h3 { font-size: 22pt !important; }
  62. h4 { font-size: 22pt !important; font-variant: small-caps; }
  63. h5 { font-size: 21pt !important; }
  64. h6 { font-size: 20pt !important; font-style: italic; }
  65. /* SECTION 5: Make hyperlinks more usable.
  66. Ensure links are underlined, and consider appending
  67. the URL to the end of the link for usability. */
  68. a:link,
  69. a:visited {
  70. color: #000 !important;
  71. font-weight: bold;
  72. text-decoration: underline;
  73. }
  74. /*
  75. .reveal a:link:after,
  76. .reveal a:visited:after {
  77. content: " (" attr(href) ") ";
  78. color: #222 !important;
  79. font-size: 90%;
  80. }
  81. */
  82. /* SECTION 6: more reveal.js specific additions by @skypanther */
  83. ul, ol, div, p {
  84. visibility: visible;
  85. position: static;
  86. width: auto;
  87. height: auto;
  88. display: block;
  89. overflow: visible;
  90. margin: 0;
  91. text-align: left !important;
  92. }
  93. .reveal pre,
  94. .reveal table {
  95. margin-left: 0;
  96. margin-right: 0;
  97. }
  98. .reveal pre code {
  99. padding: 20px;
  100. border: 1px solid #ddd;
  101. }
  102. .reveal blockquote {
  103. margin: 20px 0;
  104. }
  105. .reveal .slides {
  106. position: static !important;
  107. width: auto !important;
  108. height: auto !important;
  109. left: 0 !important;
  110. top: 0 !important;
  111. margin-left: 0 !important;
  112. margin-top: 0 !important;
  113. padding: 0 !important;
  114. zoom: 1 !important;
  115. overflow: visible !important;
  116. display: block !important;
  117. text-align: left !important;
  118. -webkit-perspective: none;
  119. -moz-perspective: none;
  120. -ms-perspective: none;
  121. perspective: none;
  122. -webkit-perspective-origin: 50% 50%;
  123. -moz-perspective-origin: 50% 50%;
  124. -ms-perspective-origin: 50% 50%;
  125. perspective-origin: 50% 50%;
  126. }
  127. .reveal .slides section {
  128. visibility: visible !important;
  129. position: static !important;
  130. width: 100% !important;
  131. height: auto !important;
  132. display: block !important;
  133. overflow: visible !important;
  134. left: 0 !important;
  135. top: 0 !important;
  136. margin-left: 0 !important;
  137. margin-top: 0 !important;
  138. padding: 60px 20px !important;
  139. z-index: auto !important;
  140. opacity: 1 !important;
  141. page-break-after: always !important;
  142. -webkit-transform-style: flat !important;
  143. -moz-transform-style: flat !important;
  144. -ms-transform-style: flat !important;
  145. transform-style: flat !important;
  146. -webkit-transform: none !important;
  147. -moz-transform: none !important;
  148. -ms-transform: none !important;
  149. transform: none !important;
  150. -webkit-transition: none !important;
  151. -moz-transition: none !important;
  152. -ms-transition: none !important;
  153. transition: none !important;
  154. }
  155. .reveal .slides section.stack {
  156. padding: 0 !important;
  157. }
  158. .reveal section:last-of-type {
  159. page-break-after: avoid !important;
  160. }
  161. .reveal section .fragment {
  162. opacity: 1 !important;
  163. visibility: visible !important;
  164. -webkit-transform: none !important;
  165. -moz-transform: none !important;
  166. -ms-transform: none !important;
  167. transform: none !important;
  168. }
  169. .reveal section img {
  170. display: block;
  171. margin: 15px 0px;
  172. background: rgba(255,255,255,1);
  173. border: 1px solid #666;
  174. box-shadow: none;
  175. }
  176. .reveal section small {
  177. font-size: 0.8em;
  178. }
  179. }