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,89 @@
1
+ @import 'defaults';
2
+
3
+ .box {
4
+ color: white;
5
+ margin-bottom: 28px;
6
+ div {
7
+ margin: 0;
8
+ padding: 1px 15px;
9
+ font-size: 26px;
10
+ background-color: $grayLight;
11
+ &.box-header {
12
+ font-size: 30px;
13
+ background-color: $grayDark;
14
+ &:not(:first-child) {
15
+ text-indent: 0.5em;
16
+ }
17
+ }
18
+ &:first-child {
19
+ @extend .box-header;
20
+ border-top-right-radius: 3px;
21
+ border-top-left-radius: 3px;
22
+ }
23
+ &:last-child {
24
+ border-bottom-right-radius: 3px;
25
+ border-bottom-left-radius: 3px;
26
+ }
27
+ }
28
+
29
+ ul, ol {
30
+ margin: 0;
31
+ background-color: $grayLight;
32
+ ol, ul { // inner list
33
+ margin:0 0 0 2em;
34
+ }
35
+ li {
36
+ color: white;
37
+ text-indent: 0em;
38
+ margin-left: 0;
39
+ background-color: $grayLight;
40
+ &:before {
41
+ color: white;
42
+ }
43
+ }
44
+ }
45
+
46
+ code {
47
+ color: white;
48
+ background-color: rgba(#000, 0.33);
49
+ padding: 0px 0.3em;
50
+ font-size: 1.1em;
51
+ }
52
+ }
53
+
54
+ @mixin box($headerColor, $contentColor) {
55
+ div {
56
+ background-color: $contentColor;
57
+ &.box-header {
58
+ background-color: $headerColor;
59
+ }
60
+ &:first-child {
61
+ @extend .box-header;
62
+ }
63
+ }
64
+ ul, ol {
65
+ background-color: $contentColor;
66
+ li {
67
+ background-color: $contentColor;
68
+ }
69
+ }
70
+ }
71
+
72
+ .box-bluegreen, .box-success {
73
+ @include box($bluegreenDark, $bluegreenLight);
74
+ }
75
+ .box-green, .box-example {
76
+ @include box($greenDark, $greenLight);
77
+ }
78
+ .box-red, .box-alert {
79
+ @include box($redDark, $redLight);
80
+ }
81
+ .box-blue, .box-info {
82
+ @include box($blueDark, $blueLight);
83
+ }
84
+ .box-purple {
85
+ @include box($purpleDark, $purpleLight);
86
+ }
87
+ .box-warning, .box-orange {
88
+ @include box($orangeDark, $orangeLight);
89
+ }
@@ -0,0 +1,81 @@
1
+ &.cover {
2
+ figure {
3
+ position: initial;
4
+ max-height: initial;
5
+ text-align: initial;
6
+ vertical-align: initial;
7
+
8
+ img {
9
+ max-height: initial;
10
+ }
11
+ }
12
+ }
13
+
14
+ figure {
15
+ position: relative;
16
+ max-height: 450px;
17
+ text-align: right;
18
+ vertical-align: bottom;
19
+
20
+ img {
21
+ max-height: 100%;
22
+ }
23
+
24
+ figcaption {
25
+ font: 9px 'Open Sans', sans-serif;
26
+ position: absolute;
27
+ float: right;
28
+ bottom: 1em;
29
+ right: 0;
30
+ padding: 1px 3px;
31
+ background: rgba(#000, 0.66);
32
+ color: rgba(#FFF, 0.66);
33
+
34
+ > * {
35
+ vertical-align: middle;
36
+ line-height: 16px;
37
+ float: left;
38
+ margin-left: 3px;
39
+ &:first-child {
40
+ margin-left: 0px;
41
+ }
42
+ &:last-child:after {
43
+ display: table;
44
+ content: '';
45
+ }
46
+ }
47
+
48
+ .flickr {
49
+ background-image: url(../images/flickr.svg);
50
+ background-size: 15px;
51
+ height: 15px;
52
+ width: 15px;
53
+ }
54
+ .license {
55
+ vertical-align: middle;
56
+ $licenseSize: 12px;
57
+ display: inline-block;
58
+ height: 14px;
59
+ width: 14px;
60
+ background-size: $licenseSize;
61
+ background-repeat: no-repeat;
62
+
63
+ @each $license in cc by nc nd sa pd {
64
+ &.license-#{$license} {
65
+ background-image:url('../images/cc/#{$license}.svg');
66
+ }
67
+ }
68
+ &.license-cc:hover {
69
+ background-image:url(../images/cc/cc-white.svg);
70
+ }
71
+ }
72
+ a {
73
+ border: none;
74
+ color: rgba(#FFF, 0.66);
75
+
76
+ &:hover {
77
+ color: #FFF;
78
+ }
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,74 @@
1
+ .full {
2
+ position:absolute;
3
+ top:50%;
4
+ left:50%;
5
+ overflow:hidden;
6
+ margin:(-$height/2) 0 0 (-$width/2);
7
+ width:$width;
8
+ height:$height;
9
+ background:#000;
10
+ &.wide-layout {
11
+ margin:(-$height/2) 0 0 (-$width/2);
12
+ width:$width;
13
+ height:$height;
14
+ }
15
+ // Slide
16
+ .slide {
17
+ position:absolute;
18
+ top:0;
19
+ left:0;
20
+ margin-left:150%;
21
+ // Next
22
+ .next {
23
+ visibility:hidden;
24
+ &.active {
25
+ visibility:visible;
26
+ }
27
+ }
28
+ // Current
29
+ &:target {
30
+ margin:0;
31
+ }
32
+ // Shout
33
+ &.shout {
34
+ &.right, &.up, &.left, &.down {
35
+ h1, h2 {
36
+ opacity:0;
37
+ transition:all 0.7s ease-out;
38
+ }
39
+ &:target h2 {
40
+ opacity:1;
41
+ -webkit-transform:translateX(0) translateY(-50%);
42
+ transform:translateX(0) translateY(-50%);
43
+ }
44
+ }
45
+ &.right h2 {
46
+ -webkit-transform:translateX(-100%) translateY(-50%);
47
+ transform:translateX(-100%) translateY(-50%);
48
+ }
49
+ &.left h2 {
50
+ -webkit-transform:translateX(100%) translateY(-50%);
51
+ transform:translateX(100%) translateY(-50%);
52
+ }
53
+ &.up h2 {
54
+ -webkit-transform:translateX(0) translateY(100%);
55
+ transform:translateX(0) translateY(100%);
56
+ }
57
+ &.down h2 {
58
+ -webkit-transform:translateX(0) translateY(-100%);
59
+ transform:translateX(0) translateY(-100%);
60
+ }
61
+ }
62
+ }
63
+ @import 'increment';
64
+ @import 'progress';
65
+
66
+ .box.shadow {
67
+ box-shadow: 5px 5px 15px rgba(#000, 0.25);
68
+ border-radius: 3px;
69
+ }
70
+
71
+ .disabled {
72
+ display: none;
73
+ }
74
+ }
@@ -0,0 +1,38 @@
1
+ .inactive, .current {
2
+ -webkit-transition: opacity 0.5s ease-in-out 0.0s;
3
+ }
4
+ .inactive {
5
+ opacity: 0;
6
+ }
7
+ .visited {
8
+ -webkit-transition: opacity 0.5s ease-in-out 0.3s;
9
+ .hide-visited {
10
+ display: none;
11
+ }
12
+ &.hide-visited {
13
+ display: none;
14
+ }
15
+ }
16
+
17
+ .hover li.visited {
18
+ opacity: 0.5;
19
+ }
20
+ li.current {
21
+ opacity: 1;
22
+ //color: $color;
23
+ //font-weight: bold;
24
+ &:before {
25
+ content:'\2023\00A0\00A0\2009';
26
+ }
27
+ }
28
+ .border-separated {
29
+ li {
30
+ -webkit-transition: all 0.5s;
31
+ }
32
+ li.inactive {
33
+ margin-left: -400px;
34
+ }
35
+ li.current, li.visited {
36
+ margin-left: 0;
37
+ }
38
+ }
@@ -0,0 +1,129 @@
1
+ .list {
2
+ position:absolute;
3
+ clip:rect(0, auto, auto, 0); // Having fun with IE10
4
+ padding:50px 0 50px 50px;
5
+ background:#E2E2E2 url(../images/mesh.png) 50% 0;
6
+ text-align:center;
7
+ @include retina {
8
+ background-image:url(../images/mesh@2x.png);
9
+ background-size:256px;
10
+ }
11
+ // Outfit
12
+ .caption,
13
+ .badge {
14
+ display:block;
15
+ }
16
+ // Slide
17
+ .slide {
18
+ // Gap between slides
19
+ $gap:50px;
20
+ position:relative;
21
+ top:$height/2 - $gap;
22
+ display:inline-block;
23
+ margin:($gap - $height/2) ($gap - $width/2) 0 0;
24
+ text-align:left;
25
+ -webkit-transform-origin:0 0;
26
+ transform-origin:0 0;
27
+ -webkit-transform:scale(0.5);
28
+ transform:scale(0.5);
29
+ @media (max-width:$break) {
30
+ top:$height/2 + $height/4 - $gap;
31
+ margin:($gap - ($height/2 + $height/4)) ($gap - ($width/2 + $width/4)) 0 0;
32
+ -webkit-transform:scale(0.25);
33
+ transform:scale(0.25);
34
+ }
35
+ // Frame
36
+ &:before {
37
+ position:absolute;
38
+ top:0;
39
+ left:0;
40
+ z-index:-1;
41
+ width:$width/2;
42
+ height:$height/2;
43
+ box-shadow:0 0 0 1px #DDD;
44
+ content:'';
45
+ -webkit-transform-origin:0 0;
46
+ transform-origin:0 0;
47
+ -webkit-transform:scale(2);
48
+ transform:scale(2);
49
+ @media (max-width:$break) {
50
+ width:$width/4;
51
+ height:$height/4;
52
+ -webkit-transform:scale(4);
53
+ transform:scale(4);
54
+ }
55
+ }
56
+ // Number
57
+ &:after {
58
+ top:100%;
59
+ bottom:auto;
60
+ padding-top:50px;
61
+ @media (max-width:$break) {
62
+ width:$width/2;
63
+ -webkit-transform-origin:0 0;
64
+ transform-origin:0 0;
65
+ -webkit-transform:scale(2);
66
+ transform:scale(2);
67
+ }
68
+ }
69
+ // Hover
70
+ &:hover:before {
71
+ box-shadow:
72
+ 0 0 0 1px #EEE,
73
+ 0 0 0 12px rgba(#FFF, 0.5);
74
+ }
75
+ // Current
76
+ &:target {
77
+ &:before {
78
+ box-shadow:
79
+ 0 0 10px 0 darken($color, 5%),
80
+ 0 0 0 12px $color;
81
+ }
82
+ &:after {
83
+ color:$color;
84
+ }
85
+ }
86
+ // Inner
87
+ > div {
88
+ &:before {
89
+ position:absolute;
90
+ top:0;
91
+ right:0;
92
+ bottom:0;
93
+ left:0;
94
+ z-index:2;
95
+ content:'';
96
+ }
97
+ }
98
+ // Cover Shout
99
+ &.cover,
100
+ &.shout {
101
+ &:after {
102
+ content:counter(slide) '/' attr(data-slides);
103
+ }
104
+ }
105
+ &.disabled {
106
+ opacity: 0.8;
107
+ -webkit-filter: grayscale(100%);
108
+ &:before {
109
+ content: '';
110
+ position: absolute;
111
+ /* opacity: 0.1; */
112
+ top: 0;
113
+ bottom: 0;
114
+ left: 0;
115
+ right: 0;
116
+ text-align: center;
117
+ /* vertical-align: middle; */
118
+ line-height: 310px;
119
+ font-size: 100px;
120
+ color: #F5F5F5;
121
+ background: rgba(#FFF, 0.4);
122
+ z-index: 1;
123
+ /* -webkit-transform: rotate(45deg); */
124
+ text-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
125
+ text-transform: uppercase;
126
+ }
127
+ }
128
+ }
129
+ }
@@ -0,0 +1,19 @@
1
+ .progress {
2
+ position:absolute;
3
+ right:0;
4
+ bottom:0;
5
+ left:0;
6
+ z-index:1;
7
+ div {
8
+ position:absolute;
9
+ left:0;
10
+ bottom:0;
11
+ width:0;
12
+ height:8px;
13
+ padding-left: -10px;
14
+ background:url(../images/progress-grayDark.svg) 100% 0 no-repeat;
15
+ -webkit-background-clip: content-box;
16
+ background-clip: content-box;
17
+ transition:width 0.3s linear;
18
+ }
19
+ }
@@ -0,0 +1,46 @@
1
+ // Bright theme for Shower HTML presentation engine: github.com/shower/shower
2
+ // Copyright © 2010–2013 Vadim Makeev, pepelsbey.net
3
+ // Licensed under MIT license: github.com/shower/shower/wiki/MIT-License
4
+
5
+ // Layout
6
+ $width:1024px; // Slide width, permanent in most cases
7
+ $height:768px; // Slide height, 640px for 16:10, 768px for 4:3
8
+ $ratio:'4x3'; // Available options: '16x10' or '4x3'
9
+ $top:60px; // Top padding above slide content
10
+ $left:78px; // Left slide content padding
11
+ $right:96px; // Right slide content padding
12
+ $bottom:38px; // Bottom slide content padding
13
+ $break:1180px; // Window width for small thumbnails to appear
14
+
15
+ // Colors
16
+
17
+ $grayDark:#46413C;
18
+ $grayLight:#AAA5A0;
19
+ $redDark:#96000F;
20
+ $redLight:#E10019;
21
+ $blueDark: #327D91;
22
+ $blueLight:#4BBEE1;
23
+ $purpleDark:#560F32;
24
+ $purpleLight:#821350;
25
+ $bluegreenDark:#006450;
26
+ $bluegreenLight:#009682;
27
+ $greenDark:#697D19;
28
+ $greenLight:#9BC328;
29
+ $orangeDark:#AA5500;
30
+ $orangeLight:#FF8200;
31
+
32
+ $color:$grayDark;
33
+ $colorCode:#E6E6E6;
34
+ $gray:$grayDark;
35
+ $borderColor:lightgray;
36
+ $black1:#515151;
37
+ $black2:darkgray;
38
+ $linkColor:$blueDark;
39
+ $listItemColor:$grayLight;
40
+
41
+ // Mixins
42
+ @mixin retina {
43
+ @media (-webkit-min-device-pixel-ratio:2), (min-resolution:192dpi) {
44
+ @content;
45
+ }
46
+ }
@@ -0,0 +1,197 @@
1
+ // Bright theme for Shower HTML presentation engine: github.com/shower/shower
2
+ // Copyright © 2010–2013 Vadim Makeev, pepelsbey.net
3
+ // Licensed under MIT license: github.com/shower/shower/wiki/MIT-License
4
+
5
+ // Yanone Kaffeesatz
6
+ @font-face {
7
+ font-family: 'Yanone Kaffeesatz';
8
+ font-style: normal;
9
+ font-weight: 200;
10
+ src: local('Yanone Kaffeesatz ExtraLight'), local('YanoneKaffeesatz-ExtraLight'), url(../fonts/YanoneKaffeesatz.ExtraLight.woff) format('woff');
11
+ }
12
+ @font-face {
13
+ font-family: 'Yanone Kaffeesatz';
14
+ font-style: normal;
15
+ font-weight: 300;
16
+ src: local('Yanone Kaffeesatz Light'), local('YanoneKaffeesatz-Light'), url(../fonts/YanoneKaffeesatz.Light.woff) format('woff');
17
+ }
18
+ @font-face {
19
+ font-family: 'Yanone Kaffeesatz';
20
+ font-style: normal;
21
+ font-weight: 400;
22
+ src: local('Yanone Kaffeesatz Regular'), local('YanoneKaffeesatz-Regular'), url(../fonts/YanoneKaffeesatz.Regular.woff) format('woff');
23
+ }
24
+ @font-face {
25
+ font-family: 'Yanone Kaffeesatz';
26
+ font-style: normal;
27
+ font-weight: 700;
28
+ src: local('Yanone Kaffeesatz Bold'), local('YanoneKaffeesatz-Bold'), url(../fonts/YanoneKaffeesatz.Bold.woff) format('woff');
29
+ }
30
+
31
+ // Goudy Bookletter
32
+ @font-face {
33
+ font-family:'Goudy Bookletter 1911';
34
+ src:url(../fonts/GoudyBookletter.1911.woff) format('woff');
35
+ }
36
+
37
+ // Raleway
38
+ @font-face {
39
+ font-family:'Raleway';
40
+ src:url(../fonts/Raleway.Thin.woff) format('woff');
41
+ }
42
+
43
+ // Juction
44
+ @font-face {
45
+ font-family:'Junction';
46
+ src:url(../fonts/Junction.woff) format('woff');
47
+ }
48
+
49
+ // Open Sans WOFF
50
+ @font-face {
51
+ font-family:'Open Sans';
52
+ src:url(../fonts/OpenSans.Regular.woff) format('woff');
53
+ }
54
+ @font-face {
55
+ font-weight:700;
56
+ font-family:'Open Sans';
57
+ src:url(../fonts/OpenSans.Bold.woff) format('woff');
58
+ }
59
+ @font-face {
60
+ font-weight:700;
61
+ font-style:italic;
62
+ font-family:'Open Sans';
63
+ src:url(../fonts/OpenSans.BoldItalic.woff) format('woff');
64
+ }
65
+ @font-face {
66
+ font-weight:600;
67
+ font-family:'Open Sans';
68
+ src:url(../fonts/OpenSans.Semibold.woff) format('woff');
69
+ }
70
+ @font-face {
71
+ font-weight:600;
72
+ font-style:italic;
73
+ font-family:'Open Sans';
74
+ src:url(../fonts/OpenSans.SemiboldItalic.woff) format('woff');
75
+ }
76
+ @font-face {
77
+ font-weight:800;
78
+ font-family:'Open Sans';
79
+ src:url(../fonts/OpenSans.ExtraBold.woff) format('woff');
80
+ }
81
+ @font-face {
82
+ font-weight:800;
83
+ font-style:italic;
84
+ font-family:'Open Sans';
85
+ src:url(../fonts/OpenSans.ExtraBoldItalic.woff) format('woff');
86
+ }
87
+ @font-face {
88
+ font-style:italic;
89
+ font-family:'Open Sans';
90
+ src:url(../fonts/OpenSans.Italic.woff) format('woff');
91
+ }
92
+ @font-face {
93
+ font-weight:300;
94
+ font-family:'Open Sans';
95
+ src:url(../fonts/OpenSans.Light.woff) format('woff');
96
+ }
97
+ @font-face {
98
+ font-family:'Open Sans Light';
99
+ src:url(../fonts/OpenSans.Light.woff) format('woff');
100
+ }
101
+ @font-face {
102
+ font-weight:300;
103
+ font-style:italic;
104
+ font-family:'Open Sans';
105
+ src:url(../fonts/OpenSans.LightItalic.woff) format('woff');
106
+ }
107
+
108
+ /* PTSans */
109
+ @font-face {
110
+ font-family:'PT Sans';
111
+ src:local('PT Sans'), local('PTSansRegular'),
112
+ url(../fonts/PTSans.woff) format('woff');
113
+ }
114
+ @font-face {
115
+ font-weight:bold;
116
+ font-family:'PT Sans';
117
+ src:local('PT Sans Bold'), local('PTSansBold'),
118
+ url(../fonts/PTSans.Bold.woff) format('woff');
119
+ }
120
+ @font-face {
121
+ font-style:italic;
122
+ font-family:'PT Sans';
123
+ src:local('PT Sans Italic'), local('PTSansItalic'),
124
+ url(../fonts/PTSans.Italic.woff) format('woff');
125
+ }
126
+ @font-face {
127
+ font-style:italic;
128
+ font-weight:bold;
129
+ font-family:'PT Sans';
130
+ src:local('PT Sans Bold Italic'), local('PTSansBoldItalic'),
131
+ url(../fonts/PTSans.Bold.Italic.woff) format('woff');
132
+ }
133
+ @font-face {
134
+ font-family:'PT Sans Narrow';
135
+ src:local('PT Sans Narrow'), local('PTSansNarrow'),
136
+ url(../fonts/PTSans.Narrow.woff) format('woff');
137
+ }
138
+ @font-face {
139
+ font-family:'PT Sans Narrow';
140
+ font-weight:bold;
141
+ src:local('PT Sans Narrow Bold'), local('PTSansNarrowBold'),
142
+ url(../fonts/PTSans.Narrow.Bold.woff) format('woff');
143
+ }
144
+
145
+ /* PT Mono */
146
+ @font-face {
147
+ font-family:'PT Mono';
148
+ src:local('PT Mono'), local('PTMonoRegular'),
149
+ url(../fonts/PTMono.woff) format('woff');
150
+ }
151
+
152
+ /* Linker */
153
+ @font-face {
154
+ font-family:'Target Blank';
155
+ src:url(../fonts/TargetBlank.otf) format('opentype'),
156
+ url(../fonts/TargetBlank.svg#TargetBlank) format('svg');
157
+ }
158
+
159
+ /* Inconcolata */
160
+ @font-face {
161
+ font-family: 'Inconsolata';
162
+ font-style: normal;
163
+ font-weight: 400;
164
+ src:local('Inconsolata'),
165
+ url(../fonts/Inconsolata.woff) format('woff');
166
+ }
167
+ @font-face {
168
+ font-family: 'Inconsolata';
169
+ font-style: normal;
170
+ font-weight: 700;
171
+ src:local('Inconsolata Bold'), local('Inconsolata-Bold'),
172
+ url(../fonts/Inconsolata.Bold.woff) format('woff');
173
+ }
174
+
175
+ // STIX Math
176
+ @font-face {
177
+ font-family:'Stix';
178
+ src:url(../fonts/STIXGeneral.Regular.woff) format('woff');
179
+ }
180
+ @font-face {
181
+ font-family:'Stix';
182
+ font-style: normal;
183
+ font-weight: bold;
184
+ src:url(../fonts/STIXGeneral.Bold.woff) format('woff');
185
+ }
186
+ @font-face {
187
+ font-family:'Stix';
188
+ font-style: italic;
189
+ font-weight: bold;
190
+ src:url(../fonts/STIXGeneral.BoldItalic.woff) format('woff');
191
+ }
192
+ @font-face {
193
+ font-family:'Stix';
194
+ font-style: italic;
195
+ src:url(../fonts/STIXGeneral.Italic.woff) format('woff');
196
+ }
197
+