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;
  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, .reveal .slides>section>section {
  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 {
  114. page-break-after: always !important;
  115. display: block !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. }
  125. .reveal img {
  126. box-shadow: none;
  127. }
  128. .reveal .roll {
  129. overflow: visible;
  130. line-height: 1em;
  131. }
  132. .reveal small a {
  133. font-size: 16pt !important;
  134. }
  135. pre {
  136. font-size: 9pt !important;
  137. }