rc-web@42
|
1 /* Default Print Stylesheet Template
|
rc-web@42
|
2 by Rob Glazebrook of CSSnewbie.com
|
rc-web@42
|
3 Last Updated: June 4, 2008
|
rc-web@42
|
4
|
rc-web@42
|
5 Feel free (nay, compelled) to edit, append, and
|
rc-web@42
|
6 manipulate this file as you see fit. */
|
rc-web@42
|
7
|
rc-web@42
|
8
|
rc-web@42
|
9 /* SECTION 1: Set default width, margin, float, and
|
rc-web@42
|
10 background. This prevents elements from extending
|
rc-web@42
|
11 beyond the edge of the printed page, and prevents
|
rc-web@42
|
12 unnecessary background images from printing */
|
rc-web@42
|
13 body {
|
rc-web@42
|
14 background: #fff;
|
rc-web@42
|
15 font-size: 13pt;
|
rc-web@42
|
16 width: auto;
|
rc-web@42
|
17 height: auto;
|
rc-web@42
|
18 border: 0;
|
rc-web@42
|
19 margin: 0 5%;
|
rc-web@42
|
20 padding: 0;
|
rc-web@42
|
21 float: none !important;
|
rc-web@42
|
22 overflow: visible;
|
rc-web@42
|
23 }
|
rc-web@42
|
24 html {
|
rc-web@42
|
25 background: #fff;
|
rc-web@42
|
26 width: auto;
|
rc-web@42
|
27 height: auto;
|
rc-web@42
|
28 overflow: visible;
|
rc-web@42
|
29 }
|
rc-web@42
|
30
|
rc-web@42
|
31 /* SECTION 2: Remove any elements not needed in print.
|
rc-web@42
|
32 This would include navigation, ads, sidebars, etc. */
|
rc-web@42
|
33 .nestedarrow,
|
rc-web@42
|
34 .controls a,
|
rc-web@42
|
35 .reveal .progress,
|
rc-web@42
|
36 .reveal.overview,
|
rc-web@42
|
37 .fork-reveal,
|
rc-web@42
|
38 .share-reveal,
|
rc-web@42
|
39 .state-background {
|
rc-web@42
|
40 display:none;
|
rc-web@42
|
41 }
|
rc-web@42
|
42
|
rc-web@42
|
43 /* SECTION 3: Set body font face, size, and color.
|
rc-web@42
|
44 Consider using a serif font for readability. */
|
rc-web@42
|
45 body, p, td, li, div, a {
|
rc-web@42
|
46 font-size: 13pt;
|
rc-web@42
|
47 font-family: Georgia, "Times New Roman", Times, serif !important;
|
rc-web@42
|
48 color: #000;
|
rc-web@42
|
49 }
|
rc-web@42
|
50
|
rc-web@42
|
51 /* SECTION 4: Set heading font face, sizes, and color.
|
rc-web@42
|
52 Diffrentiate your headings from your body text.
|
rc-web@42
|
53 Perhaps use a large sans-serif for distinction. */
|
rc-web@42
|
54 h1,h2,h3,h4,h5,h6 {
|
rc-web@42
|
55 color: #000!important;
|
rc-web@42
|
56 height: auto;
|
rc-web@42
|
57 line-height: normal;
|
rc-web@42
|
58 font-family: Georgia, "Times New Roman", Times, serif !important;
|
rc-web@42
|
59 text-shadow: 0 0 0 #000 !important;
|
rc-web@42
|
60 text-align: left;
|
rc-web@42
|
61 letter-spacing: normal;
|
rc-web@42
|
62 }
|
rc-web@42
|
63 /* Need to reduce the size of the fonts for printing */
|
rc-web@42
|
64 h1 { font-size: 26pt !important; }
|
rc-web@42
|
65 h2 { font-size: 22pt !important; }
|
rc-web@42
|
66 h3 { font-size: 20pt !important; }
|
rc-web@42
|
67 h4 { font-size: 20pt !important; font-variant: small-caps; }
|
rc-web@42
|
68 h5 { font-size: 19pt !important; }
|
rc-web@42
|
69 h6 { font-size: 18pt !important; font-style: italic; }
|
rc-web@42
|
70
|
rc-web@42
|
71 /* SECTION 5: Make hyperlinks more usable.
|
rc-web@42
|
72 Ensure links are underlined, and consider appending
|
rc-web@42
|
73 the URL to the end of the link for usability. */
|
rc-web@42
|
74 a:link,
|
rc-web@42
|
75 a:visited {
|
rc-web@42
|
76 color: #000 !important;
|
rc-web@42
|
77 font-weight: bold;
|
rc-web@42
|
78 text-decoration: underline;
|
rc-web@42
|
79 }
|
rc-web@42
|
80 .reveal a:link:after,
|
rc-web@42
|
81 .reveal a:visited:after {
|
rc-web@42
|
82 content: " (" attr(href) ") ";
|
rc-web@42
|
83 color: #222 !important;
|
rc-web@42
|
84 font-size: 90%;
|
rc-web@42
|
85 }
|
rc-web@42
|
86
|
rc-web@42
|
87
|
rc-web@42
|
88 /* SECTION 6: more reveal.js specific additions by @skypanther */
|
rc-web@42
|
89 ul, ol, div, p {
|
rc-web@42
|
90 visibility: visible;
|
rc-web@42
|
91 position: static;
|
rc-web@42
|
92 width: auto;
|
rc-web@42
|
93 height: auto;
|
rc-web@42
|
94 display: block;
|
rc-web@42
|
95 overflow: visible;
|
rc-web@42
|
96 margin: auto;
|
rc-web@42
|
97 text-align: left !important;
|
rc-web@42
|
98 }
|
rc-web@42
|
99 .reveal .slides {
|
rc-web@42
|
100 position: static;
|
rc-web@42
|
101 width: auto;
|
rc-web@42
|
102 height: auto;
|
rc-web@42
|
103
|
rc-web@42
|
104 left: auto;
|
rc-web@42
|
105 top: auto;
|
rc-web@42
|
106 margin-left: auto;
|
rc-web@42
|
107 margin-top: auto;
|
rc-web@42
|
108 padding: auto;
|
rc-web@42
|
109
|
rc-web@42
|
110 overflow: visible;
|
rc-web@42
|
111 display: block;
|
rc-web@42
|
112
|
rc-web@42
|
113 text-align: center;
|
rc-web@42
|
114 -webkit-perspective: none;
|
rc-web@42
|
115 -moz-perspective: none;
|
rc-web@42
|
116 -ms-perspective: none;
|
rc-web@42
|
117 perspective: none;
|
rc-web@42
|
118
|
rc-web@42
|
119 -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
|
rc-web@42
|
120 -moz-perspective-origin: 50% 50%;
|
rc-web@42
|
121 -ms-perspective-origin: 50% 50%;
|
rc-web@42
|
122 perspective-origin: 50% 50%;
|
rc-web@42
|
123 }
|
rc-web@42
|
124 .reveal .slides>section, .reveal .slides>section>section,
|
rc-web@42
|
125 .reveal .slides>section.past, .reveal .slides>section.future,
|
rc-web@42
|
126 .reveal.linear .slides>section, .reveal.linear .slides>section>section,
|
rc-web@42
|
127 .reveal.linear .slides>section.past, .reveal.linear .slides>section.future {
|
rc-web@42
|
128
|
rc-web@42
|
129 visibility: visible;
|
rc-web@42
|
130 position: static;
|
rc-web@42
|
131 width: 90%;
|
rc-web@42
|
132 height: auto;
|
rc-web@42
|
133 display: block;
|
rc-web@42
|
134 overflow: visible;
|
rc-web@42
|
135
|
rc-web@42
|
136 left: 0%;
|
rc-web@42
|
137 top: 0%;
|
rc-web@42
|
138 margin-left: 0px;
|
rc-web@42
|
139 margin-top: 0px;
|
rc-web@42
|
140 padding: 20px 0px;
|
rc-web@42
|
141
|
rc-web@42
|
142 opacity: 1;
|
rc-web@42
|
143
|
rc-web@42
|
144 -webkit-transform-style: flat;
|
rc-web@42
|
145 -moz-transform-style: flat;
|
rc-web@42
|
146 -ms-transform-style: flat;
|
rc-web@42
|
147 transform-style: flat;
|
rc-web@42
|
148
|
rc-web@42
|
149 -webkit-transform: none;
|
rc-web@42
|
150 -moz-transform: none;
|
rc-web@42
|
151 -ms-transform: none;
|
rc-web@42
|
152 transform: none;
|
rc-web@42
|
153 }
|
rc-web@42
|
154 .reveal section {
|
rc-web@42
|
155 page-break-after: always !important;
|
rc-web@42
|
156 display: block !important;
|
rc-web@42
|
157 }
|
rc-web@42
|
158 .reveal section.stack {
|
rc-web@42
|
159 page-break-after: avoid !important;
|
rc-web@42
|
160 }
|
rc-web@42
|
161 .reveal section .fragment {
|
rc-web@42
|
162 opacity: 1 !important;
|
rc-web@42
|
163 }
|
rc-web@42
|
164 .reveal section img {
|
rc-web@42
|
165 display: block;
|
rc-web@42
|
166 margin: 15px 0px;
|
rc-web@42
|
167 background: rgba(255,255,255,1);
|
rc-web@42
|
168 border: 1px solid #666;
|
rc-web@42
|
169 box-shadow: none;
|
rc-web@42
|
170 } |