pdf.css 3.5 KB

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