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