pdf.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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: 22pt;
  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: #333;
  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 a,
  33. .reveal .progress,
  34. .reveal.overview,
  35. .fork-reveal,
  36. .share-reveal,
  37. .state-background {
  38. display:none;
  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, a {
  43. font-size: 22pt;
  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. .reveal .slides>section.past, .reveal .slides>section.future,
  92. .reveal.linear .slides>section, .reveal.linear .slides>section>section,
  93. .reveal.linear .slides>section.past, .reveal.linear .slides>section.future {
  94. visibility: visible;
  95. position: static;
  96. width: 100%;
  97. height: auto;
  98. min-height: initial;
  99. display: block;
  100. overflow: visible;
  101. left: 0%;
  102. top: 0%;
  103. margin-left: 0px;
  104. margin-top: 50px;
  105. padding: 20px 0px;
  106. opacity: 1;
  107. -webkit-transform-style: flat;
  108. -moz-transform-style: flat;
  109. -ms-transform-style: flat;
  110. transform-style: flat;
  111. -webkit-transform: none;
  112. -moz-transform: none;
  113. -ms-transform: none;
  114. transform: none;
  115. }
  116. .reveal section {
  117. page-break-after: always !important;
  118. display: block !important;
  119. }
  120. .reveal section.stack {
  121. margin: 0px !important;
  122. padding: 0px !important;
  123. page-break-after: avoid !important;
  124. }
  125. .reveal section .fragment {
  126. opacity: 1 !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. }