aboutsummaryrefslogtreecommitdiff
path: root/css/print/pdf.css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-10-28 19:32:24 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-10-28 19:32:24 -0400
commitaf2a8b053d27ed5c97256d29ab4f06a6bcece6b7 (patch)
tree3b5ee1ffb51c0ce56bcb695e8028f9785c6d0c45 /css/print/pdf.css
parent38aff9a37d1806a24290b2d53a923d2a6dac5916 (diff)
downloadfreenode-live-2017-presentation-af2a8b053d27ed5c97256d29ab4f06a6bcece6b7.tar
freenode-live-2017-presentation-af2a8b053d27ed5c97256d29ab4f06a6bcece6b7.tar.gz
include theme background in printed pdfs (#217), fix empty white pages in regular print (#215)
Diffstat (limited to 'css/print/pdf.css')
-rw-r--r--css/print/pdf.css53
1 files changed, 25 insertions, 28 deletions
diff --git a/css/print/pdf.css b/css/print/pdf.css
index ec03eda..7c1a496 100644
--- a/css/print/pdf.css
+++ b/css/print/pdf.css
@@ -23,7 +23,7 @@ body {
padding: 0;
float: none !important;
overflow: visible;
- background: #333;
+ background-image: none;
}
html {
@@ -35,13 +35,13 @@ html {
/* SECTION 2: Remove any elements not needed in print.
This would include navigation, ads, sidebars, etc. */
.nestedarrow,
-.controls a,
+.controls,
.reveal .progress,
.reveal.overview,
.fork-reveal,
.share-reveal,
.state-background {
- display:none;
+ display: none !important;
}
/* SECTION 3: Set body font face, size, and color.
@@ -102,36 +102,33 @@ ul, ol, div, p {
-ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%;
}
-.reveal .slides>section, .reveal .slides>section>section,
-.reveal .slides>section.past, .reveal .slides>section.future,
-.reveal.linear .slides>section, .reveal.linear .slides>section>section,
-.reveal.linear .slides>section.past, .reveal.linear .slides>section.future {
+.reveal .slides>section, .reveal .slides>section>section {
- visibility: visible;
- position: static;
- width: 100%;
- height: auto;
- min-height: initial;
- display: block;
- overflow: visible;
+ visibility: visible !important;
+ position: static !important;
+ width: 100% !important;
+ height: auto !important;
+ min-height: initial !important;
+ display: block !important;
+ overflow: visible !important;
- left: 0%;
- top: 0%;
- margin-left: 0px;
- margin-top: 50px;
- padding: 20px 0px;
+ left: 0% !important;
+ top: 0% !important;
+ margin-left: 0px !important;
+ margin-top: 50px !important;
+ padding: 20px 0px !important;
- opacity: 1;
+ opacity: 1 !important;
- -webkit-transform-style: flat;
- -moz-transform-style: flat;
- -ms-transform-style: flat;
- transform-style: flat;
+ -webkit-transform-style: flat !important;
+ -moz-transform-style: flat !important;
+ -ms-transform-style: flat !important;
+ transform-style: flat !important;
- -webkit-transform: none;
- -moz-transform: none;
- -ms-transform: none;
- transform: none;
+ -webkit-transform: none !important;
+ -moz-transform: none !important;
+ -ms-transform: none !important;
+ transform: none !important;
}
.reveal section {
page-break-after: always !important;