paper.css 4.1 KB

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