aboutsummaryrefslogtreecommitdiff
path: root/css/print
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-10-29 13:24:47 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-10-29 13:24:47 +0100
commitd66cba6efac72b4fade04cd78c17e405ad614c2d (patch)
treef19448c6ae0a0dd6338aac4a9619cac84d109940 /css/print
parent42babeb4ef68d2079824680abf11f94b89b17a9f (diff)
downloadfreenode-live-2017-presentation-d66cba6efac72b4fade04cd78c17e405ad614c2d.tar
freenode-live-2017-presentation-d66cba6efac72b4fade04cd78c17e405ad614c2d.tar.gz
remove out of sync comments from pdf css
Diffstat (limited to 'css/print')
-rw-r--r--css/print/pdf.css38
1 files changed, 12 insertions, 26 deletions
diff --git a/css/print/pdf.css b/css/print/pdf.css
index 868142e..5922067 100644
--- a/css/print/pdf.css
+++ b/css/print/pdf.css
@@ -1,15 +1,9 @@
-/* Default Print Stylesheet Template
- by Rob Glazebrook of CSSnewbie.com
- Last Updated: June 4, 2008
-
- Feel free (nay, compelled) to edit, append, and
- 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 */
+/**
+ * This stylesheet is used to print reveal.js
+ * presentations to PDF.
+ *
+ * https://github.com/hakimel/reveal.js#pdf-export
+ */
* {
-webkit-print-color-adjust: exact;
@@ -29,8 +23,7 @@ html {
overflow: visible;
}
-/* SECTION 2: Remove any elements not needed in print.
- This would include navigation, ads, sidebars, etc. */
+/* Remove any elements not needed in print. */
.nestedarrow,
.reveal .controls,
.reveal .progress,
@@ -42,16 +35,7 @@ html {
display: none !important;
}
-/* SECTION 3: Set body font face, size, and color.
- 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 {
+h1, h2, h3, h4, h5, h6 {
text-shadow: 0 0 0 #000 !important;
}
@@ -60,8 +44,6 @@ h1,h2,h3,h4,h5,h6 {
font-family: Courier, 'Courier New', monospace !important;
}
-
-/* SECTION 5: more reveal.js specific additions by @skypanther */
ul, ol, div, p {
visibility: visible;
position: static;
@@ -99,6 +81,7 @@ ul, ol, div, p {
-ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%;
}
+
.reveal .slides section {
page-break-after: always !important;
@@ -124,6 +107,7 @@ ul, ol, div, p {
-ms-transform: none !important;
transform: none !important;
}
+
.reveal section.stack {
margin: 0 !important;
padding: 0 !important;
@@ -131,9 +115,11 @@ ul, ol, div, p {
height: auto !important;
min-height: auto !important;
}
+
.reveal img {
box-shadow: none;
}
+
.reveal .roll {
overflow: visible;
line-height: 1em;