paper.css 4.8 KB

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