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
@@ -0,0 +1,2 @@
1
+ This theme was created by Vadim Makeev:
2
+ https://github.com/pepelsbey/shower/
@@ -0,0 +1,50 @@
1
+ /* PTSans */
2
+ @font-face {
3
+ font-family:'PT Sans';
4
+ src:local('PT Sans'), local('PTSansRegular'),
5
+ url(../fonts/PTSans.woff) format('woff');
6
+ }
7
+ @font-face {
8
+ font-weight:bold;
9
+ font-family:'PT Sans';
10
+ src:local('PT Sans Bold'), local('PTSansBold'),
11
+ url(../fonts/PTSans.Bold.woff) format('woff');
12
+ }
13
+ @font-face {
14
+ font-style:italic;
15
+ font-family:'PT Sans';
16
+ src:local('PT Sans Italic'), local('PTSansItalic'),
17
+ url(../fonts/PTSans.Italic.woff) format('woff');
18
+ }
19
+ @font-face {
20
+ font-style:italic;
21
+ font-weight:bold;
22
+ font-family:'PT Sans';
23
+ src:local('PT Sans Bold Italic'), local('PTSansBoldItalic'),
24
+ url(../fonts/PTSans.Bold.Italic.woff) format('woff');
25
+ }
26
+ @font-face {
27
+ font-family:'PT Sans Narrow';
28
+ src:local('PT Sans Narrow'), local('PTSansNarrow'),
29
+ url(../fonts/PTSans.Narrow.woff) format('woff');
30
+ }
31
+ @font-face {
32
+ font-family:'PT Sans Narrow';
33
+ font-weight:bold;
34
+ src:local('PT Sans Narrow Bold'), local('PTSansNarrowBold'),
35
+ url(../fonts/PTSans.Narrow.Bold.woff) format('woff');
36
+ }
37
+
38
+ /* PT Mono */
39
+ @font-face {
40
+ font-family:'PT Mono';
41
+ src:local('PT Mono'), local('PTMonoRegular'),
42
+ url(../fonts/PTMono.woff) format('woff');
43
+ }
44
+
45
+ /* Linker */
46
+ @font-face {
47
+ font-family:'Target Blank';
48
+ src:url(../fonts/TargetBlank.otf) format('opentype'),
49
+ url(../fonts/TargetBlank.svg#TargetBlank) format('svg');
50
+ }
@@ -0,0 +1,42 @@
1
+ html, body, div, span, applet, object, iframe,
2
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
3
+ a, abbr, acronym, address, big, cite, code,
4
+ del, dfn, em, img, ins, kbd, q, s, samp,
5
+ small, strike, strong, sub, sup, tt, var,
6
+ b, u, i, center,
7
+ dl, dt, dd, ol, ul, li,
8
+ fieldset, form, label, legend,
9
+ table, caption, tbody, tfoot, thead, tr, th, td,
10
+ article, aside, canvas, details, embed,
11
+ figure, figcaption, footer, header, hgroup,
12
+ menu, nav, output, ruby, section, summary,
13
+ time, mark, audio, video {
14
+ margin:0;
15
+ padding:0;
16
+ border:0;
17
+ font-size:100%;
18
+ font:inherit;
19
+ vertical-align:baseline;
20
+ }
21
+ article, aside, details, figcaption, figure,
22
+ footer, header, hgroup, menu, nav, section {
23
+ display:block;
24
+ }
25
+ body {
26
+ line-height:1;
27
+ }
28
+ ol, ul {
29
+ list-style:none;
30
+ }
31
+ blockquote, q {
32
+ quotes:none;
33
+ }
34
+ blockquote:before, blockquote:after,
35
+ q:before, q:after {
36
+ content:'';
37
+ content:none;
38
+ }
39
+ table {
40
+ border-collapse:collapse;
41
+ border-spacing:0;
42
+ }
@@ -0,0 +1,418 @@
1
+ /*
2
+ Ribbon theme for Shower presentation template: http://github.com/pepelsbey/shower
3
+ Copyright © 2010–2011 Vadim Makeev, http://pepelsbey.net/
4
+ Licensed under MIT license: https://github.com/pepelsbey/shower/wiki/License
5
+ */
6
+
7
+ @import url(fonts.css);
8
+ @import url(reset.css);
9
+
10
+ BODY {
11
+ font:25px/1.8 'PT Sans', sans-serif;
12
+ counter-reset:paging;
13
+ }
14
+
15
+ /* Slide
16
+ ---------------------------------------- */
17
+ .slide:after {
18
+ counter-increment:paging;
19
+ content:counter(paging, decimal-leading-zero);
20
+ }
21
+ .slide section {
22
+ padding:80px 120px 0;
23
+ width:784px;
24
+ height:560px;
25
+ background:#FFF;
26
+ color:#000;
27
+ }
28
+ .slide section:before {
29
+ position:absolute;
30
+ top:0;
31
+ right:120px;
32
+ width:40px;
33
+ height:120px;
34
+ background:url(../images/ribbon.svg) no-repeat;
35
+ content:'';
36
+ }
37
+
38
+ /* Header */
39
+ .slide header {
40
+ margin:0 0 58px;
41
+ color:#666;
42
+ font:bold 40px/1.13 'PT Sans Narrow', sans-serif;
43
+ }
44
+
45
+ /* Elements */
46
+ .slide p {
47
+ margin:0 0 45px;
48
+ }
49
+ .slide p.note {
50
+ color:#888;
51
+ }
52
+ .slide a {
53
+ border-bottom:0.1em solid;
54
+ color:#0174A7;
55
+ text-decoration:none;
56
+ }
57
+ .slide a[target=_blank] {
58
+ margin-right:22px;
59
+ }
60
+ .slide a[target=_blank]:after {
61
+ position:absolute;
62
+ margin-left:7px;
63
+ font-family:'Target Blank';
64
+ content:'\005E';
65
+ }
66
+ .slide b,
67
+ .slide strong {
68
+ font-weight:bold;
69
+ }
70
+ .slide i,
71
+ .slide em {
72
+ font-style:italic;
73
+ }
74
+ .slide kbd,
75
+ .slide code {
76
+ padding:3px 8px;
77
+ -webkit-border-radius:8px;
78
+ -moz-border-radius:8px;
79
+ border-radius:8px;
80
+ background:#FAFAA2;
81
+ color:#000;
82
+ -webkit-tab-size:4;
83
+ -moz-tab-size:4;
84
+ -o-tab-size:4;
85
+ tab-size:4;
86
+ font-family:'PT Mono', monospace;
87
+ }
88
+
89
+ /* Quote */
90
+ .slide blockquote {
91
+ font-style:italic;
92
+ }
93
+ .slide blockquote:before {
94
+ position:absolute;
95
+ margin:-15px 0 0 -80px;
96
+ color:#CCC;
97
+ font:200px/1 'PT Sans', sans-serif;
98
+ content:'\201C'; /* ldquo */
99
+ }
100
+
101
+ /* Lists */
102
+ .slide ol,
103
+ .slide ul {
104
+ margin:0 0 45px;
105
+ counter-reset:list;
106
+ }
107
+ .slide ul ul,
108
+ .slide ol ul,
109
+ .slide ol ol,
110
+ .slide ul ol {
111
+ margin:0 0 0 38px;
112
+ }
113
+ .slide ol > li:before,
114
+ .slide ul > li:before {
115
+ position:absolute;
116
+ margin-left:-120px;
117
+ width:100px;
118
+ color:#BBB;
119
+ text-align:right;
120
+ }
121
+ .slide ul > li:before {
122
+ content:'\2022'; /* bull */
123
+ line-height:1.1;
124
+ font-size:40px;
125
+ }
126
+ .slide ol > li:before {
127
+ counter-increment:list;
128
+ content:counter(list)'.';
129
+ }
130
+
131
+ /* Code */
132
+ .slide pre {
133
+ margin:0 0 45px;
134
+ counter-reset:code;
135
+ white-space:normal;
136
+ }
137
+ .slide pre code {
138
+ display:block;
139
+ padding:0;
140
+ background:none;
141
+ white-space:pre;
142
+ }
143
+ .slide pre code:before {
144
+ position:absolute;
145
+ margin:0 0 0 -120px;
146
+ width:110px;
147
+ color:#BBB;
148
+ text-align:right;
149
+ counter-increment:code;
150
+ content:counter(code, decimal-leading-zero)'.';
151
+ }
152
+ .slide pre mark {
153
+ padding:3px 8px;
154
+ -webkit-border-radius:8px;
155
+ -moz-border-radius:8px;
156
+ border-radius:8px;
157
+ background:#FAFAA2;
158
+ color:#000;
159
+ font-style:normal;
160
+ }
161
+ .slide pre .important {
162
+ background:#C00;
163
+ color:#FFF;
164
+ font-weight:normal;
165
+ }
166
+ .slide pre .comment {
167
+ padding:0;
168
+ background:none;
169
+ color:#888;
170
+ }
171
+
172
+ /* Cover */
173
+ .slide.cover section {
174
+ background:#000;
175
+ overflow:hidden;
176
+ }
177
+ .slide.cover section:before {
178
+ display:none;
179
+ }
180
+ .slide.cover img,
181
+ .slide.cover svg,
182
+ .slide.cover video,
183
+ .slide.cover object {
184
+ position:absolute;
185
+ top:0;
186
+ left:50%;
187
+ z-index:-1;
188
+ height:100%;
189
+ -webkit-transform:translateX(-50%);
190
+ -moz-transform:translateX(-50%);
191
+ -ms-transform:translateX(-50%);
192
+ -o-transform:translateX(-50%);
193
+ transform:translateX(-50%);
194
+ }
195
+ .slide.cover.w img,
196
+ .slide.cover.w svg,
197
+ .slide.cover.w video,
198
+ .slide.cover.w object {
199
+ top:50%;
200
+ left:0;
201
+ width:100%;
202
+ height:auto;
203
+ -webkit-transform:translateY(-50%);
204
+ -moz-transform:translateY(-50%);
205
+ -ms-transform:translateY(-50%);
206
+ -o-transform:translateY(-50%);
207
+ transform:translateY(-50%);
208
+ }
209
+
210
+ /* Shout */
211
+ .slide.shout section:before {
212
+ display:none;
213
+ }
214
+ .slide.shout h2 {
215
+ position:absolute;
216
+ top:50%;
217
+ left:0;
218
+ width:100%;
219
+ text-align:center;
220
+ line-height:1;
221
+ font-size:150px;
222
+ -webkit-transform:translateY(-50%);
223
+ -moz-transform:translateY(-50%);
224
+ -ms-transform:translateY(-50%);
225
+ -o-transform:translateY(-50%);
226
+ transform:translateY(-50%);
227
+ }
228
+ .slide.shout h2 a[target=_blank] {
229
+ margin:0;
230
+ }
231
+ .slide.shout h2 a[target=_blank]:after {
232
+ content:'';
233
+ }
234
+
235
+ /* Middle */
236
+ .middle {
237
+ position:absolute;
238
+ top:50%;
239
+ left:50%;
240
+ -webkit-transform:translate(-50%, -50%);
241
+ -moz-transform:translate(-50%, -50%);
242
+ -ms-transform:translate(-50%, -50%);
243
+ -o-transform:translate(-50%, -50%);
244
+ transform:translate(-50%, -50%);
245
+ }
246
+
247
+ /* List
248
+ ---------------------------------------- */
249
+ .list {
250
+ float:left;
251
+ padding:80px 0 80px 100px;
252
+ background:#585A5E url(../images/linen.png);
253
+ }
254
+
255
+ /* Caption */
256
+ .list .caption {
257
+ color:#3C3D40;
258
+ text-shadow:0 1px 1px #8D8E90;
259
+ }
260
+ .list .caption h1 {
261
+ font:bold 50px/1 'PT Sans Narrow', sans-serif;
262
+ }
263
+ .list .caption a {
264
+ color:#4B86C2;
265
+ text-shadow:0 -1px 1px #1F3F60;
266
+ text-decoration:none;
267
+ }
268
+ .list .caption a:hover {
269
+ color:#5ca4ed;
270
+ }
271
+
272
+ /* Slide */
273
+ .list .slide {
274
+ position:relative;
275
+ float:left;
276
+ margin:0 50px 0 0;
277
+ padding:80px 0 0;
278
+ }
279
+ .list .slide:after {
280
+ position:absolute;
281
+ bottom:-45px;
282
+ left:60px;
283
+ color:#3C3D40;
284
+ text-shadow:0 1px 1px #8D8E90;
285
+ line-height:1;
286
+ font-weight:bold;
287
+ font-size:25px;
288
+ }
289
+ .list .slide:target:after {
290
+ text-shadow:0 -1px 1px #1F3F60;
291
+ color:#4B86C2;
292
+ }
293
+ .list .slide > div {
294
+ position:relative;
295
+ overflow:hidden;
296
+ width:512px;
297
+ height:320px;
298
+ box-shadow:0 0 50px #3C3D40;
299
+ border-radius:1px;
300
+ background:rgba(0, 0, 0, 0.3);
301
+ }
302
+ .list .slide > div:hover {
303
+ box-shadow:
304
+ 0 0 0 10px rgba(60, 61, 64, 0.6),
305
+ 0 0 50px #3C3D40;
306
+ }
307
+ .list .slide:target > div {
308
+ box-shadow:
309
+ 0 0 0 1px #305F8D,
310
+ 0 0 0 10px #3C7CBD,
311
+ 0 0 50px #3C3D40;
312
+ }
313
+ .list .slide section {
314
+ -webkit-transform-origin:0 0;
315
+ -webkit-transform:scale(0.5);
316
+ -moz-transform-origin:0 0;
317
+ -moz-transform:scale(0.5);
318
+ -ms-transform-origin:0 0;
319
+ -ms-transform:scale(0.5);
320
+ -o-transform-origin:0 0;
321
+ -o-transform:scale(0.5);
322
+ transform-origin:0 0;
323
+ transform:scale(0.5);
324
+ }
325
+ .list .slide section:after {
326
+ position:absolute;
327
+ top:0;
328
+ right:0;
329
+ bottom:0;
330
+ left:0;
331
+ content:'';
332
+ }
333
+
334
+ /* Small */
335
+ @media all and (max-width:1274px) {
336
+ .list .slide:after {
337
+ left:30px;
338
+ }
339
+ .list .slide > div {
340
+ width:256px;
341
+ height:160px;
342
+ }
343
+ .list .slide section {
344
+ -webkit-transform:scale(0.25);
345
+ -moz-transform:scale(0.25);
346
+ -ms-transform:scale(0.25);
347
+ -o-transform:scale(0.25);
348
+ transform:scale(0.25);
349
+ }
350
+ }
351
+
352
+ /* Full
353
+ ---------------------------------------- */
354
+ .full {
355
+ position:absolute;
356
+ top:50%;
357
+ left:50%;
358
+ overflow:hidden;
359
+ margin:-320px 0 0 -512px;
360
+ width:1024px;
361
+ height:640px;
362
+ background:#000;
363
+ }
364
+ .full .caption {
365
+ display:none;
366
+ }
367
+ .full .slide {
368
+ position:absolute;
369
+ visibility:hidden;
370
+ }
371
+ .full .slide:target {
372
+ visibility:visible;
373
+ }
374
+ .full .slide:after {
375
+ position:absolute;
376
+ bottom:85px;
377
+ left:120px;
378
+ color:#BBB;
379
+ line-height:1;
380
+ }
381
+ .full .slide section {
382
+ -webkit-transform:scale(1);
383
+ -moz-transform:scale(1);
384
+ -ms-transform:scale(1);
385
+ -o-transform:scale(1);
386
+ transform:scale(1);
387
+ }
388
+ .full .slide.cover {
389
+ z-index:1;
390
+ }
391
+ .full .slide.cover:after,
392
+ .full .slide.shout:after {
393
+ content:'';
394
+ }
395
+
396
+ /* Progress */
397
+ .full .progress {
398
+ position:absolute;
399
+ right:118px;
400
+ bottom:49px;
401
+ left:118px;
402
+ border-radius:7px;
403
+ border:2px solid rgba(255, 255, 255, 0.2);
404
+ }
405
+ .full .progress DIV {
406
+ width:0;
407
+ height:10px;
408
+ border-radius:5px;
409
+ background:rgba(177, 177, 177, 0.4);
410
+ -webkit-transition:width 0.2s linear;
411
+ -moz-transition:width 0.2s linear;
412
+ -ms-transition:width 0.2s linear;
413
+ -o-transition:width 0.2s linear;
414
+ transition:width 0.2s linear;
415
+ }
416
+ .full .progress-off {
417
+ z-index:1;
418
+ }
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 120">
3
+ <polygon fill="#CC0000" points="0,0 40,0 40,120 20,100 0,120"/>
4
+ </svg>
@@ -0,0 +1,35 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=1274, user-scalable=no">
6
+ <title><%= meta.title %></title>
7
+ <link rel="stylesheet" href="css/style.css">
8
+ <link rel="stylesheet" href="css/pygments/colorful.css">
9
+ <% meta.css.each do |css| %>
10
+ <link rel="stylesheet" href="<%= css%>">
11
+ <% end %>
12
+ </head>
13
+ <body class="list">
14
+ <header class="caption">
15
+ <h1><%= meta.title %></h1>
16
+ </header>
17
+ <% sections.each do |section| %>
18
+ <% section.slides.each do |slide| %>
19
+ <div id="slide-<%= section.number %>-<%= slide.number%>" class="slide <%= slide.classes %>">
20
+ <div><section>
21
+ <header>
22
+ <h2><%= slide.extract_title %></h2>
23
+ </header>
24
+ <%= slide.html %>
25
+ </section></div>
26
+ </div>
27
+ <% end %>
28
+ <% end %>
29
+ <div class="progress"><div></div></div>
30
+ <% (theme.js + meta.js).each do |js| %>
31
+ <script src="<%= js %>"></script>
32
+ <% end %>
33
+ <!-- Copyright © 2010–2011 Vadim Makeev, http://pepelsbey.net/ -->
34
+ </body>
35
+ </html>