slideoff 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.
Files changed (214) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.md +218 -0
  5. data/bin/slideoff +127 -0
  6. data/lib/slideoff/config_builder.rb +60 -0
  7. data/lib/slideoff/flickr_api.rb +50 -0
  8. data/lib/slideoff/flickr_image.rb +92 -0
  9. data/lib/slideoff/markdown.rb +145 -0
  10. data/lib/slideoff/presentation.rb +90 -0
  11. data/lib/slideoff/remote_api.rb +53 -0
  12. data/lib/slideoff/routes.rb +20 -0
  13. data/lib/slideoff/server.rb +50 -0
  14. data/lib/slideoff/slides_api.rb +59 -0
  15. data/lib/slideoff/utils.rb +453 -0
  16. data/lib/slideoff.rb +15 -0
  17. data/themes/3d_slideshow/README +2 -0
  18. data/themes/3d_slideshow/css/main.css +232 -0
  19. data/themes/3d_slideshow/css/reset.css +57 -0
  20. data/themes/3d_slideshow/index.erb +31 -0
  21. data/themes/3d_slideshow/js/slideshow.js +288 -0
  22. data/themes/CSSS/README +2 -0
  23. data/themes/CSSS/css/slideshow.css +304 -0
  24. data/themes/CSSS/css/theme.css +250 -0
  25. data/themes/CSSS/images/rainbow-wood.jpg +0 -0
  26. data/themes/CSSS/index.erb +36 -0
  27. data/themes/CSSS/js/classList.js +116 -0
  28. data/themes/CSSS/js/prefixfree.min.js +5 -0
  29. data/themes/CSSS/js/slideshow.js +621 -0
  30. data/themes/common/css/pygments/colorful.css +62 -0
  31. data/themes/common/css/pygments/manni.css +61 -0
  32. data/themes/common/css/pygments/native.css +70 -0
  33. data/themes/common/css/pygments/solarized.css +66 -0
  34. data/themes/common/fonts/DroidSansMono.svg +626 -0
  35. data/themes/common/fonts/DroidSansMono.ttf +0 -0
  36. data/themes/common/fonts/Lato-BoldItalic.woff +0 -0
  37. data/themes/common/fonts/Lato-Italic.woff +0 -0
  38. data/themes/common/fonts/Lato-bold.woff +0 -0
  39. data/themes/common/fonts/Lato.woff +0 -0
  40. data/themes/common/fonts/OpenSans-Bold.woff +0 -0
  41. data/themes/common/fonts/OpenSans-BoldItalic.woff +0 -0
  42. data/themes/common/fonts/OpenSans-Italic.woff +0 -0
  43. data/themes/common/fonts/OpenSans.woff +0 -0
  44. data/themes/common/fonts/PTMono.woff +0 -0
  45. data/themes/common/fonts/PTSans.Bold.Italic.woff +0 -0
  46. data/themes/common/fonts/PTSans.Bold.woff +0 -0
  47. data/themes/common/fonts/PTSans.Italic.woff +0 -0
  48. data/themes/common/fonts/PTSans.Narrow.Bold.woff +0 -0
  49. data/themes/common/fonts/PTSans.Narrow.woff +0 -0
  50. data/themes/common/fonts/PTSans.woff +0 -0
  51. data/themes/common/fonts/TargetBlank.otf +0 -0
  52. data/themes/common/fonts/TargetBlank.svg +14 -0
  53. data/themes/common/fonts/YanoneKaffeesatz-Bold.woff +0 -0
  54. data/themes/common/fonts/YanoneKaffeesatz-Regular.woff +0 -0
  55. data/themes/common/fonts/crimson_text.ttf +0 -0
  56. data/themes/common/fonts/crimson_text_bold.ttf +0 -0
  57. data/themes/common/fonts/crimson_text_semibold.ttf +0 -0
  58. data/themes/common/fonts/league_gothic-webfont.ttf +0 -0
  59. data/themes/html5rocks/README +2 -0
  60. data/themes/html5rocks/css/default.css +501 -0
  61. data/themes/html5rocks/css/moon.css +543 -0
  62. data/themes/html5rocks/css/sand.css +508 -0
  63. data/themes/html5rocks/css/sea_wave.css +492 -0
  64. data/themes/html5rocks/index.erb +64 -0
  65. data/themes/html5rocks/js/slides.js +464 -0
  66. data/themes/io2012/README +2 -0
  67. data/themes/io2012/css/default.css +1481 -0
  68. data/themes/io2012/css/fonts.css +24 -0
  69. data/themes/io2012/css/phone.css +27 -0
  70. data/themes/io2012/images/google_developers_icon_128.png +0 -0
  71. data/themes/io2012/images/io2012_logo.png +0 -0
  72. data/themes/io2012/index.erb +73 -0
  73. data/themes/io2012/js/hammer.js +586 -0
  74. data/themes/io2012/js/modernizr.custom.45394.js +4 -0
  75. data/themes/io2012/js/order.js +8 -0
  76. data/themes/io2012/js/polyfills/classList.min.js +2 -0
  77. data/themes/io2012/js/polyfills/dataset.min.js +2 -0
  78. data/themes/io2012/js/polyfills/history.min.js +1 -0
  79. data/themes/io2012/js/prettify/lang-apollo.js +2 -0
  80. data/themes/io2012/js/prettify/lang-clj.js +18 -0
  81. data/themes/io2012/js/prettify/lang-css.js +2 -0
  82. data/themes/io2012/js/prettify/lang-go.js +1 -0
  83. data/themes/io2012/js/prettify/lang-hs.js +2 -0
  84. data/themes/io2012/js/prettify/lang-lisp.js +3 -0
  85. data/themes/io2012/js/prettify/lang-lua.js +2 -0
  86. data/themes/io2012/js/prettify/lang-ml.js +2 -0
  87. data/themes/io2012/js/prettify/lang-n.js +4 -0
  88. data/themes/io2012/js/prettify/lang-proto.js +1 -0
  89. data/themes/io2012/js/prettify/lang-scala.js +2 -0
  90. data/themes/io2012/js/prettify/lang-sql.js +2 -0
  91. data/themes/io2012/js/prettify/lang-tex.js +1 -0
  92. data/themes/io2012/js/prettify/lang-vb.js +2 -0
  93. data/themes/io2012/js/prettify/lang-vhdl.js +3 -0
  94. data/themes/io2012/js/prettify/lang-wiki.js +2 -0
  95. data/themes/io2012/js/prettify/lang-xq.js +3 -0
  96. data/themes/io2012/js/prettify/lang-yaml.js +2 -0
  97. data/themes/io2012/js/prettify/prettify.css +1 -0
  98. data/themes/io2012/js/prettify/prettify.js +28 -0
  99. data/themes/io2012/js/require-1.0.8.min.js +33 -0
  100. data/themes/io2012/js/slide-controller.js +109 -0
  101. data/themes/io2012/js/slide-deck.js +768 -0
  102. data/themes/io2012/js/slides.js +5 -0
  103. data/themes/memories/README +5 -0
  104. data/themes/memories/css/fonts.css +25 -0
  105. data/themes/memories/css/slideshow.css +286 -0
  106. data/themes/memories/css/theme.css +183 -0
  107. data/themes/memories/index.erb +37 -0
  108. data/themes/memories/js/prefixfree.min.js +13 -0
  109. data/themes/memories/js/slideshow.js +577 -0
  110. data/themes/modern/LICENSE +20 -0
  111. data/themes/modern/README.md +52 -0
  112. data/themes/modern/css/GENERATED_CONTENT +0 -0
  113. data/themes/modern/css/defaults.css +0 -0
  114. data/themes/modern/css/fonts.css +166 -0
  115. data/themes/modern/css/pygments/colorful.css +215 -0
  116. data/themes/modern/css/pygments/github.css +208 -0
  117. data/themes/modern/css/pygments/solarized-dark.css +213 -0
  118. data/themes/modern/css/pygments/solarized-light.css +213 -0
  119. data/themes/modern/css/reset.css +41 -0
  120. data/themes/modern/css/screen.css +1183 -0
  121. data/themes/modern/fonts/Collegiate.woff +0 -0
  122. data/themes/modern/fonts/GoudyBookletter.1911.woff +0 -0
  123. data/themes/modern/fonts/Inconsolata.Bold.woff +0 -0
  124. data/themes/modern/fonts/Inconsolata.woff +0 -0
  125. data/themes/modern/fonts/Junction.woff +0 -0
  126. data/themes/modern/fonts/LiberationMono.Bold.woff +0 -0
  127. data/themes/modern/fonts/LiberationMono.BoldItalic.woff +0 -0
  128. data/themes/modern/fonts/LiberationMono.Italic.woff +0 -0
  129. data/themes/modern/fonts/LiberationMono.Regular.woff +0 -0
  130. data/themes/modern/fonts/OpenSans.Bold.woff +0 -0
  131. data/themes/modern/fonts/OpenSans.BoldItalic.woff +0 -0
  132. data/themes/modern/fonts/OpenSans.ExtraBold.woff +0 -0
  133. data/themes/modern/fonts/OpenSans.ExtraBoldItalic.woff +0 -0
  134. data/themes/modern/fonts/OpenSans.Italic.woff +0 -0
  135. data/themes/modern/fonts/OpenSans.Light.woff +0 -0
  136. data/themes/modern/fonts/OpenSans.LightItalic.woff +0 -0
  137. data/themes/modern/fonts/OpenSans.Regular.woff +0 -0
  138. data/themes/modern/fonts/OpenSans.Semibold.woff +0 -0
  139. data/themes/modern/fonts/OpenSans.SemiboldItalic.woff +0 -0
  140. data/themes/modern/fonts/PTMono.woff +0 -0
  141. data/themes/modern/fonts/PTSans.Bold.Italic.woff +0 -0
  142. data/themes/modern/fonts/PTSans.Bold.woff +0 -0
  143. data/themes/modern/fonts/PTSans.Italic.woff +0 -0
  144. data/themes/modern/fonts/PTSans.Narrow.Bold.woff +0 -0
  145. data/themes/modern/fonts/PTSans.woff +0 -0
  146. data/themes/modern/fonts/Raleway.Thin.woff +0 -0
  147. data/themes/modern/fonts/STIXGeneral.Bold.woff +0 -0
  148. data/themes/modern/fonts/STIXGeneral.BoldItalic.woff +0 -0
  149. data/themes/modern/fonts/STIXGeneral.Italic.woff +0 -0
  150. data/themes/modern/fonts/STIXGeneral.Regular.woff +0 -0
  151. data/themes/modern/fonts/YanoneKaffeesatz.Bold.woff +0 -0
  152. data/themes/modern/fonts/YanoneKaffeesatz.ExtraLight.woff +0 -0
  153. data/themes/modern/fonts/YanoneKaffeesatz.Light.woff +0 -0
  154. data/themes/modern/fonts/YanoneKaffeesatz.Regular.woff +0 -0
  155. data/themes/modern/images/cc/by.svg +29 -0
  156. data/themes/modern/images/cc/cc-white.svg +23 -0
  157. data/themes/modern/images/cc/cc.svg +23 -0
  158. data/themes/modern/images/cc/nc-eu.svg +21 -0
  159. data/themes/modern/images/cc/nc-jp.svg +18 -0
  160. data/themes/modern/images/cc/nc.svg +23 -0
  161. data/themes/modern/images/cc/nd.svg +20 -0
  162. data/themes/modern/images/cc/pd.svg +24 -0
  163. data/themes/modern/images/cc/remix.svg +20 -0
  164. data/themes/modern/images/cc/sa.svg +22 -0
  165. data/themes/modern/images/cc/sampling.plus.svg +33 -0
  166. data/themes/modern/images/cc/sampling.svg +36 -0
  167. data/themes/modern/images/cc/share.svg +22 -0
  168. data/themes/modern/images/cc/zero.svg +24 -0
  169. data/themes/modern/images/flickr.svg +65 -0
  170. data/themes/modern/images/mesh.png +0 -0
  171. data/themes/modern/images/mesh@2x.png +0 -0
  172. data/themes/modern/images/progress-grayDark.svg +55 -0
  173. data/themes/modern/images/progress.svg +3 -0
  174. data/themes/modern/index.erb +76 -0
  175. data/themes/modern/js/highcharts.js +294 -0
  176. data/themes/modern/js/jquery-2.1.0.min.js +4 -0
  177. data/themes/modern/js/script.coffee +480 -0
  178. data/themes/modern/js/script.js +678 -0
  179. data/themes/modern/styles/_box.scss +89 -0
  180. data/themes/modern/styles/_figure.scss +81 -0
  181. data/themes/modern/styles/_full.scss +74 -0
  182. data/themes/modern/styles/_increment.scss +38 -0
  183. data/themes/modern/styles/_list.scss +129 -0
  184. data/themes/modern/styles/_progress.scss +19 -0
  185. data/themes/modern/styles/defaults.scss +46 -0
  186. data/themes/modern/styles/fonts.scss +197 -0
  187. data/themes/modern/styles/pygments/_solarized.scss +82 -0
  188. data/themes/modern/styles/pygments/colorful.scss +67 -0
  189. data/themes/modern/styles/pygments/github.scss +67 -0
  190. data/themes/modern/styles/pygments/solarized-dark.scss +15 -0
  191. data/themes/modern/styles/pygments/solarized-light.scss +15 -0
  192. data/themes/modern/styles/reset.scss +46 -0
  193. data/themes/modern/styles/screen.scss +841 -0
  194. data/themes/reveal/README +2 -0
  195. data/themes/reveal/css/main.css +1029 -0
  196. data/themes/reveal/css/reset.css +57 -0
  197. data/themes/reveal/index.erb +102 -0
  198. data/themes/reveal/js/classList.js +2 -0
  199. data/themes/reveal/js/head.min.js +8 -0
  200. data/themes/reveal/js/reveal.js +951 -0
  201. data/themes/shower/README +2 -0
  202. data/themes/shower/css/fonts.css +50 -0
  203. data/themes/shower/css/reset.css +42 -0
  204. data/themes/shower/css/style.css +418 -0
  205. data/themes/shower/images/grid.png +0 -0
  206. data/themes/shower/images/linen.png +0 -0
  207. data/themes/shower/images/ribbon.svg +4 -0
  208. data/themes/shower/index.erb +35 -0
  209. data/themes/shower/js/script.js +325 -0
  210. data/themes/template/README +5 -0
  211. data/themes/template/css/reset.css +42 -0
  212. data/themes/template/index.erb +35 -0
  213. data/themes/template/js/prefixfree.min.js +13 -0
  214. metadata +343 -0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,14 @@
