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 {
|
2012-09-27 17:39:11 +02:00
|
|
|
font-size: 18pt;
|
2013-06-09 16:12:50 +02:00
|
|
|
width: 297mm;
|
|
|
|
height: 229mm;
|
|
|
|
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-21 20:21:47 +01:00
|
|
|
@page {
|
|
|
|
size: letter landscape;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
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,
|
|
|
|
.controls,
|
|
|
|
.reveal .progress,
|
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 {
|
|
|
|
font-size: 18pt;
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 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 22:17:46 +01:00
|
|
|
a:link,
|
2012-08-04 21:45:13 +02:00
|
|
|
a:visited {
|
2013-11-27 13:38:48 +01:00
|
|
|
font-weight: normal;
|
2012-08-04 21:45:13 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
2013-06-23 16:02:16 +02:00
|
|
|
.reveal pre code {
|
|
|
|
overflow: hidden !important;
|
|
|
|
font-family: monospace !important;
|
|
|
|
}
|
|
|
|
|
2012-08-04 21:45:13 +02: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 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;
|
|
|
|
|
|
|
|
text-align: center;
|
2012-11-11 02:09:12 +01:00
|
|
|
|
2012-08-04 21:45:13 +02:00
|
|
|
-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
|
|
|
width: 100% !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
height: 229mm !important;
|
|
|
|
min-height: 229mm !important;
|
2012-10-29 00:32:24 +01:00
|
|
|
display: block !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
overflow: hidden !important;
|
2012-08-04 21:45:13 +02:00
|
|
|
|
2012-11-11 02:09:12 +01:00
|
|
|
left: 0 !important;
|
|
|
|
top: 0 !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
margin: 0 !important;
|
2013-06-22 15:47:29 +02:00
|
|
|
padding: 2cm 2cm 0 2cm !important;
|
2013-06-09 16:12:50 +02:00
|
|
|
box-sizing: border-box !important;
|
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
|
|
|
}
|
2013-06-22 15:47:29 +02:00
|
|
|
.reveal .absolute-element {
|
|
|
|
margin-left: 2.2cm;
|
|
|
|
margin-top: 1.8cm;
|
|
|
|
}
|
2012-08-04 21:45:13 +02:00
|
|
|
.reveal section .fragment {
|
|
|
|
opacity: 1 !important;
|
2012-11-11 00:15:05 +01:00
|
|
|
visibility: visible !important;
|
2013-02-03 22:17:46 +01:00
|
|
|
|
2012-11-11 00:15:05 +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
|
|
|
}
|
2013-06-09 16:12:50 +02:00
|
|
|
.reveal section .slide-background {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
.reveal section>* {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2012-08-04 21:45:13 +02:00
|
|
|
.reveal img {
|
|
|
|
box-shadow: none;
|
2012-08-04 22:16:23 +02:00
|
|
|
}
|
|
|
|
.reveal .roll {
|
|
|
|
overflow: visible;
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
|
|
|
.reveal small a {
|
|
|
|
font-size: 16pt !important;
|
2012-09-27 17:39:11 +02:00
|
|
|
}
|
2014-04-03 10:51:27 +02:00
|
|
|
|
|
|
|
.reveal.center .slides section:not(.stack) {
|
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding-top: 2em !important;
|
|
|
|
padding-bottom: 2em !important;
|
|
|
|
}
|