aboutsummaryrefslogtreecommitdiffhomepage
path: root/css/print/pdf.css
diff options
context:
space:
mode:
authorHakim El Hattab2017-01-10 13:45:52 +0100
committerHakim El Hattab2017-01-10 13:45:52 +0100
commita144134b42c15964f469cf4499859268f52ccb46 (patch)
tree7ef37dadc82e5726e249e5677ec0125691581a75 /css/print/pdf.css
parent713702a0ab81d1756a30e6c14ae49afd42135541 (diff)
parent97bb6e9b584f6b4eee33c91e04e5a40da358b7cd (diff)
Merge branch 'dev' of github.com:hakimel/reveal.js
Diffstat (limited to 'css/print/pdf.css')
-rw-r--r--css/print/pdf.css34
1 files changed, 22 insertions, 12 deletions
diff --git a/css/print/pdf.css b/css/print/pdf.css
index 9ed90d6..4bfcddc 100644
--- a/css/print/pdf.css
+++ b/css/print/pdf.css
@@ -60,8 +60,9 @@ ul, ol, div, p {
}
.reveal .slides {
position: static;
- width: 100%;
- height: auto;
+ width: 100% !important;
+ height: auto !important;
+ zoom: 1 !important;
left: auto;
top: auto;
@@ -82,11 +83,16 @@ ul, ol, div, p {
perspective-origin: 50% 50%;
}
+.reveal .slides .pdf-page {
+ position: relative;
+ overflow: hidden;
+ z-index: 1;
+}
+
.reveal .slides section {
page-break-after: always !important;
visibility: visible !important;
- position: relative !important;
display: block !important;
position: relative !important;
@@ -132,13 +138,7 @@ ul, ol, div, p {
top: 0;
left: 0;
width: 100%;
- z-index: -1;
-}
-
-/* All elements should be above the slide-background */
-.reveal section>* {
- position: relative;
- z-index: 1;
+ height: 100%;
}
/* Display slide speaker notes when 'showNotes' is enabled */
@@ -146,15 +146,25 @@ ul, ol, div, p {
display: block;
width: 100%;
max-height: none;
- left: auto;
top: auto;
+ right: auto;
+ bottom: auto;
+ left: auto;
z-index: 100;
}
+/* Layout option which makes notes appear on a separate page */
+.reveal .speaker-notes-pdf[data-layout="separate-page"] {
+ position: relative;
+ color: inherit;
+ background-color: transparent;
+ padding: 20px;
+ page-break-after: always;
+}
+
/* Display slide numbers when 'slideNumber' is enabled */
.reveal .slide-number-pdf {
display: block;
position: absolute;
font-size: 14px;
}
-