slide_hero 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/README.md +1 -1
- data/lib/slide_hero/version.rb +1 -1
- data/lib/slide_hero/views/layout.html.erb +2 -2
- data/vendor/reveal.js/.gitignore +3 -1
- data/vendor/reveal.js/.travis.yml +1 -1
- data/vendor/reveal.js/CONTRIBUTING.md +19 -0
- data/vendor/reveal.js/Gruntfile.js +58 -21
- data/vendor/reveal.js/LICENSE +1 -1
- data/vendor/reveal.js/README.md +154 -74
- data/vendor/reveal.js/css/print/paper.css +193 -167
- data/vendor/reveal.js/css/print/pdf.css +20 -53
- data/vendor/reveal.js/css/reveal.css +912 -1651
- data/vendor/reveal.js/css/reveal.scss +1316 -0
- data/vendor/reveal.js/css/theme/README.md +1 -1
- data/vendor/reveal.js/css/theme/beige.css +177 -60
- data/vendor/reveal.js/css/theme/black.css +261 -0
- data/vendor/reveal.js/css/theme/blood.css +191 -75
- data/vendor/reveal.js/css/theme/league.css +267 -0
- data/vendor/reveal.js/css/theme/moon.css +168 -51
- data/vendor/reveal.js/css/theme/night.css +165 -42
- data/vendor/reveal.js/css/theme/serif.css +181 -58
- data/vendor/reveal.js/css/theme/simple.css +173 -50
- data/vendor/reveal.js/css/theme/sky.css +170 -47
- data/vendor/reveal.js/css/theme/solarized.css +168 -51
- data/vendor/reveal.js/css/theme/source/beige.scss +1 -12
- data/vendor/reveal.js/css/theme/source/black.scss +49 -0
- data/vendor/reveal.js/css/theme/source/blood.scss +4 -4
- data/vendor/reveal.js/css/theme/source/{default.scss → league.scss} +5 -13
- data/vendor/reveal.js/css/theme/source/moon.scss +1 -12
- data/vendor/reveal.js/css/theme/source/serif.scss +1 -1
- data/vendor/reveal.js/css/theme/source/sky.scss +1 -1
- data/vendor/reveal.js/css/theme/source/solarized.scss +1 -12
- data/vendor/reveal.js/css/theme/source/white.scss +49 -0
- data/vendor/reveal.js/css/theme/template/settings.scss +13 -4
- data/vendor/reveal.js/css/theme/template/theme.scss +182 -13
- data/vendor/reveal.js/css/theme/white.css +261 -0
- data/vendor/reveal.js/index.html +198 -178
- data/vendor/reveal.js/js/reveal.js +1286 -392
- data/vendor/reveal.js/lib/css/zenburn.css +74 -71
- data/vendor/reveal.js/lib/font/{league_gothic_license → league-gothic/LICENSE} +0 -0
- data/vendor/reveal.js/lib/font/league-gothic/league-gothic.css +10 -0
- data/vendor/reveal.js/lib/font/league-gothic/league-gothic.eot +0 -0
- data/vendor/reveal.js/lib/font/league-gothic/league-gothic.ttf +0 -0
- data/vendor/reveal.js/lib/font/league-gothic/league-gothic.woff +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/LICENSE +45 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- data/vendor/reveal.js/lib/font/source-sans-pro/source-sans-pro.css +39 -0
- data/vendor/reveal.js/package.json +9 -7
- data/vendor/reveal.js/plugin/highlight/highlight.js +2 -4
- data/vendor/reveal.js/plugin/leap/leap.js +4 -2
- data/vendor/reveal.js/plugin/markdown/example.html +2 -2
- data/vendor/reveal.js/plugin/markdown/markdown.js +8 -7
- data/vendor/reveal.js/plugin/notes/notes.html +321 -182
- data/vendor/reveal.js/plugin/notes/notes.js +89 -45
- data/vendor/reveal.js/plugin/notes-server/client.js +49 -46
- data/vendor/reveal.js/plugin/notes-server/index.js +28 -21
- data/vendor/reveal.js/plugin/notes-server/notes.html +351 -97
- data/vendor/reveal.js/plugin/print-pdf/print-pdf.js +24 -20
- data/vendor/reveal.js/plugin/zoom-js/zoom.js +77 -57
- data/vendor/reveal.js/test/examples/barebones.html +2 -2
- data/vendor/reveal.js/test/examples/embedded-media.html +2 -2
- data/vendor/reveal.js/test/examples/math.html +2 -2
- data/vendor/reveal.js/test/examples/slide-backgrounds.html +29 -7
- data/vendor/reveal.js/test/test-markdown-element-attributes.html +6 -6
- data/vendor/reveal.js/test/test-markdown-slide-attributes.html +7 -7
- data/vendor/reveal.js/test/test-markdown.html +4 -4
- data/vendor/reveal.js/test/test-pdf.html +83 -0
- data/vendor/reveal.js/test/test-pdf.js +15 -0
- data/vendor/reveal.js/test/test.html +5 -4
- data/vendor/reveal.js/test/test.js +143 -9
- metadata +31 -13
- data/vendor/reveal.js/css/reveal.min.css +0 -7
- data/vendor/reveal.js/css/theme/default.css +0 -148
- data/vendor/reveal.js/js/reveal.min.js +0 -9
- data/vendor/reveal.js/lib/font/league_gothic-webfont.eot +0 -0
- data/vendor/reveal.js/lib/font/league_gothic-webfont.svg +0 -230
- data/vendor/reveal.js/lib/font/league_gothic-webfont.ttf +0 -0
- data/vendor/reveal.js/lib/font/league_gothic-webfont.woff +0 -0
- data/vendor/reveal.js/plugin/postmessage/example.html +0 -39
- data/vendor/reveal.js/plugin/postmessage/postmessage.js +0 -42
@@ -6,171 +6,197 @@
|
|
6
6
|
manipulate this file as you see fit. */
|
7
7
|
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
.
|
34
|
-
.
|
35
|
-
.
|
36
|
-
.
|
37
|
-
.fork-reveal,
|
38
|
-
.share-reveal,
|
39
|
-
.state-background
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
body
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
9
|
+
@media print {
|
10
|
+
|
11
|
+
/* SECTION 1: Set default width, margin, float, and
|
12
|
+
background. This prevents elements from extending
|
13
|
+
beyond the edge of the printed page, and prevents
|
14
|
+
unnecessary background images from printing */
|
15
|
+
html {
|
16
|
+
background: #fff;
|
17
|
+
width: auto;
|
18
|
+
height: auto;
|
19
|
+
overflow: visible;
|
20
|
+
}
|
21
|
+
body {
|
22
|
+
background: #fff;
|
23
|
+
font-size: 20pt;
|
24
|
+
width: auto;
|
25
|
+
height: auto;
|
26
|
+
border: 0;
|
27
|
+
margin: 0 5%;
|
28
|
+
padding: 0;
|
29
|
+
overflow: visible;
|
30
|
+
float: none !important;
|
31
|
+
}
|
32
|
+
|
33
|
+
/* SECTION 2: Remove any elements not needed in print.
|
34
|
+
This would include navigation, ads, sidebars, etc. */
|
35
|
+
.nestedarrow,
|
36
|
+
.controls,
|
37
|
+
.fork-reveal,
|
38
|
+
.share-reveal,
|
39
|
+
.state-background,
|
40
|
+
.reveal .progress,
|
41
|
+
.reveal .backgrounds {
|
42
|
+
display: none !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* SECTION 3: Set body font face, size, and color.
|
46
|
+
Consider using a serif font for readability. */
|
47
|
+
body, p, td, li, div {
|
48
|
+
font-size: 20pt!important;
|
49
|
+
font-family: Georgia, "Times New Roman", Times, serif !important;
|
50
|
+
color: #000;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* SECTION 4: Set heading font face, sizes, and color.
|
54
|
+
Differentiate your headings from your body text.
|
55
|
+
Perhaps use a large sans-serif for distinction. */
|
56
|
+
h1,h2,h3,h4,h5,h6 {
|
57
|
+
color: #000!important;
|
58
|
+
height: auto;
|
59
|
+
line-height: normal;
|
60
|
+
font-family: Georgia, "Times New Roman", Times, serif !important;
|
61
|
+
text-shadow: 0 0 0 #000 !important;
|
62
|
+
text-align: left;
|
63
|
+
letter-spacing: normal;
|
64
|
+
}
|
65
|
+
/* Need to reduce the size of the fonts for printing */
|
66
|
+
h1 { font-size: 28pt !important; }
|
67
|
+
h2 { font-size: 24pt !important; }
|
68
|
+
h3 { font-size: 22pt !important; }
|
69
|
+
h4 { font-size: 22pt !important; font-variant: small-caps; }
|
70
|
+
h5 { font-size: 21pt !important; }
|
71
|
+
h6 { font-size: 20pt !important; font-style: italic; }
|
72
|
+
|
73
|
+
/* SECTION 5: Make hyperlinks more usable.
|
74
|
+
Ensure links are underlined, and consider appending
|
75
|
+
the URL to the end of the link for usability. */
|
76
|
+
a:link,
|
77
|
+
a:visited {
|
78
|
+
color: #000 !important;
|
79
|
+
font-weight: bold;
|
80
|
+
text-decoration: underline;
|
81
|
+
}
|
82
|
+
/*
|
83
|
+
.reveal a:link:after,
|
84
|
+
.reveal a:visited:after {
|
85
|
+
content: " (" attr(href) ") ";
|
86
|
+
color: #222 !important;
|
87
|
+
font-size: 90%;
|
88
|
+
}
|
89
|
+
*/
|
90
|
+
|
91
|
+
|
92
|
+
/* SECTION 6: more reveal.js specific additions by @skypanther */
|
93
|
+
ul, ol, div, p {
|
94
|
+
visibility: visible;
|
95
|
+
position: static;
|
96
|
+
width: auto;
|
97
|
+
height: auto;
|
98
|
+
display: block;
|
99
|
+
overflow: visible;
|
100
|
+
margin: 0;
|
101
|
+
text-align: left !important;
|
102
|
+
}
|
103
|
+
.reveal pre,
|
104
|
+
.reveal table {
|
105
|
+
margin-left: 0;
|
106
|
+
margin-right: 0;
|
107
|
+
}
|
108
|
+
.reveal pre code {
|
109
|
+
padding: 20px;
|
110
|
+
border: 1px solid #ddd;
|
111
|
+
}
|
112
|
+
.reveal blockquote {
|
113
|
+
margin: 20px 0;
|
114
|
+
}
|
115
|
+
.reveal .slides {
|
116
|
+
position: static !important;
|
117
|
+
width: auto !important;
|
118
|
+
height: auto !important;
|
119
|
+
|
120
|
+
left: 0 !important;
|
121
|
+
top: 0 !important;
|
122
|
+
margin-left: 0 !important;
|
123
|
+
margin-top: 0 !important;
|
124
|
+
padding: 0 !important;
|
125
|
+
zoom: 1 !important;
|
126
|
+
|
127
|
+
overflow: visible !important;
|
128
|
+
display: block !important;
|
129
|
+
|
130
|
+
text-align: left !important;
|
131
|
+
-webkit-perspective: none;
|
132
|
+
-moz-perspective: none;
|
133
|
+
-ms-perspective: none;
|
134
|
+
perspective: none;
|
135
|
+
|
136
|
+
-webkit-perspective-origin: 50% 50%;
|
137
|
+
-moz-perspective-origin: 50% 50%;
|
138
|
+
-ms-perspective-origin: 50% 50%;
|
139
|
+
perspective-origin: 50% 50%;
|
140
|
+
}
|
141
|
+
.reveal .slides section {
|
142
|
+
visibility: visible !important;
|
143
|
+
position: static !important;
|
144
|
+
width: 100% !important;
|
145
|
+
height: auto !important;
|
146
|
+
display: block !important;
|
147
|
+
overflow: visible !important;
|
148
|
+
|
149
|
+
left: 0 !important;
|
150
|
+
top: 0 !important;
|
151
|
+
margin-left: 0 !important;
|
152
|
+
margin-top: 0 !important;
|
153
|
+
padding: 60px 20px !important;
|
154
|
+
z-index: auto !important;
|
155
|
+
|
156
|
+
opacity: 1 !important;
|
157
|
+
|
158
|
+
page-break-after: always !important;
|
159
|
+
|
160
|
+
-webkit-transform-style: flat !important;
|
161
|
+
-moz-transform-style: flat !important;
|
162
|
+
-ms-transform-style: flat !important;
|
163
|
+
transform-style: flat !important;
|
164
|
+
|
165
|
+
-webkit-transform: none !important;
|
166
|
+
-moz-transform: none !important;
|
167
|
+
-ms-transform: none !important;
|
168
|
+
transform: none !important;
|
169
|
+
|
170
|
+
-webkit-transition: none !important;
|
171
|
+
-moz-transition: none !important;
|
172
|
+
-ms-transition: none !important;
|
173
|
+
transition: none !important;
|
174
|
+
}
|
175
|
+
.reveal .slides section.stack {
|
176
|
+
padding: 0 !important;
|
177
|
+
}
|
178
|
+
.reveal section:last-of-type {
|
179
|
+
page-break-after: avoid !important;
|
180
|
+
}
|
181
|
+
.reveal section .fragment {
|
182
|
+
opacity: 1 !important;
|
183
|
+
visibility: visible !important;
|
184
|
+
|
185
|
+
-webkit-transform: none !important;
|
186
|
+
-moz-transform: none !important;
|
187
|
+
-ms-transform: none !important;
|
188
|
+
transform: none !important;
|
189
|
+
}
|
190
|
+
.reveal section img {
|
191
|
+
display: block;
|
192
|
+
margin: 15px 0px;
|
193
|
+
background: rgba(255,255,255,1);
|
194
|
+
border: 1px solid #666;
|
195
|
+
box-shadow: none;
|
196
|
+
}
|
197
|
+
|
198
|
+
.reveal section small {
|
199
|
+
font-size: 0.8em;
|
200
|
+
}
|
201
|
+
|
176
202
|
}
|
@@ -16,9 +16,6 @@
|
|
16
16
|
}
|
17
17
|
|
18
18
|
body {
|
19
|
-
font-size: 18pt;
|
20
|
-
width: 297mm;
|
21
|
-
height: 229mm;
|
22
19
|
margin: 0 auto !important;
|
23
20
|
border: 0;
|
24
21
|
padding: 0;
|
@@ -32,16 +29,13 @@ html {
|
|
32
29
|
overflow: visible;
|
33
30
|
}
|
34
31
|
|
35
|
-
@page {
|
36
|
-
size: letter landscape;
|
37
|
-
margin: 0;
|
38
|
-
}
|
39
|
-
|
40
32
|
/* SECTION 2: Remove any elements not needed in print.
|
41
33
|
This would include navigation, ads, sidebars, etc. */
|
42
34
|
.nestedarrow,
|
43
|
-
.controls,
|
35
|
+
.reveal .controls,
|
44
36
|
.reveal .progress,
|
37
|
+
.reveal .slide-number,
|
38
|
+
.reveal .playback,
|
45
39
|
.reveal.overview,
|
46
40
|
.fork-reveal,
|
47
41
|
.share-reveal,
|
@@ -52,7 +46,7 @@ html {
|
|
52
46
|
/* SECTION 3: Set body font face, size, and color.
|
53
47
|
Consider using a serif font for readability. */
|
54
48
|
body, p, td, li, div {
|
55
|
-
|
49
|
+
|
56
50
|
}
|
57
51
|
|
58
52
|
/* SECTION 4: Set heading font face, sizes, and color.
|
@@ -62,22 +56,13 @@ h1,h2,h3,h4,h5,h6 {
|
|
62
56
|
text-shadow: 0 0 0 #000 !important;
|
63
57
|
}
|
64
58
|
|
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
59
|
.reveal pre code {
|
75
60
|
overflow: hidden !important;
|
76
|
-
font-family: monospace !important;
|
61
|
+
font-family: Courier, 'Courier New', monospace !important;
|
77
62
|
}
|
78
63
|
|
79
64
|
|
80
|
-
/* SECTION
|
65
|
+
/* SECTION 5: more reveal.js specific additions by @skypanther */
|
81
66
|
ul, ol, div, p {
|
82
67
|
visibility: visible;
|
83
68
|
position: static;
|
@@ -105,8 +90,6 @@ ul, ol, div, p {
|
|
105
90
|
overflow: visible;
|
106
91
|
display: block;
|
107
92
|
|
108
|
-
text-align: center;
|
109
|
-
|
110
93
|
-webkit-perspective: none;
|
111
94
|
-moz-perspective: none;
|
112
95
|
-ms-perspective: none;
|
@@ -118,22 +101,17 @@ ul, ol, div, p {
|
|
118
101
|
perspective-origin: 50% 50%;
|
119
102
|
}
|
120
103
|
.reveal .slides section {
|
121
|
-
|
122
104
|
page-break-after: always !important;
|
123
105
|
|
124
106
|
visibility: visible !important;
|
125
107
|
position: relative !important;
|
126
|
-
width: 100% !important;
|
127
|
-
height: 229mm !important;
|
128
|
-
min-height: 229mm !important;
|
129
108
|
display: block !important;
|
130
|
-
|
109
|
+
position: relative !important;
|
131
110
|
|
132
|
-
left: 0 !important;
|
133
|
-
top: 0 !important;
|
134
111
|
margin: 0 !important;
|
135
|
-
padding:
|
112
|
+
padding: 0 !important;
|
136
113
|
box-sizing: border-box !important;
|
114
|
+
min-height: 1px;
|
137
115
|
|
138
116
|
opacity: 1 !important;
|
139
117
|
|
@@ -154,37 +132,26 @@ ul, ol, div, p {
|
|
154
132
|
height: auto !important;
|
155
133
|
min-height: auto !important;
|
156
134
|
}
|
157
|
-
.reveal
|
158
|
-
|
159
|
-
margin-top: 1.8cm;
|
135
|
+
.reveal img {
|
136
|
+
box-shadow: none;
|
160
137
|
}
|
161
|
-
.reveal
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
-webkit-transform: none !important;
|
166
|
-
-moz-transform: none !important;
|
167
|
-
-ms-transform: none !important;
|
168
|
-
transform: none !important;
|
138
|
+
.reveal .roll {
|
139
|
+
overflow: visible;
|
140
|
+
line-height: 1em;
|
169
141
|
}
|
142
|
+
|
143
|
+
/* Slide backgrounds are placed inside of their slide when exporting to PDF */
|
170
144
|
.reveal section .slide-background {
|
145
|
+
display: block !important;
|
171
146
|
position: absolute;
|
172
147
|
top: 0;
|
173
148
|
left: 0;
|
174
149
|
width: 100%;
|
175
|
-
z-index:
|
150
|
+
z-index: -1;
|
176
151
|
}
|
152
|
+
/* All elements should be above the slide-background */
|
177
153
|
.reveal section>* {
|
178
154
|
position: relative;
|
179
155
|
z-index: 1;
|
180
156
|
}
|
181
|
-
|
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
|
-
}
|
157
|
+
|