aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2016-04-28 17:07:26 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-04-28 17:07:26 +0200
commit9b11915c3a409aa456c64e9d386ac15598a4fa6b (patch)
treefd4949b56fa9440b2ed517ab90bffa53eef61ecb /css
parent55581035228aba9a0d061a6969797327c626b0bf (diff)
downloadfreenode-live-2017-presentation-9b11915c3a409aa456c64e9d386ac15598a4fa6b.tar
freenode-live-2017-presentation-9b11915c3a409aa456c64e9d386ac15598a4fa6b.tar.gz
fix pdf bg layering, simplify code
Diffstat (limited to 'css')
-rw-r--r--css/print/pdf.css14
1 files changed, 7 insertions, 7 deletions
diff --git a/css/print/pdf.css b/css/print/pdf.css
index 9ed90d6..9ae0dfe 100644
--- a/css/print/pdf.css
+++ b/css/print/pdf.css
@@ -82,6 +82,12 @@ 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;
@@ -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 */