slideparts 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/.travis.yml +3 -0
- data/Gemfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +40 -0
- data/Rakefile +7 -0
- data/bin/slide +5 -0
- data/lib/slide_template/Guardfile +3 -0
- data/lib/slide_template/_layouts/default.html.erb +74 -0
- data/lib/slide_template/css/print/paper.css +202 -0
- data/lib/slide_template/css/print/pdf.css +157 -0
- data/lib/slide_template/css/reveal.css +1141 -0
- data/lib/slide_template/css/reveal.scss +1316 -0
- data/lib/slide_template/css/theme/README.md +25 -0
- data/lib/slide_template/css/theme/beige.css +265 -0
- data/lib/slide_template/css/theme/black.css +261 -0
- data/lib/slide_template/css/theme/blood.css +291 -0
- data/lib/slide_template/css/theme/league.css +267 -0
- data/lib/slide_template/css/theme/moon.css +265 -0
- data/lib/slide_template/css/theme/night.css +259 -0
- data/lib/slide_template/css/theme/serif.css +261 -0
- data/lib/slide_template/css/theme/simple.css +261 -0
- data/lib/slide_template/css/theme/sky.css +268 -0
- data/lib/slide_template/css/theme/solarized.css +265 -0
- data/lib/slide_template/css/theme/source/beige.scss +39 -0
- data/lib/slide_template/css/theme/source/black.scss +49 -0
- data/lib/slide_template/css/theme/source/blood.scss +91 -0
- data/lib/slide_template/css/theme/source/league.scss +34 -0
- data/lib/slide_template/css/theme/source/moon.scss +57 -0
- data/lib/slide_template/css/theme/source/night.scss +35 -0
- data/lib/slide_template/css/theme/source/serif.scss +35 -0
- data/lib/slide_template/css/theme/source/simple.scss +38 -0
- data/lib/slide_template/css/theme/source/sky.scss +46 -0
- data/lib/slide_template/css/theme/source/solarized.scss +63 -0
- data/lib/slide_template/css/theme/source/white.scss +49 -0
- data/lib/slide_template/css/theme/template/mixins.scss +29 -0
- data/lib/slide_template/css/theme/template/settings.scss +43 -0
- data/lib/slide_template/css/theme/template/theme.scss +339 -0
- data/lib/slide_template/css/theme/white.css +261 -0
- data/lib/slide_template/index.haml +5 -0
- data/lib/slide_template/js/reveal.js +4276 -0
- data/lib/slide_template/lib/css/zenburn.css +117 -0
- data/lib/slide_template/lib/font/league-gothic/LICENSE +2 -0
- data/lib/slide_template/lib/font/league-gothic/league-gothic.css +10 -0
- data/lib/slide_template/lib/font/league-gothic/league-gothic.eot +0 -0
- data/lib/slide_template/lib/font/league-gothic/league-gothic.ttf +0 -0
- data/lib/slide_template/lib/font/league-gothic/league-gothic.woff +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/LICENSE +45 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- data/lib/slide_template/lib/font/source-sans-pro/source-sans-pro.css +39 -0
- data/lib/slide_template/lib/js/classList.js +2 -0
- data/lib/slide_template/lib/js/head.min.js +8 -0
- data/lib/slide_template/lib/js/html5shiv.js +7 -0
- data/lib/slide_template/plugin/highlight/highlight.js +30 -0
- data/lib/slide_template/plugin/leap/leap.js +159 -0
- data/lib/slide_template/plugin/markdown/example.html +129 -0
- data/lib/slide_template/plugin/markdown/example.md +31 -0
- data/lib/slide_template/plugin/markdown/markdown.js +393 -0
- data/lib/slide_template/plugin/markdown/marked.js +37 -0
- data/lib/slide_template/plugin/math/math.js +64 -0
- data/lib/slide_template/plugin/multiplex/client.js +13 -0
- data/lib/slide_template/plugin/multiplex/index.js +56 -0
- data/lib/slide_template/plugin/multiplex/master.js +51 -0
- data/lib/slide_template/plugin/notes-server/client.js +60 -0
- data/lib/slide_template/plugin/notes-server/index.js +66 -0
- data/lib/slide_template/plugin/notes-server/notes.html +396 -0
- data/lib/slide_template/plugin/notes/notes.html +406 -0
- data/lib/slide_template/plugin/notes/notes.js +122 -0
- data/lib/slide_template/plugin/print-pdf/print-pdf.js +48 -0
- data/lib/slide_template/plugin/remotes/remotes.js +39 -0
- data/lib/slide_template/plugin/search/search.js +196 -0
- data/lib/slide_template/plugin/zoom-js/zoom.js +278 -0
- data/lib/slideparts.rb +20 -0
- data/lib/slideparts/command.rb +38 -0
- data/lib/slideparts/commands/build.rb +34 -0
- data/lib/slideparts/commands/new.rb +23 -0
- data/lib/slideparts/commands/server.rb +26 -0
- data/lib/slideparts/version.rb +3 -0
- data/slideparts.gemspec +24 -0
- data/spec/command_spec.rb +9 -0
- data/spec/spec_helper.rb +2 -0
- metadata +182 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f90f6504d3ee5d48e5446bf68c5df3ba8adaba17
|
4
|
+
data.tar.gz: 07efee8d4874e1189138429aae28e828bca3d87d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0869f467122e21f229a8d8f0ff345ed1535e2a9ee8fe15446657955d1c9242951e67339440e94ac237956fc031c50280d1581845252100049448cc12e8d4b915
|
7
|
+
data.tar.gz: e925ce28137be1f4421138511480125da4d59e5c058367240d6597b464dd7dd34a46432301eb85f992f862216407cf822cb82090c7ef6236ea5e82d86cd60768
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 ino_h
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Slideparts
|
2
|
+
|
3
|
+
Slidepartsはスライドをコマンドベースで簡単に作成できます。
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'slideparts'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install slideparts
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
create project:
|
24
|
+
|
25
|
+
$ slide new sample_slide
|
26
|
+
$ cd sample_slide
|
27
|
+
$ slide build
|
28
|
+
$ slide server
|
29
|
+
|
30
|
+
access:
|
31
|
+
|
32
|
+
http://localhost:3000/
|
33
|
+
|
34
|
+
## Contributing
|
35
|
+
|
36
|
+
1. Fork it ( https://github.com/[my-github-username]/slideparts/fork )
|
37
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
38
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
39
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
40
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/bin/slide
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
|
7
|
+
<title>reveal.js - The HTML Presentation Framework</title>
|
8
|
+
|
9
|
+
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
|
10
|
+
<meta name="author" content="Hakim El Hattab">
|
11
|
+
|
12
|
+
<meta name="apple-mobile-web-app-capable" content="yes" />
|
13
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
14
|
+
|
15
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
|
16
|
+
|
17
|
+
<link rel="stylesheet" href="css/reveal.css">
|
18
|
+
<link rel="stylesheet" href="css/theme/black.css" id="theme">
|
19
|
+
|
20
|
+
<!-- Code syntax highlighting -->
|
21
|
+
<link rel="stylesheet" href="lib/css/zenburn.css">
|
22
|
+
|
23
|
+
<!-- Printing and PDF exports -->
|
24
|
+
<script>
|
25
|
+
var link = document.createElement( 'link' );
|
26
|
+
link.rel = 'stylesheet';
|
27
|
+
link.type = 'text/css';
|
28
|
+
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
|
29
|
+
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
30
|
+
</script>
|
31
|
+
|
32
|
+
<!--[if lt IE 9]>
|
33
|
+
<script src="lib/js/html5shiv.js"></script>
|
34
|
+
<![endif]-->
|
35
|
+
</head>
|
36
|
+
|
37
|
+
<body>
|
38
|
+
|
39
|
+
<div class="reveal">
|
40
|
+
|
41
|
+
<!-- Any section element inside of this container is displayed as a slide -->
|
42
|
+
<div class="slides"><%= @slides %></div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<script src="lib/js/head.min.js"></script>
|
46
|
+
<script src="js/reveal.js"></script>
|
47
|
+
|
48
|
+
<script>
|
49
|
+
|
50
|
+
// Full list of configuration options available at:
|
51
|
+
// https://github.com/hakimel/reveal.js#configuration
|
52
|
+
Reveal.initialize({
|
53
|
+
controls: true,
|
54
|
+
progress: true,
|
55
|
+
history: true,
|
56
|
+
center: true,
|
57
|
+
|
58
|
+
transition: 'slide', // none/fade/slide/convex/concave/zoom
|
59
|
+
|
60
|
+
// Optional reveal.js plugins
|
61
|
+
dependencies: [
|
62
|
+
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
|
63
|
+
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
64
|
+
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
65
|
+
{ src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
|
66
|
+
{ src: 'plugin/zoom-js/zoom.js', async: true },
|
67
|
+
{ src: 'plugin/notes/notes.js', async: true }
|
68
|
+
]
|
69
|
+
});
|
70
|
+
|
71
|
+
</script>
|
72
|
+
|
73
|
+
</body>
|
74
|
+
</html>
|
@@ -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
|
+
|