print.css 3.9 KB

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