Skip to content

Commit ba2d90f

Browse files
committed
Initial commit
1 parent a66b7c6 commit ba2d90f

38 files changed

+8142
-0
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
.svn
3+
log/*.log
4+
tmp/**
5+
node_modules/
6+
.sass-cache
7+
.idea

css/print/paper.css

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

css/print/pdf.css

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

0 commit comments

Comments
 (0)