1
+ <?xml version="1.0" standalone="no"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg">
3
+ <metadata>
4
+ Designer: Vadim Makeev
5
+ </metadata>
6
+ <defs>
7
+ <font id="TargetBlank" horiz-adv-x="500" >
8
+ <font-face units-per-em="1000" ascent="800" descent="-200" />
9
+ <missing-glyph horiz-adv-x="500" />
10
+ <glyph unicode=" "/>
11
+ <glyph unicode="^" horiz-adv-x="600" d="M300 700h300v-300h-80v160l-262 -262l-57 56l265 266h-166v80zM420 80v220h80v-300h-500v600h200v-80h-120v-440h340z"/>
12
+ </font>
13
+ </defs>
14
+ </svg>
@@ -0,0 +1,2 @@
1
+ Slides from Google (slides.html5rocks.com) cleaned up for new presentations
2
+ https://github.com/paulgreg/blankhtml5slides
@@ -0,0 +1,501 @@
1
+ body {
2
+ font: 16px "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
3
+ padding: 0;
4
+ margin: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ position: absolute;
8
+ left: 0px; top: 0px;
9
+ }
10
+
11
+ .presentation {
12
+ position: absolute;
13
+ height: 100%;
14
+ width: 100%;
15
+ left: 0px;
16
+ top: 0px;
17
+ display: block;
18
+ overflow: hidden;
19
+ background: #778;
20
+ }
21
+
22
+ .slides {
23
+ width: 100%;
24
+ height: 100%;
25
+ left: 0;
26
+ top: 0;
27
+ position: absolute;
28
+ display: none;
29
+ -webkit-transition: -webkit-transform 1s ease-in-out;
30
+ -moz-transition: -moz-transform 1s ease-in-out;
31
+ -o-transition: -o-transform 1s ease-in-out;
32
+ transition: transform 1s ease-in-out;
33
+ }
34
+
35
+ .slide {
36
+ display: none;
37
+ position: absolute;
38
+ overflow: hidden;
39
+ width: 900px;
40
+ height: 700px;
41
+ left: 50%;
42
+ top: 50%;
43
+ margin-top: -350px;
44
+ background-color: #eee;
45
+ background: -webkit-gradient(linear, left bottom, left top, from(#bbd), to(#fff));
46
+ background: -moz-linear-gradient(bottom, #bbd, #fff);
47
+ background: linear-gradient(bottom, #bbd, #fff);
48
+ -webkit-transition: margin 0.25s ease-in-out;
49
+ -moz-transition: margin 0.25s ease-in-out;
50
+ -o-transition: margin-left 0.25s ease-in-out;
51
+ transition: margin 0.25s ease-in-out;
52
+ }
53
+
54
+ .slide:nth-child(even) {
55
+ -moz-border-radius: 20px 0;
56
+ -khtml-border-radius: 20px 0;
57
+ border-radius: 20px 0; /* includes Opera 10.5+ */
58
+ -webkit-border-top-left-radius: 20px;
59
+ -webkit-border-bottom-right-radius: 20px;
60
+ }
61
+
62
+ .slide:nth-child(odd) {
63
+ -moz-border-radius: 0 20px;
64
+ -khtml-border-radius: 0 20px;
65
+ border-radius: 0 20px;
66
+ -webkit-border-top-right-radius: 20px;
67
+ -webkit-border-bottom-left-radius: 20px;
68
+ }
69
+
70
+ .slide p, .slide textarea {
71
+ font-size: 20px;
72
+ }
73
+
74
+ .slide .counter {
75
+ color: #999999;
76
+ position: absolute;
77
+ left: 20px;
78
+ bottom: 20px;
79
+ display: block;
80
+ font-size: 12px;
81
+ width: 100%;
82
+ }
83
+
84
+ .slide:not(.transitionSlide) .counter:after {
85
+ content: '';
86
+ width: 32px;
87
+ height: 32px;
88
+ background-repeat: no-repeat;
89
+ background-position: right bottom;
90
+ position: absolute;
91
+ bottom: 0;
92
+ right: 45px;
93
+ opacity: 0.25;
94
+ }
95
+
96
+ .slide.title > .counter,
97
+ .slide.segue > .counter,
98
+ .slide.mainTitle > .counter {
99
+ display: none;
100
+ }
101
+
102
+ .slide.transitionSlide h2 {
103
+ font-size: 40px;
104
+ margin: 0;
105
+ line-height: 10px;
106
+ }
107
+ .slide.transitionSlide p {
108
+ margin: 0;
109
+ }
110
+
111
+ .slide.transitionSlide img {
112
+ opacity: 0.25;
113
+ width: 64px;
114
+ height: 64px;
115
+ }
116
+
117
+ .vbox {
118
+ display: -webkit-box;
119
+ -webkit-box-orient: vertical;
120
+ -webkit-box-align: stretch;
121
+
122
+ display: -moz-box;
123
+ -moz-box-orient: vertical;
124
+ -moz-box-align: stretch;
125
+
126
+ display: box;
127
+ box-orient: vertical;
128
+ box-align: stretch;
129
+ }
130
+
131
+ .hbox {
132
+ display: -webkit-box;
133
+ -webkit-box-orient: horizontal;
134
+ -webkit-box-align: stretch;
135
+
136
+ display: -moz-box;
137
+ -moz-box-orient: horizontal;
138
+ -moz-box-align: stretch;
139
+
140
+ display: box;
141
+ box-orient: horizontal;
142
+ box-align: stretch;
143
+ }
144
+
145
+ .flex {
146
+ -webkit-box-flex: 1;
147
+ -moz-box-flex: 1;
148
+ box-flex: 1;
149
+ }
150
+
151
+ .noflex {
152
+ -webkit-box-flex: 0;
153
+ -moz-box-flex: 0;
154
+ box-flex: 0;
155
+ }
156
+
157
+ .boxcenter {
158
+ -webkit-box-pack: center;
159
+ -moz-box-pack: center;
160
+ box-pack: center;
161
+ }
162
+
163
+ .slide.far-past {
164
+ display: block;
165
+ margin-left: -2400px;
166
+ }
167
+
168
+ .slide.past {
169
+ visibility: visible;
170
+ display: block;
171
+ margin-left: -1400px;
172
+ }
173
+
174
+ .slide.current {
175
+ visibility: visible;
176
+ display: block;
177
+ margin-left: -450px;
178
+ }
179
+
180
+ .slide.future {
181
+ visibility: visible;
182
+ display: block;
183
+ margin-left: 500px;
184
+ }
185
+
186
+ .slide.far-future {
187
+ display: block;
188
+ margin-left: 1500px;
189
+ }
190
+
191
+ body.three-d div.presentation {
192
+ /*background: -webkit-gradient(radial, 50% 50%, 10, 50% 50%, 1000, from(#333), to(#000)); */
193
+ }
194
+
195
+ body.three-d div.slides {
196
+ -webkit-transform: translateX(50px) scale(0.8) rotateY(10deg);
197
+ -moz-transform: translateX(50px) scale(0.8) rotateY(10deg);
198
+ -o-transform: translateX(50px) scale(0.8) rotateY(10deg);
199
+ transform: translateX(50px) scale(0.8) rotateY(10deg);
200
+ }
201
+
202
+ /* Content */
203
+ /*
204
+ Font sizes:
205
+ header h1 - 50px
206
+ h2, p - 20px
207
+ default, pre, input - 16px
208
+ */
209
+
210
+ @font-face {
211
+ font-family: 'JunctionRegular';
212
+ src: url('/src/fonts/junction02/junction02-webfont.eot');
213
+ src: local('☺'), url('/src/fonts/junction02/junction02-webfont.woff') format('woff'), url('/src/fonts/junction02/junction02-webfont.ttf') format('truetype'), url('/src/fonts/junction02/junction02-webfont.svg#webfontwzJOjWvv') format('svg');
214
+ font-weight: normal;
215
+ font-style: normal;
216
+ }
217
+ @font-face {
218
+ font-family: 'LeagueGothicRegular';
219
+ src: url('/src/fonts/leaguegothic/leaguegothic-webfont.eot');
220
+ src: local('☺'), url('/src/fonts/leaguegothic/leaguegothic-webfont.woff') format('woff'), url('/src/fonts/leaguegothic/leaguegothic-webfont.ttf') format('truetype'), url('/src/fonts/leaguegothic/leaguegothic-webfont.svg#webfontWgfhmMGx') format('svg');
221
+ font-weight: normal;
222
+ font-style: normal;
223
+ }
224
+
225
+ header {
226
+ font-family: 'Droid Sans';
227
+ font-weight: normal;
228
+ letter-spacing: -.05em;
229
+ color: black;
230
+ text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
231
+ position: absolute;
232
+ left: 30px;
233
+ top: 25px;
234
+ margin: 0;
235
+ padding: 0;
236
+ font-size: 50px;
237
+ }
238
+
239
+ h1 {
240
+ font-size: 100%;
241
+ display: inline;
242
+ font-weight: normal;
243
+ padding: 0;
244
+ margin: 0;
245
+ }
246
+
247
+ h2 {
248
+ font-family: 'Droid Sans';
249
+ color: black;
250
+ font-size: 20px;
251
+ padding: 0;
252
+ margin: 15px 0 5px 0;
253
+ }
254
+
255
+ h2:first-child {
256
+ margin-top: 0;
257
+ }
258
+
259
+ section, footer {
260
+ font-family: 'Droid Sans';
261
+ color: #3f3f3f;
262
+ text-shadow: rgba(0, 0, 0, 0.2) 0 2px 5px;
263
+ margin: 100px 30px 0;
264
+ display: block;
265
+ overflow: hidden;
266
+ }
267
+
268
+ footer {
269
+ font-size: 12px;
270
+ margin: 20px 0 0 30px;
271
+ }
272
+
273
+ a {
274
+ color: inherit;
275
+ display: inline-block;
276
+ text-decoration: none;
277
+ line-height: 110%;
278
+ border-bottom: 2px solid #3f3f3f;
279
+ }
280
+
281
+ .gmap a {
282
+ line-height: 100%;
283
+ border-bottom: none;
284
+ }
285
+
286
+ li {
287
+ list-style: none;
288
+ padding: 10px 0;
289
+ }
290
+
291
+ button {
292
+ font-size: 20px;
293
+ }
294
+
295
+ pre button {
296
+ margin: 2px;
297
+ }
298
+
299
+ .summary {
300
+ font-size: 30px;
301
+ }
302
+
303
+ .bullets {
304
+ font-size: 40px;
305
+ }
306
+
307
+ section.left {
308
+ float: left;
309
+ width: 390px;
310
+ }
311
+
312
+ section.small {
313
+ font-size: 24px;
314
+ }
315
+
316
+ section.small ul {
317
+ margin: 0 0 0 15px;
318
+ padding: 0;
319
+ }
320
+
321
+ section.small li {
322
+ padding-bottom: 0;
323
+ }
324
+
325
+ section.middle {
326
+ line-height: 68px;
327
+ text-align: center;
328
+ display: table-cell;
329
+ vertical-align: middle;
330
+ height: 700px;
331
+ width: 900px;
332
+ }
333
+
334
+ pre {
335
+ text-align: left;
336
+ font-family: 'Droid Sans Mono', Courier;
337
+ padding: 10px 20px;
338
+ background: rgba(255, 0, 0, 0.05);
339
+ -webkit-border-radius: 8px;
340
+ -khtml-border-radius: 8px;
341
+ -moz-border-radius: 8px;
342
+ border-radius: 8px;
343
+ border: 1px solid rgba(255, 0, 0, 0.2);
344
+ }
345
+
346
+ pre select {
347
+ font-family: Monaco, Courier;
348
+ border: 1px solid #c61800;
349
+ }
350
+
351
+ input {
352
+ font-size: 16px;
353
+ margin-right: 10px;
354
+ font-family: Helvetica;
355
+ padding: 3px 5px;
356
+ }
357
+ input[type="range"] {
358
+ width: 100%;
359
+ }
360
+
361
+ button {
362
+ font-family: Verdana;
363
+ }
364
+
365
+ button.large {
366
+ font-size: 32px;
367
+ }
368
+
369
+ pre b {
370
+ font-weight: normal;
371
+ color: #c61800;
372
+ text-shadow: #c61800 0 0 1px;
373
+ /*letter-spacing: -1px;*/
374
+ }
375
+ pre em {
376
+ font-weight: normal;
377
+ font-style: normal;
378
+ color: #18a600;
379
+ text-shadow: #18a600 0 0 1px;
380
+ }
381
+ pre input[type="range"] {
382
+ height: 6px;
383
+ cursor: pointer;
384
+ width: auto;
385
+ }
386
+
387
+ div.example {
388
+ display: block;
389
+ padding: 10px 20px;
390
+ color: black;
391
+ background: rgba(255, 255, 255, 0.4);
392
+ -webkit-border-radius: 8px;
393
+ -khtml-border-radius: 8px;
394
+ -moz-border-radius: 8px;
395
+ border-radius: 8px;
396
+ margin-bottom: 10px;
397
+ border: 1px solid rgba(0, 0, 0, 0.2);
398
+ }
399
+
400
+ video {
401
+ -moz-border-radius: 8px;
402
+ -khtml-border-radius: 8px;
403
+ -webkit-border-radius: 8px;
404
+ border-radius: 8px;
405
+ border: 1px solid rgba(0, 0, 0, 0.2);
406
+ }
407
+
408
+ .css,
409
+ .js,
410
+ .html,
411
+ .key {
412
+ font-family: 'Droid Sans';
413
+ color: black;
414
+ display: inline-block;
415
+ padding: 6px 10px 3px 10px;
416
+ font-size: 25px;
417
+ line-height: 30px;
418
+ text-shadow: none;
419
+ letter-spacing: 0;
420
+ bottom: 10px;
421
+ position: relative;
422
+ -moz-border-radius: 10px;
423
+ -khtml-border-radius: 10px;
424
+ -webkit-border-radius: 10px;
425
+ border-radius: 10px;
426
+ background: white;
427
+ box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
428
+ -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
429
+ -moz-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
430
+ -o-box-shadow: rgba(0, 0, 0, 0.1) 0 2px 5px;
431
+ }
432
+
433
+ .key { font-family: Arial; }
434
+
435
+ :not(header) > .css,
436
+ :not(header) > .js,
437
+ :not(header) > .html,
438
+ :not(header) > .key {
439
+ margin: 0 5px;
440
+ bottom: 4px;
441
+ }
442
+
443
+ .css {
444
+ background: -webkit-gradient(linear, left top, left bottom, from(#ff4), to(#ffa));
445
+ background-color: #ff4;
446
+ background: -moz-linear-gradient(left top, #ff4, #ffa);
447
+ }
448
+ .js {
449
+ background: -webkit-gradient(linear, left top, left bottom, from(#4f4), to(#afa));
450
+ background-color: #4f4;
451
+ background: -moz-linear-gradient(left top, #4f4, #afa);
452
+ }
453
+ .html {
454
+ background: -webkit-gradient(linear, left top, left bottom, from(#e88), to(#fee));
455
+ background-color: #e88;
456
+ background: -moz-linear-gradient(left top, #e88, #fee);
457
+ }
458
+
459
+ .two-column {
460
+ -webkit-column-count: 2;
461
+ -moz-column-count: 2;
462
+ column-count: 2;
463
+ }
464
+
465
+ .summary li::before, .bullets li::before {
466
+ content: '· ';
467
+ }
468
+
469
+ .stroke {
470
+ -webkit-text-stroke-color: red;
471
+ -webkit-text-stroke-width: 1px;
472
+ } /* currently webkit-only */
473
+
474
+ .center {
475
+ text-align: center;
476
+ }
477
+
478
+ .formula {
479
+ font-size: 50px;
480
+ }
481
+
482
+ #presentation-counter {
483
+ color: #ccc;
484
+ font-size: 100px;
485
+ letter-spacing: 1px;
486
+ position: absolute;
487
+ top: 40%;
488
+ left: 0;
489
+ width: 100%;
490
+ text-align: center;
491
+ }
492
+
493
+ [data-build] > * {
494
+ -webkit-transition: opacity 0.5s ease-in-out 0.2s;
495
+ -moz-transition: opacity 0.5s ease-in-out 0.2s;
496
+ -o-transition: opacity 0.5s ease-in-out 0.2s;
497
+ }
498
+
499
+ [data-build] > *.to-build {
500
+ opacity: 0;
501
+ }