2012-08-04 19:45:13 +00:00
|
|
|
/* Default Print Stylesheet Template
|
|
|
|
by Rob Glazebrook of CSSnewbie.com
|
|
|
|
Last Updated: June 4, 2008
|
|
|
|
|
2013-02-03 21:17:46 +00:00
|
|
|
Feel free (nay, compelled) to edit, append, and
|
2012-08-04 19:45:13 +00:00
|
|
|
manipulate this file as you see fit. */
|
|
|
|
|
|
|
|
|
|
|
|
/* SECTION 1: Set default width, margin, float, and
|
2013-02-03 21:17:46 +00:00
|
|
|
background. This prevents elements from extending
|
2012-08-04 19:45:13 +00:00
|
|
|
beyond the edge of the printed page, and prevents
|
|
|
|
unnecessary background images from printing */
|
2013-02-03 21:17:46 +00:00
|
|
|
|
2012-08-04 19:45:13 +00:00
|
|
|
* {
|
2013-02-03 21:17:46 +00:00
|
|
|
-webkit-print-color-adjust: exact;
|
2012-08-04 19:45:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2013-06-09 14:12:50 +00:00
|
|
|
margin: 0 auto !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
float: none !important;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
2013-02-03 21:17:46 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2012-08-04 19:45:13 +00:00
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
2013-02-03 21:17:46 +00:00
|
|
|
/* SECTION 2: Remove any elements not needed in print.
|
2012-08-04 19:45:13 +00:00
|
|
|
This would include navigation, ads, sidebars, etc. */
|
2013-02-03 21:17:46 +00:00
|
|
|
.nestedarrow,
|
2014-05-20 10:09:49 +00:00
|
|
|
.reveal .controls,
|
2013-02-03 21:17:46 +00:00
|
|
|
.reveal .progress,
|
2014-05-20 10:09:49 +00:00
|
|
|
.reveal .slide-number,
|
|
|
|
.reveal .playback,
|
2012-08-04 19:45:13 +00:00
|
|
|
.reveal.overview,
|
|
|
|
.fork-reveal,
|
|
|
|
.share-reveal,
|
|
|
|
.state-background {
|
2012-10-28 23:32:24 +00:00
|
|
|
display: none !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* SECTION 3: Set body font face, size, and color.
|
|
|
|
Consider using a serif font for readability. */
|
2012-09-27 15:39:11 +00:00
|
|
|
body, p, td, li, div {
|
2014-05-10 08:10:59 +00:00
|
|
|
|
2012-08-04 19:45:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* SECTION 4: Set heading font face, sizes, and color.
|
2013-07-10 13:01:56 +00:00
|
|
|
Differentiate your headings from your body text.
|
2012-08-04 19:45:13 +00:00
|
|
|
Perhaps use a large sans-serif for distinction. */
|
|
|
|
h1,h2,h3,h4,h5,h6 {
|
|
|
|
text-shadow: 0 0 0 #000 !important;
|
|
|
|
}
|
|
|
|
|
2013-06-23 14:02:16 +00:00
|
|
|
.reveal pre code {
|
|
|
|
overflow: hidden !important;
|
2014-05-23 12:06:52 +00:00
|
|
|
font-family: Courier, 'Courier New', monospace !important;
|
2013-06-23 14:02:16 +00:00
|
|
|
}
|
|
|
|
|
2012-08-04 19:45:13 +00:00
|
|
|
|
2014-12-09 14:06:25 +00:00
|
|
|
/* SECTION 5: more reveal.js specific additions by @skypanther */
|
2012-08-04 19:45:13 +00:00
|
|
|
ul, ol, div, p {
|
|
|
|
visibility: visible;
|
|
|
|
position: static;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
display: block;
|
|
|
|
overflow: visible;
|
|
|
|
margin: auto;
|
|
|
|
}
|
2013-06-22 02:02:06 +00:00
|
|
|
.reveal {
|
|
|
|
width: auto !important;
|
|
|
|
height: auto !important;
|
|
|
|
overflow: hidden !important;
|
|
|
|
}
|
2012-08-04 19:45:13 +00:00
|
|
|
.reveal .slides {
|
|
|
|
position: static;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
left: auto;
|
|
|
|
top: auto;
|
2013-06-09 14:12:50 +00:00
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
2012-08-04 19:45:13 +00: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%;
|
|
|
|
}
|
2012-11-11 01:09:12 +00:00
|
|
|
.reveal .slides section {
|
2013-02-03 21:17:46 +00:00
|
|
|
page-break-after: always !important;
|
2012-11-11 01:09:12 +00:00
|
|
|
|
2012-10-28 23:32:24 +00:00
|
|
|
visibility: visible !important;
|
2013-06-09 14:12:50 +00:00
|
|
|
position: relative !important;
|
2012-10-28 23:32:24 +00:00
|
|
|
display: block !important;
|
2014-04-23 17:47:30 +00:00
|
|
|
position: relative !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
|
2013-06-09 14:12:50 +00:00
|
|
|
margin: 0 !important;
|
2014-04-23 17:47:30 +00:00
|
|
|
padding: 0 !important;
|
2013-06-09 14:12:50 +00:00
|
|
|
box-sizing: border-box !important;
|
2014-04-29 11:30:56 +00:00
|
|
|
min-height: 1px;
|
2012-08-04 19:45:13 +00:00
|
|
|
|
2012-10-28 23:32:24 +00:00
|
|
|
opacity: 1 !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
|
2012-10-28 23:32:24 +00:00
|
|
|
-webkit-transform-style: flat !important;
|
|
|
|
-moz-transform-style: flat !important;
|
|
|
|
-ms-transform-style: flat !important;
|
|
|
|
transform-style: flat !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
|
2012-10-28 23:32:24 +00:00
|
|
|
-webkit-transform: none !important;
|
|
|
|
-moz-transform: none !important;
|
|
|
|
-ms-transform: none !important;
|
|
|
|
transform: none !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
}
|
|
|
|
.reveal section.stack {
|
2013-06-09 14:12:50 +00:00
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
2013-02-03 21:17:46 +00:00
|
|
|
page-break-after: avoid !important;
|
2013-06-09 14:12:50 +00:00
|
|
|
height: auto !important;
|
|
|
|
min-height: auto !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
}
|
2014-04-23 17:47:30 +00:00
|
|
|
.reveal img {
|
|
|
|
box-shadow: none;
|
2013-06-22 13:47:29 +00:00
|
|
|
}
|
2014-04-23 17:47:30 +00:00
|
|
|
.reveal .roll {
|
|
|
|
overflow: visible;
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Slide backgrounds are placed inside of their slide when exporting to PDF */
|
2013-06-09 14:12:50 +00:00
|
|
|
.reveal section .slide-background {
|
2014-04-27 15:31:50 +00:00
|
|
|
display: block !important;
|
2013-06-09 14:12:50 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2014-12-09 14:06:25 +00:00
|
|
|
z-index: -1;
|
2013-06-09 14:12:50 +00:00
|
|
|
}
|
2015-09-10 07:16:58 +00:00
|
|
|
|
2014-04-23 17:47:30 +00:00
|
|
|
/* All elements should be above the slide-background */
|
2013-06-09 14:12:50 +00:00
|
|
|
.reveal section>* {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2014-04-03 08:51:27 +00:00
|
|
|
|
2015-09-10 07:16:58 +00:00
|
|
|
/* Display slide speaker notes when 'showNotes' is enabled */
|
2015-09-10 07:30:57 +00:00
|
|
|
.reveal .speaker-notes-pdf {
|
2015-09-10 07:16:58 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
max-height: none;
|
|
|
|
left: auto;
|
|
|
|
top: auto;
|
2015-09-10 08:35:25 +00:00
|
|
|
z-index: 100;
|
2015-09-10 07:16:58 +00:00
|
|
|
}
|
|
|
|
|