pdf.css 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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-top: auto;
  77. padding: auto;
  78. overflow: visible;
  79. display: block;
  80. text-align: center;
  81. -webkit-perspective: none;
  82. -moz-perspective: none;
  83. -ms-perspective: none;
  84. perspective: none;
  85. -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
  86. -moz-perspective-origin: 50% 50%;
  87. -ms-perspective-origin: 50% 50%;
  88. perspective-origin: 50% 50%;
  89. }
  90. .reveal .slides section {
  91. page-break-after: always !important;
  92. visibility: visible !important;
  93. position: static !important;
  94. width: 100% !important;
  95. height: auto !important;
  96. min-height: initial !important;
  97. display: block !important;
  98. overflow: visible !important;
  99. left: 0 !important;
  100. top: 0 !important;
  101. margin-left: 0px !important;
  102. margin-top: 50px !important;
  103. padding: 20px 0px !important;
  104. opacity: 1 !important;
  105. -webkit-transform-style: flat !important;
  106. -moz-transform-style: flat !important;
  107. -ms-transform-style: flat !important;
  108. transform-style: flat !important;
  109. -webkit-transform: none !important;
  110. -moz-transform: none !important;
  111. -ms-transform: none !important;
  112. transform: none !important;
  113. }
  114. .reveal section.stack {
  115. margin: 0px !important;
  116. padding: 0px !important;
  117. page-break-after: avoid !important;
  118. }
  119. .reveal section .fragment {
  120. opacity: 1 !important;
  121. visibility: visible !important;
  122. -webkit-transform: none !important;
  123. -moz-transform: none !important;
  124. -ms-transform: none !important;
  125. transform: none !important;
  126. }
  127. .reveal img {
  128. box-shadow: none;
  129. }
  130. .reveal .roll {
  131. overflow: visible;
  132. line-height: 1em;
  133. }
  134. .reveal small a {
  135. font-size: 16pt !important;
  136. }