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 {
|
2012-09-27 15:39:11 +00:00
|
|
|
font-size: 18pt;
|
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,
|
|
|
|
.controls,
|
|
|
|
.reveal .progress,
|
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 {
|
|
|
|
font-size: 18pt;
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* SECTION 5: Make hyperlinks more usable.
|
|
|
|
Ensure links are underlined, and consider appending
|
|
|
|
the URL to the end of the link for usability. */
|
2013-02-03 21:17:46 +00:00
|
|
|
a:link,
|
2012-08-04 19:45:13 +00:00
|
|
|
a:visited {
|
2013-11-27 12:38:48 +00:00
|
|
|
font-weight: normal;
|
2012-08-04 19:45:13 +00:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2013-06-23 14:02:16 +00:00
|
|
|
.reveal pre code {
|
|
|
|
overflow: hidden !important;
|
|
|
|
font-family: monospace !important;
|
|
|
|
}
|
|
|
|
|
2012-08-04 19:45:13 +00:00
|
|
|
|
|
|
|
/* SECTION 6: more reveal.js specific additions by @skypanther */
|
|
|
|
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;
|
2014-05-04 06:24:26 +00:00
|
|
|
max-height: 80%;
|
2013-06-22 13:47:29 +00:00
|
|
|
}
|
2014-04-23 17:47:30 +00:00
|
|
|
.reveal .roll {
|
|
|
|
overflow: visible;
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
.reveal small a {
|
|
|
|
font-size: 16pt !important;
|
2012-08-04 19:45:13 +00:00
|
|
|
}
|
2014-04-23 17:47:30 +00:00
|
|
|
|
|
|
|
/* 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%;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
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
|
|
|
|