slidemgr 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +13 -0
- data/LICENCE +674 -0
- data/README.md +153 -0
- data/Rakefile +3 -0
- data/bin/setup +7 -0
- data/bin/slidemgr +10 -0
- data/config.yml +0 -0
- data/lib/command_router.rb +27 -0
- data/lib/commands/create.rb +61 -0
- data/lib/commands/init.rb +78 -0
- data/lib/commands/list.rb +12 -0
- data/lib/commands/refresh.rb +49 -0
- data/lib/commands/remove.rb +32 -0
- data/lib/commands/rename.rb +31 -0
- data/lib/commands/start.rb +36 -0
- data/lib/commands/sync.rb +31 -0
- data/lib/template/config.yml.erb +4 -0
- data/lib/template/content.md.erb +2 -0
- data/lib/template/index.erb +103 -0
- data/lib/template/overview_index.erb +9 -0
- data/lib/template/reveal.js-3.0.0/.DS_Store +0 -0
- data/lib/template/reveal.js-3.0.0/Gruntfile.js +174 -0
- data/lib/template/reveal.js-3.0.0/LICENSE +19 -0
- data/lib/template/reveal.js-3.0.0/css/print/paper.css +202 -0
- data/lib/template/reveal.js-3.0.0/css/print/pdf.css +157 -0
- data/lib/template/reveal.js-3.0.0/css/reveal.css +1141 -0
- data/lib/template/reveal.js-3.0.0/css/reveal.scss +1316 -0
- data/lib/template/reveal.js-3.0.0/css/theme/README.md +25 -0
- data/lib/template/reveal.js-3.0.0/css/theme/beige.css +265 -0
- data/lib/template/reveal.js-3.0.0/css/theme/black.css +261 -0
- data/lib/template/reveal.js-3.0.0/css/theme/blood.css +291 -0
- data/lib/template/reveal.js-3.0.0/css/theme/league.css +267 -0
- data/lib/template/reveal.js-3.0.0/css/theme/moon.css +265 -0
- data/lib/template/reveal.js-3.0.0/css/theme/night.css +259 -0
- data/lib/template/reveal.js-3.0.0/css/theme/serif.css +261 -0
- data/lib/template/reveal.js-3.0.0/css/theme/simple.css +261 -0
- data/lib/template/reveal.js-3.0.0/css/theme/sky.css +268 -0
- data/lib/template/reveal.js-3.0.0/css/theme/solarized.css +265 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/beige.scss +39 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/black.scss +49 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/blood.scss +91 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/league.scss +34 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/moon.scss +57 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/night.scss +35 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/serif.scss +35 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/simple.scss +38 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/sky.scss +46 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/solarized.scss +63 -0
- data/lib/template/reveal.js-3.0.0/css/theme/source/white.scss +49 -0
- data/lib/template/reveal.js-3.0.0/css/theme/template/mixins.scss +29 -0
- data/lib/template/reveal.js-3.0.0/css/theme/template/settings.scss +43 -0
- data/lib/template/reveal.js-3.0.0/css/theme/template/theme.scss +339 -0
- data/lib/template/reveal.js-3.0.0/css/theme/white.css +261 -0
- data/lib/template/reveal.js-3.0.0/js/reveal.js +4276 -0
- data/lib/template/reveal.js-3.0.0/lib/css/zenburn.css +117 -0
- data/lib/template/reveal.js-3.0.0/lib/font/league-gothic/LICENSE +2 -0
- data/lib/template/reveal.js-3.0.0/lib/font/league-gothic/league-gothic.css +10 -0
- data/lib/template/reveal.js-3.0.0/lib/font/league-gothic/league-gothic.eot +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/league-gothic/league-gothic.ttf +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/league-gothic/league-gothic.woff +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/LICENSE +45 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- data/lib/template/reveal.js-3.0.0/lib/font/source-sans-pro/source-sans-pro.css +39 -0
- data/lib/template/reveal.js-3.0.0/lib/js/classList.js +2 -0
- data/lib/template/reveal.js-3.0.0/lib/js/head.min.js +8 -0
- data/lib/template/reveal.js-3.0.0/lib/js/html5shiv.js +7 -0
- data/lib/template/reveal.js-3.0.0/plugin/highlight/highlight.js +30 -0
- data/lib/template/reveal.js-3.0.0/plugin/leap/leap.js +159 -0
- data/lib/template/reveal.js-3.0.0/plugin/markdown/example.html +129 -0
- data/lib/template/reveal.js-3.0.0/plugin/markdown/example.md +31 -0
- data/lib/template/reveal.js-3.0.0/plugin/markdown/markdown.js +393 -0
- data/lib/template/reveal.js-3.0.0/plugin/markdown/marked.js +37 -0
- data/lib/template/reveal.js-3.0.0/plugin/math/math.js +64 -0
- data/lib/template/reveal.js-3.0.0/plugin/multiplex/client.js +13 -0
- data/lib/template/reveal.js-3.0.0/plugin/multiplex/index.js +56 -0
- data/lib/template/reveal.js-3.0.0/plugin/multiplex/master.js +51 -0
- data/lib/template/reveal.js-3.0.0/plugin/notes/notes.html +406 -0
- data/lib/template/reveal.js-3.0.0/plugin/notes/notes.js +122 -0
- data/lib/template/reveal.js-3.0.0/plugin/notes-server/client.js +60 -0
- data/lib/template/reveal.js-3.0.0/plugin/notes-server/index.js +66 -0
- data/lib/template/reveal.js-3.0.0/plugin/notes-server/notes.html +396 -0
- data/lib/template/reveal.js-3.0.0/plugin/print-pdf/print-pdf.js +48 -0
- data/lib/template/reveal.js-3.0.0/plugin/remotes/remotes.js +39 -0
- data/lib/template/reveal.js-3.0.0/plugin/search/search.js +196 -0
- data/lib/template/reveal.js-3.0.0/plugin/zoom-js/zoom.js +278 -0
- data/lib/template/reveal.js-3.0.0/test/examples/assets/image1.png +0 -0
- data/lib/template/reveal.js-3.0.0/test/examples/assets/image2.png +0 -0
- data/lib/template/reveal.js-3.0.0/test/examples/barebones.html +41 -0
- data/lib/template/reveal.js-3.0.0/test/examples/embedded-media.html +49 -0
- data/lib/template/reveal.js-3.0.0/test/examples/math.html +185 -0
- data/lib/template/reveal.js-3.0.0/test/examples/slide-backgrounds.html +144 -0
- data/lib/template/reveal.js-3.0.0/test/qunit-1.12.0.css +244 -0
- data/lib/template/reveal.js-3.0.0/test/qunit-1.12.0.js +2212 -0
- data/lib/template/reveal.js-3.0.0/test/test-markdown-element-attributes.html +134 -0
- data/lib/template/reveal.js-3.0.0/test/test-markdown-element-attributes.js +46 -0
- data/lib/template/reveal.js-3.0.0/test/test-markdown-slide-attributes.html +128 -0
- data/lib/template/reveal.js-3.0.0/test/test-markdown-slide-attributes.js +47 -0
- data/lib/template/reveal.js-3.0.0/test/test-markdown.html +52 -0
- data/lib/template/reveal.js-3.0.0/test/test-markdown.js +15 -0
- data/lib/template/reveal.js-3.0.0/test/test-pdf.html +83 -0
- data/lib/template/reveal.js-3.0.0/test/test-pdf.js +15 -0
- data/lib/template/reveal.js-3.0.0/test/test.html +82 -0
- data/lib/template/reveal.js-3.0.0/test/test.js +572 -0
- data/lib/util.rb +99 -0
- data/lib/version.rb +3 -0
- data/slidemgr.gemspec +24 -0
- metadata +193 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
/* global module:false */
|
|
2
|
+
module.exports = function(grunt) {
|
|
3
|
+
var port = grunt.option('port') || 8000;
|
|
4
|
+
// Project configuration
|
|
5
|
+
grunt.initConfig({
|
|
6
|
+
pkg: grunt.file.readJSON('package.json'),
|
|
7
|
+
meta: {
|
|
8
|
+
banner:
|
|
9
|
+
'/*!\n' +
|
|
10
|
+
' * reveal.js <%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd, HH:MM") %>)\n' +
|
|
11
|
+
' * http://lab.hakim.se/reveal-js\n' +
|
|
12
|
+
' * MIT licensed\n' +
|
|
13
|
+
' *\n' +
|
|
14
|
+
' * Copyright (C) 2015 Hakim El Hattab, http://hakim.se\n' +
|
|
15
|
+
' */'
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
qunit: {
|
|
19
|
+
files: [ 'test/*.html' ]
|
|
20
|
+
},
|
|
21
|
+
|
|
22
|
+
uglify: {
|
|
23
|
+
options: {
|
|
24
|
+
banner: '<%= meta.banner %>\n'
|
|
25
|
+
},
|
|
26
|
+
build: {
|
|
27
|
+
src: 'js/reveal.js',
|
|
28
|
+
dest: 'js/reveal.min.js'
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
sass: {
|
|
33
|
+
core: {
|
|
34
|
+
files: {
|
|
35
|
+
'css/reveal.css': 'css/reveal.scss',
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
themes: {
|
|
39
|
+
files: {
|
|
40
|
+
'css/theme/black.css': 'css/theme/source/black.scss',
|
|
41
|
+
'css/theme/white.css': 'css/theme/source/white.scss',
|
|
42
|
+
'css/theme/league.css': 'css/theme/source/league.scss',
|
|
43
|
+
'css/theme/beige.css': 'css/theme/source/beige.scss',
|
|
44
|
+
'css/theme/night.css': 'css/theme/source/night.scss',
|
|
45
|
+
'css/theme/serif.css': 'css/theme/source/serif.scss',
|
|
46
|
+
'css/theme/simple.css': 'css/theme/source/simple.scss',
|
|
47
|
+
'css/theme/sky.css': 'css/theme/source/sky.scss',
|
|
48
|
+
'css/theme/moon.css': 'css/theme/source/moon.scss',
|
|
49
|
+
'css/theme/solarized.css': 'css/theme/source/solarized.scss',
|
|
50
|
+
'css/theme/blood.css': 'css/theme/source/blood.scss'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
autoprefixer: {
|
|
56
|
+
dist: {
|
|
57
|
+
src: 'css/reveal.css'
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
|
|
61
|
+
cssmin: {
|
|
62
|
+
compress: {
|
|
63
|
+
files: {
|
|
64
|
+
'css/reveal.min.css': [ 'css/reveal.css' ]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
|
|
69
|
+
jshint: {
|
|
70
|
+
options: {
|
|
71
|
+
curly: false,
|
|
72
|
+
eqeqeq: true,
|
|
73
|
+
immed: true,
|
|
74
|
+
latedef: true,
|
|
75
|
+
newcap: true,
|
|
76
|
+
noarg: true,
|
|
77
|
+
sub: true,
|
|
78
|
+
undef: true,
|
|
79
|
+
eqnull: true,
|
|
80
|
+
browser: true,
|
|
81
|
+
expr: true,
|
|
82
|
+
globals: {
|
|
83
|
+
head: false,
|
|
84
|
+
module: false,
|
|
85
|
+
console: false,
|
|
86
|
+
unescape: false,
|
|
87
|
+
define: false,
|
|
88
|
+
exports: false
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
files: [ 'Gruntfile.js', 'js/reveal.js' ]
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
connect: {
|
|
95
|
+
server: {
|
|
96
|
+
options: {
|
|
97
|
+
port: port,
|
|
98
|
+
base: '.',
|
|
99
|
+
livereload: true,
|
|
100
|
+
open: true
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
|
|
105
|
+
zip: {
|
|
106
|
+
'reveal-js-presentation.zip': [
|
|
107
|
+
'index.html',
|
|
108
|
+
'css/**',
|
|
109
|
+
'js/**',
|
|
110
|
+
'lib/**',
|
|
111
|
+
'images/**',
|
|
112
|
+
'plugin/**'
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
|
|
116
|
+
watch: {
|
|
117
|
+
options: {
|
|
118
|
+
livereload: true
|
|
119
|
+
},
|
|
120
|
+
js: {
|
|
121
|
+
files: [ 'Gruntfile.js', 'js/reveal.js' ],
|
|
122
|
+
tasks: 'js'
|
|
123
|
+
},
|
|
124
|
+
theme: {
|
|
125
|
+
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
|
|
126
|
+
tasks: 'css-themes'
|
|
127
|
+
},
|
|
128
|
+
css: {
|
|
129
|
+
files: [ 'css/reveal.scss' ],
|
|
130
|
+
tasks: 'css-core'
|
|
131
|
+
},
|
|
132
|
+
html: {
|
|
133
|
+
files: [ 'index.html']
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
});
|
|
138
|
+
|
|
139
|
+
// Dependencies
|
|
140
|
+
grunt.loadNpmTasks( 'grunt-contrib-qunit' );
|
|
141
|
+
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
|
|
142
|
+
grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
|
|
143
|
+
grunt.loadNpmTasks( 'grunt-contrib-uglify' );
|
|
144
|
+
grunt.loadNpmTasks( 'grunt-contrib-watch' );
|
|
145
|
+
grunt.loadNpmTasks( 'grunt-sass' );
|
|
146
|
+
grunt.loadNpmTasks( 'grunt-contrib-connect' );
|
|
147
|
+
grunt.loadNpmTasks( 'grunt-autoprefixer' );
|
|
148
|
+
grunt.loadNpmTasks( 'grunt-zip' );
|
|
149
|
+
|
|
150
|
+
// Default task
|
|
151
|
+
grunt.registerTask( 'default', [ 'css', 'js' ] );
|
|
152
|
+
|
|
153
|
+
// JS task
|
|
154
|
+
grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] );
|
|
155
|
+
|
|
156
|
+
// Theme CSS
|
|
157
|
+
grunt.registerTask( 'css-themes', [ 'sass:themes' ] );
|
|
158
|
+
|
|
159
|
+
// Core framework CSS
|
|
160
|
+
grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] );
|
|
161
|
+
|
|
162
|
+
// All CSS
|
|
163
|
+
grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] );
|
|
164
|
+
|
|
165
|
+
// Package presentation to archive
|
|
166
|
+
grunt.registerTask( 'package', [ 'default', 'zip' ] );
|
|
167
|
+
|
|
168
|
+
// Serve presentation locally
|
|
169
|
+
grunt.registerTask( 'serve', [ 'connect', 'watch' ] );
|
|
170
|
+
|
|
171
|
+
// Run tests
|
|
172
|
+
grunt.registerTask( 'test', [ 'jshint', 'qunit' ] );
|
|
173
|
+
|
|
174
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright (C) 2015 Hakim El Hattab, http://hakim.se
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in
|
|
11
|
+
all copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
19
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1,202 @@
|
|
|
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
|
+
@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
|
+
|
|
202
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
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
|
+
margin: 0 auto !important;
|
|
20
|
+
border: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
float: none !important;
|
|
23
|
+
overflow: visible;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
html {
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
overflow: visible;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* SECTION 2: Remove any elements not needed in print.
|
|
33
|
+
This would include navigation, ads, sidebars, etc. */
|
|
34
|
+
.nestedarrow,
|
|
35
|
+
.reveal .controls,
|
|
36
|
+
.reveal .progress,
|
|
37
|
+
.reveal .slide-number,
|
|
38
|
+
.reveal .playback,
|
|
39
|
+
.reveal.overview,
|
|
40
|
+
.fork-reveal,
|
|
41
|
+
.share-reveal,
|
|
42
|
+
.state-background {
|
|
43
|
+
display: none !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* SECTION 3: Set body font face, size, and color.
|
|
47
|
+
Consider using a serif font for readability. */
|
|
48
|
+
body, p, td, li, div {
|
|
49
|
+
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* SECTION 4: Set heading font face, sizes, and color.
|
|
53
|
+
Differentiate your headings from your body text.
|
|
54
|
+
Perhaps use a large sans-serif for distinction. */
|
|
55
|
+
h1,h2,h3,h4,h5,h6 {
|
|
56
|
+
text-shadow: 0 0 0 #000 !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.reveal pre code {
|
|
60
|
+
overflow: hidden !important;
|
|
61
|
+
font-family: Courier, 'Courier New', monospace !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
/* SECTION 5: more reveal.js specific additions by @skypanther */
|
|
66
|
+
ul, ol, div, p {
|
|
67
|
+
visibility: visible;
|
|
68
|
+
position: static;
|
|
69
|
+
width: auto;
|
|
70
|
+
height: auto;
|
|
71
|
+
display: block;
|
|
72
|
+
overflow: visible;
|
|
73
|
+
margin: auto;
|
|
74
|
+
}
|
|
75
|
+
.reveal {
|
|
76
|
+
width: auto !important;
|
|
77
|
+
height: auto !important;
|
|
78
|
+
overflow: hidden !important;
|
|
79
|
+
}
|
|
80
|
+
.reveal .slides {
|
|
81
|
+
position: static;
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: auto;
|
|
84
|
+
|
|
85
|
+
left: auto;
|
|
86
|
+
top: auto;
|
|
87
|
+
margin: 0 !important;
|
|
88
|
+
padding: 0 !important;
|
|
89
|
+
|
|
90
|
+
overflow: visible;
|
|
91
|
+
display: block;
|
|
92
|
+
|
|
93
|
+
-webkit-perspective: none;
|
|
94
|
+
-moz-perspective: none;
|
|
95
|
+
-ms-perspective: none;
|
|
96
|
+
perspective: none;
|
|
97
|
+
|
|
98
|
+
-webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
|
|
99
|
+
-moz-perspective-origin: 50% 50%;
|
|
100
|
+
-ms-perspective-origin: 50% 50%;
|
|
101
|
+
perspective-origin: 50% 50%;
|
|
102
|
+
}
|
|
103
|
+
.reveal .slides section {
|
|
104
|
+
page-break-after: always !important;
|
|
105
|
+
|
|
106
|
+
visibility: visible !important;
|
|
107
|
+
position: relative !important;
|
|
108
|
+
display: block !important;
|
|
109
|
+
position: relative !important;
|
|
110
|
+
|
|
111
|
+
margin: 0 !important;
|
|
112
|
+
padding: 0 !important;
|
|
113
|
+
box-sizing: border-box !important;
|
|
114
|
+
min-height: 1px;
|
|
115
|
+
|
|
116
|
+
opacity: 1 !important;
|
|
117
|
+
|
|
118
|
+
-webkit-transform-style: flat !important;
|
|
119
|
+
-moz-transform-style: flat !important;
|
|
120
|
+
-ms-transform-style: flat !important;
|
|
121
|
+
transform-style: flat !important;
|
|
122
|
+
|
|
123
|
+
-webkit-transform: none !important;
|
|
124
|
+
-moz-transform: none !important;
|
|
125
|
+
-ms-transform: none !important;
|
|
126
|
+
transform: none !important;
|
|
127
|
+
}
|
|
128
|
+
.reveal section.stack {
|
|
129
|
+
margin: 0 !important;
|
|
130
|
+
padding: 0 !important;
|
|
131
|
+
page-break-after: avoid !important;
|
|
132
|
+
height: auto !important;
|
|
133
|
+
min-height: auto !important;
|
|
134
|
+
}
|
|
135
|
+
.reveal img {
|
|
136
|
+
box-shadow: none;
|
|
137
|
+
}
|
|
138
|
+
.reveal .roll {
|
|
139
|
+
overflow: visible;
|
|
140
|
+
line-height: 1em;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* Slide backgrounds are placed inside of their slide when exporting to PDF */
|
|
144
|
+
.reveal section .slide-background {
|
|
145
|
+
display: block !important;
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 0;
|
|
149
|
+
width: 100%;
|
|
150
|
+
z-index: -1;
|
|
151
|
+
}
|
|
152
|
+
/* All elements should be above the slide-background */
|
|
153
|
+
.reveal section>* {
|
|
154
|
+
position: relative;
|
|
155
|
+
z-index: 1;
|
|
156
|
+
}
|
|
157
|
+
|