2015-10-29 13:24:47 +01:00
|
|
|
/**
|
|
|
|
* This stylesheet is used to print reveal.js
|
|
|
|
* presentations to PDF.
|
|
|
|
*
|
|
|
|
* https://github.com/hakimel/reveal.js#pdf-export
|
|
|
|
*/
|
2013-02-03 22:17:46 +01:00
|
|
|
|
2012-08-04 21:45:13 +02:00
|
|
|
* {
|
2013-02-03 22:17:46 +01:00
|
|
|
-webkit-print-color-adjust: exact;
|
2012-08-04 21:45:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2013-06-09 16:12:50 +02:00
|
|
|
margin: 0 auto !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
float: none !important;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
2013-02-03 22:17:46 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2012-08-04 21:45:13 +02:00
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
2015-10-29 13:24:47 +01:00
|
|
|
/* Remove any elements not needed in print. */
|
2013-02-03 22:17:46 +01:00
|
|
|
.nestedarrow,
|
2014-05-20 12:09:49 +02:00
|
|
|
.reveal .controls,
|
2013-02-03 22:17:46 +01:00
|
|
|
.reveal .progress,
|
2014-05-20 12:09:49 +02:00
|
|
|
.reveal .playback,
|
2012-08-04 21:45:13 +02:00
|
|
|
.reveal.overview,
|
|
|
|
.fork-reveal,
|
|
|
|
.share-reveal,
|
|
|
|
.state-background {
|
2012-10-29 00:32:24 +01:00
|
|
|
display: none !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
}
|
|
|
|
|
2015-10-29 13:24:47 +01:00
|
|
|
h1, h2, h3, h4, h5, h6 {
|
2012-08-04 21:45:13 +02:00
|
|
|
text-shadow: 0 0 0 #000 !important;
|
|
|
|
}
|
|
|
|
|
2013-06-23 16:02:16 +02:00
|
|
|
.reveal pre code {
|
|
|
|
overflow: hidden !important;
|
2014-05-23 14:06:52 +02:00
|
|
|
font-family: Courier, 'Courier New', monospace !important;
|
2013-06-23 16:02:16 +02:00
|
|
|
}
|
|
|
|
|
2012-08-04 21:45:13 +02:00
|
|
|
ul, ol, div, p {
|
|
|
|
visibility: visible;
|
|
|
|
position: static;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
display: block;
|
|
|
|
overflow: visible;
|
|
|
|
margin: auto;
|
|
|
|
}
|
2013-06-22 04:02:06 +02:00
|
|
|
.reveal {
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
}
|
2012-08-04 21:45:13 +02:00
|
|
|
.reveal .slides {
|
|
|
|
position: static;
|
2016-03-10 18:50:35 +01:00
|
|
|
width: 100% !important;
|
|
|
|
height: auto !important;
|
|
|
|
zoom: 1 !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
|
|
|
|
left: auto;
|
|
|
|
top: auto;
|
2013-06-09 16:12:50 +02:00
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
|
|
|
|
overflow: visible;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
-webkit-perspective: none;
|
|
|
|
-moz-perspective: none;
|
|
|
|
-ms-perspective: none;
|
|
|
|
perspective: none;
|
|
|
|
|
|
|
|
-webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
|
|
|
|
-moz-perspective-origin: 50% 50%;
|
|
|
|
-ms-perspective-origin: 50% 50%;
|
|
|
|
perspective-origin: 50% 50%;
|
|
|
|
}
|
2015-10-29 13:24:47 +01:00
|
|
|
|
2016-04-28 17:07:26 +02:00
|
|
|
.reveal .slides .pdf-page {
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 1;
|
2017-04-04 13:37:01 +02:00
|
|
|
|
|
|
|
page-break-after: always;
|
2016-04-28 17:07:26 +02:00
|
|
|
}
|
|
|
|
|
2012-11-11 02:09:12 +01:00
|
|
|
.reveal .slides section {
|
2012-10-29 00:32:24 +01:00
|
|
|
visibility: visible !important;
|
|
|
|
display: block !important;
|
2017-04-04 13:37:01 +02:00
|
|
|
position: absolute !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
|
2013-06-09 16:12:50 +02:00
|
|
|
margin: 0 !important;
|
2014-04-23 19:47:30 +02:00
|
|
|
padding: 0 !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
box-sizing: border-box !important;
|
2014-04-29 13:30:56 +02:00
|
|
|
min-height: 1px;
|
2012-08-04 21:45:13 +02:00
|
|
|
|
2012-10-29 00:32:24 +01:00
|
|
|
opacity: 1 !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
|
2012-10-29 00:32:24 +01:00
|
|
|
-webkit-transform-style: flat !important;
|
|
|
|
-moz-transform-style: flat !important;
|
|
|
|
-ms-transform-style: flat !important;
|
|
|
|
transform-style: flat !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
|
2012-10-29 00:32:24 +01:00
|
|
|
-webkit-transform: none !important;
|
|
|
|
-moz-transform: none !important;
|
|
|
|
-ms-transform: none !important;
|
|
|
|
transform: none !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
}
|
2015-10-29 13:24:47 +01:00
|
|
|
|
2012-08-04 21:45:13 +02:00
|
|
|
.reveal section.stack {
|
2017-04-04 13:37:01 +02:00
|
|
|
position: relative !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
2013-02-03 22:17:46 +01:00
|
|
|
page-break-after: avoid !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
height: auto !important;
|
|
|
|
min-height: auto !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
}
|
2015-10-29 13:24:47 +01:00
|
|
|
|
2014-04-23 19:47:30 +02:00
|
|
|
.reveal img {
|
|
|
|
box-shadow: none;
|
2013-06-22 15:47:29 +02:00
|
|
|
}
|
2015-10-29 13:24:47 +01:00
|
|
|
|
2014-04-23 19:47:30 +02:00
|
|
|
.reveal .roll {
|
|
|
|
overflow: visible;
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Slide backgrounds are placed inside of their slide when exporting to PDF */
|
2017-01-24 15:27:27 +01:00
|
|
|
.reveal .slide-background {
|
2014-04-27 17:31:50 +02:00
|
|
|
display: block !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2016-04-28 17:07:26 +02:00
|
|
|
height: 100%;
|
2017-01-24 14:48:36 +01:00
|
|
|
z-index: auto !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
}
|
2014-04-03 10:51:27 +02:00
|
|
|
|
2015-09-10 09:16:58 +02:00
|
|
|
/* Display slide speaker notes when 'showNotes' is enabled */
|
2016-10-11 11:03:49 +02:00
|
|
|
.reveal.show-notes {
|
|
|
|
max-width: none;
|
|
|
|
max-height: none;
|
|
|
|
}
|
2015-09-10 09:30:57 +02:00
|
|
|
.reveal .speaker-notes-pdf {
|
2015-09-10 09:16:58 +02:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
2016-10-11 11:03:49 +02:00
|
|
|
height: auto;
|
2015-09-10 09:16:58 +02:00
|
|
|
max-height: none;
|
|
|
|
top: auto;
|
2016-05-26 09:57:19 +02:00
|
|
|
right: auto;
|
|
|
|
bottom: auto;
|
|
|
|
left: auto;
|
2015-09-10 10:35:25 +02:00
|
|
|
z-index: 100;
|
2015-09-10 09:16:58 +02:00
|
|
|
}
|
|
|
|
|
2016-05-26 09:57:19 +02:00
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
|
2015-10-29 11:59:26 +01:00
|
|
|
/* Display slide numbers when 'slideNumber' is enabled */
|
|
|
|
.reveal .slide-number-pdf {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|