remove out of sync comments from pdf css

This commit is contained in:
Hakim El Hattab 2015-10-29 13:24:47 +01:00
parent 42babeb4ef
commit d66cba6efa

View file

@ -1,15 +1,9 @@
/* Default Print Stylesheet Template /**
by Rob Glazebrook of CSSnewbie.com * This stylesheet is used to print reveal.js
Last Updated: June 4, 2008 * presentations to PDF.
*
Feel free (nay, compelled) to edit, append, and * https://github.com/hakimel/reveal.js#pdf-export
manipulate this file as you see fit. */ */
/* SECTION 1: Set default width, margin, float, and
background. This prevents elements from extending
beyond the edge of the printed page, and prevents
unnecessary background images from printing */
* { * {
-webkit-print-color-adjust: exact; -webkit-print-color-adjust: exact;
@ -29,8 +23,7 @@ html {
overflow: visible; overflow: visible;
} }
/* SECTION 2: Remove any elements not needed in print. /* Remove any elements not needed in print. */
This would include navigation, ads, sidebars, etc. */
.nestedarrow, .nestedarrow,
.reveal .controls, .reveal .controls,
.reveal .progress, .reveal .progress,
@ -42,16 +35,7 @@ html {
display: none !important; display: none !important;
} }
/* SECTION 3: Set body font face, size, and color. h1, h2, h3, h4, h5, h6 {
Consider using a serif font for readability. */
body, p, td, li, div {
}
/* SECTION 4: Set heading font face, sizes, and color.
Differentiate your headings from your body text.
Perhaps use a large sans-serif for distinction. */
h1,h2,h3,h4,h5,h6 {
text-shadow: 0 0 0 #000 !important; text-shadow: 0 0 0 #000 !important;
} }
@ -60,8 +44,6 @@ h1,h2,h3,h4,h5,h6 {
font-family: Courier, 'Courier New', monospace !important; font-family: Courier, 'Courier New', monospace !important;
} }
/* SECTION 5: more reveal.js specific additions by @skypanther */
ul, ol, div, p { ul, ol, div, p {
visibility: visible; visibility: visible;
position: static; position: static;
@ -99,6 +81,7 @@ ul, ol, div, p {
-ms-perspective-origin: 50% 50%; -ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%; perspective-origin: 50% 50%;
} }
.reveal .slides section { .reveal .slides section {
page-break-after: always !important; page-break-after: always !important;
@ -124,6 +107,7 @@ ul, ol, div, p {
-ms-transform: none !important; -ms-transform: none !important;
transform: none !important; transform: none !important;
} }
.reveal section.stack { .reveal section.stack {
margin: 0 !important; margin: 0 !important;
padding: 0 !important; padding: 0 !important;
@ -131,9 +115,11 @@ ul, ol, div, p {
height: auto !important; height: auto !important;
min-height: auto !important; min-height: auto !important;
} }
.reveal img { .reveal img {
box-shadow: none; box-shadow: none;
} }
.reveal .roll { .reveal .roll {
overflow: visible; overflow: visible;
line-height: 1em; line-height: 1em;