2012-08-04 21:45:13 +02:00
|
|
|
/* Default Print Stylesheet Template
|
|
|
|
by Rob Glazebrook of CSSnewbie.com
|
|
|
|
Last Updated: June 4, 2008
|
|
|
|
|
2013-02-03 22:17:46 +01:00
|
|
|
Feel free (nay, compelled) to edit, append, and
|
2012-08-04 21:45:13 +02:00
|
|
|
manipulate this file as you see fit. */
|
|
|
|
|
|
|
|
|
|
|
|
/* SECTION 1: Set default width, margin, float, and
|
2013-02-03 22:17:46 +01:00
|
|
|
background. This prevents elements from extending
|
2012-08-04 21:45:13 +02:00
|
|
|
beyond the edge of the printed page, and prevents
|
|
|
|
unnecessary background images from printing */
|
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;
|
|
|
|
}
|
|
|
|
|
2013-02-03 22:17:46 +01:00
|
|
|
/* SECTION 2: Remove any elements not needed in print.
|
2012-08-04 21:45:13 +02:00
|
|
|
This would include navigation, ads, sidebars, etc. */
|
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 .slide-number,
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
|
|
|
/* SECTION 3: Set body font face, size, and color.
|
|
|
|
Consider using a serif font for readability. */
|
2012-09-27 17:39:11 +02:00
|
|
|
body, p, td, li, div {
|
2014-05-10 10:10:59 +02:00
|
|
|
|
2012-08-04 21:45:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* SECTION 4: Set heading font face, sizes, and color.
|
2013-07-10 15:01:56 +02:00
|
|
|
Differentiate your headings from your body text.
|
2012-08-04 21:45:13 +02: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 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
|
|
|
|
2014-12-09 15:06:25 +01:00
|
|
|
/* SECTION 5: more reveal.js specific additions by @skypanther */
|
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;
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
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%;
|
|
|
|
}
|
2012-11-11 02:09:12 +01:00
|
|
|
.reveal .slides section {
|
2013-02-03 22:17:46 +01:00
|
|
|
page-break-after: always !important;
|
2012-11-11 02:09:12 +01:00
|
|
|
|
2012-10-29 00:32:24 +01:00
|
|
|
visibility: visible !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
position: relative !important;
|
2012-10-29 00:32:24 +01:00
|
|
|
display: block !important;
|
2014-04-23 19:47:30 +02:00
|
|
|
position: relative !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
|
|
|
}
|
|
|
|
.reveal section.stack {
|
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
|
|
|
}
|
2014-04-23 19:47:30 +02:00
|
|
|
.reveal img {
|
|
|
|
box-shadow: none;
|
2013-06-22 15:47:29 +02: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 */
|
2013-06-09 16:12:50 +02:00
|
|
|
.reveal section .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%;
|
2014-12-09 15:06:25 +01:00
|
|
|
z-index: -1;
|
2013-06-09 16:12:50 +02:00
|
|
|
}
|
2014-04-23 19:47:30 +02:00
|
|
|
/* All elements should be above the slide-background */
|
2013-06-09 16:12:50 +02:00
|
|
|
.reveal section>* {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2014-04-03 10:51:27 +02:00
|
|
|
|