paper.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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: 28pt;
  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. .reveal .progress,
  33. .reveal.overview,
  34. .fork-reveal,
  35. .share-reveal,
  36. .state-background {
  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: 28pt!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: 36pt !important; }
  60. h2 { font-size: 32pt !important; }
  61. h3 { font-size: 30pt !important; }
  62. h4 { font-size: 30pt !important; font-variant: small-caps; }
  63. h5 { font-size: 29pt !important; }
  64. h6 { font-size: 28pt !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: auto;
  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 .slides {
  103. position: static;
  104. width: auto;
  105. height: auto;
  106. left: 0;
  107. top: 0;
  108. margin-left: 0;
  109. margin-top: 0;
  110. padding: 0;
  111. overflow: visible;
  112. display: block;
  113. text-align: center;
  114. -webkit-perspective: none;
  115. -moz-perspective: none;
  116. -ms-perspective: none;
  117. perspective: none;
  118. -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
  119. -moz-perspective-origin: 50% 50%;
  120. -ms-perspective-origin: 50% 50%;
  121. perspective-origin: 50% 50%;
  122. }
  123. .reveal .slides>section,
  124. .reveal .slides>section>section {
  125. visibility: visible !important;
  126. position: static !important;
  127. width: 90% !important;
  128. height: auto !important;
  129. display: block !important;
  130. overflow: visible !important;
  131. left: 0 !important;
  132. top: 0 !important;
  133. margin-left: 0 !important;
  134. margin-top: 0 !important;
  135. padding: 20px 0px !important;
  136. opacity: 1 !important;
  137. -webkit-transform-style: flat !important;
  138. -moz-transform-style: flat !important;
  139. -ms-transform-style: flat !important;
  140. transform-style: flat !important;
  141. -webkit-transform: none !important;
  142. -moz-transform: none !important;
  143. -ms-transform: none !important;
  144. transform: none !important;
  145. }
  146. .reveal section {
  147. page-break-after: always !important;
  148. }
  149. .reveal section .fragment {
  150. opacity: 1 !important;
  151. visibility: visible !important;
  152. -webkit-transform: none !important;
  153. -moz-transform: none !important;
  154. -ms-transform: none !important;
  155. transform: none !important;
  156. }
  157. .reveal section:last-of-type {
  158. page-break-after: avoid !important;
  159. }
  160. .reveal section img {
  161. display: block;
  162. margin: 15px 0px;
  163. background: rgba(255,255,255,1);
  164. border: 1px solid #666;
  165. box-shadow: none;
  166. }
  167. .reveal section small {
  168. font-size: 0.8em;
  169. }
  170. }