pdf.css 3.5 KB

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