rc-web@42: /* Default Print Stylesheet Template rc-web@42: by Rob Glazebrook of CSSnewbie.com rc-web@42: Last Updated: June 4, 2008 rc-web@42: rc-web@42: Feel free (nay, compelled) to edit, append, and rc-web@42: manipulate this file as you see fit. */ rc-web@42: rc-web@42: rc-web@42: /* SECTION 1: Set default width, margin, float, and rc-web@42: background. This prevents elements from extending rc-web@42: beyond the edge of the printed page, and prevents rc-web@42: unnecessary background images from printing */ rc-web@42: * { rc-web@42: -webkit-print-color-adjust: exact; rc-web@42: } rc-web@42: rc-web@42: body { rc-web@42: font-size: 22pt; rc-web@42: width: auto; rc-web@42: height: auto; rc-web@42: border: 0; rc-web@42: margin: 0 5%; rc-web@42: padding: 0; rc-web@42: float: none !important; rc-web@42: overflow: visible; rc-web@42: background: #333; rc-web@42: } rc-web@42: rc-web@42: html { rc-web@42: width: auto; rc-web@42: height: auto; rc-web@42: overflow: visible; rc-web@42: } rc-web@42: rc-web@42: /* SECTION 2: Remove any elements not needed in print. rc-web@42: This would include navigation, ads, sidebars, etc. */ rc-web@42: .nestedarrow, rc-web@42: .controls a, rc-web@42: .reveal .progress, rc-web@42: .reveal.overview, rc-web@42: .fork-reveal, rc-web@42: .share-reveal, rc-web@42: .state-background { rc-web@42: display:none; rc-web@42: } rc-web@42: rc-web@42: /* SECTION 3: Set body font face, size, and color. rc-web@42: Consider using a serif font for readability. */ rc-web@42: body, p, td, li, div, a { rc-web@42: font-size: 22pt; rc-web@42: } rc-web@42: rc-web@42: /* SECTION 4: Set heading font face, sizes, and color. rc-web@42: Diffrentiate your headings from your body text. rc-web@42: Perhaps use a large sans-serif for distinction. */ rc-web@42: h1,h2,h3,h4,h5,h6 { rc-web@42: text-shadow: 0 0 0 #000 !important; rc-web@42: } rc-web@42: rc-web@42: /* SECTION 5: Make hyperlinks more usable. rc-web@42: Ensure links are underlined, and consider appending rc-web@42: the URL to the end of the link for usability. */ rc-web@42: a:link, rc-web@42: a:visited { rc-web@42: font-weight: bold; rc-web@42: text-decoration: underline; rc-web@42: } rc-web@42: rc-web@42: rc-web@42: /* SECTION 6: more reveal.js specific additions by @skypanther */ rc-web@42: ul, ol, div, p { rc-web@42: visibility: visible; rc-web@42: position: static; rc-web@42: width: auto; rc-web@42: height: auto; rc-web@42: display: block; rc-web@42: overflow: visible; rc-web@42: margin: auto; rc-web@42: } rc-web@42: .reveal .slides { rc-web@42: position: static; rc-web@42: width: 100%; rc-web@42: height: auto; rc-web@42: rc-web@42: left: auto; rc-web@42: top: auto; rc-web@42: margin-left: auto; rc-web@42: margin-top: auto; rc-web@42: padding: auto; rc-web@42: rc-web@42: overflow: visible; rc-web@42: display: block; rc-web@42: rc-web@42: text-align: center; rc-web@42: -webkit-perspective: none; rc-web@42: -moz-perspective: none; rc-web@42: -ms-perspective: none; rc-web@42: perspective: none; rc-web@42: rc-web@42: -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */ rc-web@42: -moz-perspective-origin: 50% 50%; rc-web@42: -ms-perspective-origin: 50% 50%; rc-web@42: perspective-origin: 50% 50%; rc-web@42: } rc-web@42: .reveal .slides>section, .reveal .slides>section>section, rc-web@42: .reveal .slides>section.past, .reveal .slides>section.future, rc-web@42: .reveal.linear .slides>section, .reveal.linear .slides>section>section, rc-web@42: .reveal.linear .slides>section.past, .reveal.linear .slides>section.future { rc-web@42: rc-web@42: visibility: visible; rc-web@42: position: static; rc-web@42: width: 100%; rc-web@42: height: auto; rc-web@42: min-height: initial; rc-web@42: display: block; rc-web@42: overflow: visible; rc-web@42: rc-web@42: left: 0%; rc-web@42: top: 0%; rc-web@42: margin-left: 0px; rc-web@42: margin-top: 50px; rc-web@42: padding: 20px 0px; rc-web@42: rc-web@42: opacity: 1; rc-web@42: rc-web@42: -webkit-transform-style: flat; rc-web@42: -moz-transform-style: flat; rc-web@42: -ms-transform-style: flat; rc-web@42: transform-style: flat; rc-web@42: rc-web@42: -webkit-transform: none; rc-web@42: -moz-transform: none; rc-web@42: -ms-transform: none; rc-web@42: transform: none; rc-web@42: } rc-web@42: .reveal section { rc-web@42: page-break-after: always !important; rc-web@42: display: block !important; rc-web@42: } rc-web@42: .reveal section.stack { rc-web@42: margin: 0px !important; rc-web@42: padding: 0px !important; rc-web@42: page-break-after: avoid !important; rc-web@42: } rc-web@42: .reveal section .fragment { rc-web@42: opacity: 1 !important; rc-web@42: } rc-web@42: .reveal img { rc-web@42: box-shadow: none; rc-web@42: } rc-web@42: .reveal .roll { rc-web@42: overflow: visible; rc-web@42: line-height: 1em; rc-web@42: } rc-web@42: rc-web@42: .reveal small a { rc-web@42: font-size: 16pt !important; rc-web@42: }