deckr 0.1.0

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 (89) hide show
  1. data/Gemfile +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +29 -0
  4. data/Rakefile +9 -0
  5. data/bin/deckr +3 -0
  6. data/lib/deckr.rb +7 -0
  7. data/lib/deckr/cli.rb +22 -0
  8. data/lib/deckr/deck.rb +64 -0
  9. data/lib/deckr/package.rb +22 -0
  10. data/lib/deckr/resource.rb +37 -0
  11. data/lib/deckr/templates/Gemfile +5 -0
  12. data/lib/deckr/templates/config.ru +12 -0
  13. data/lib/deckr/templates/deck/GPL-license.txt +278 -0
  14. data/lib/deckr/templates/deck/MIT-license.txt +21 -0
  15. data/lib/deckr/templates/deck/README.md +64 -0
  16. data/lib/deckr/templates/deck/boilerplate.html +96 -0
  17. data/lib/deckr/templates/deck/core/deck.core.css +407 -0
  18. data/lib/deckr/templates/deck/core/deck.core.js +498 -0
  19. data/lib/deckr/templates/deck/core/deck.core.scss +450 -0
  20. data/lib/deckr/templates/deck/extensions/goto/deck.goto.css +41 -0
  21. data/lib/deckr/templates/deck/extensions/goto/deck.goto.html +7 -0
  22. data/lib/deckr/templates/deck/extensions/goto/deck.goto.js +170 -0
  23. data/lib/deckr/templates/deck/extensions/goto/deck.goto.scss +46 -0
  24. data/lib/deckr/templates/deck/extensions/hash/deck.hash.css +13 -0
  25. data/lib/deckr/templates/deck/extensions/hash/deck.hash.html +2 -0
  26. data/lib/deckr/templates/deck/extensions/hash/deck.hash.js +142 -0
  27. data/lib/deckr/templates/deck/extensions/hash/deck.hash.scss +15 -0
  28. data/lib/deckr/templates/deck/extensions/menu/deck.menu.css +47 -0
  29. data/lib/deckr/templates/deck/extensions/menu/deck.menu.js +187 -0
  30. data/lib/deckr/templates/deck/extensions/menu/deck.menu.scss +58 -0
  31. data/lib/deckr/templates/deck/extensions/navigation/deck.navigation.css +43 -0
  32. data/lib/deckr/templates/deck/extensions/navigation/deck.navigation.html +3 -0
  33. data/lib/deckr/templates/deck/extensions/navigation/deck.navigation.js +92 -0
  34. data/lib/deckr/templates/deck/extensions/navigation/deck.navigation.scss +56 -0
  35. data/lib/deckr/templates/deck/extensions/scale/deck.scale.css +28 -0
  36. data/lib/deckr/templates/deck/extensions/scale/deck.scale.js +170 -0
  37. data/lib/deckr/templates/deck/extensions/scale/deck.scale.scss +31 -0
  38. data/lib/deckr/templates/deck/extensions/status/deck.status.css +18 -0
  39. data/lib/deckr/templates/deck/extensions/status/deck.status.html +6 -0
  40. data/lib/deckr/templates/deck/extensions/status/deck.status.js +95 -0
  41. data/lib/deckr/templates/deck/extensions/status/deck.status.scss +22 -0
  42. data/lib/deckr/templates/deck/introduction/index.html +215 -0
  43. data/lib/deckr/templates/deck/jquery-1.7.2.min.js +4 -0
  44. data/lib/deckr/templates/deck/modernizr.custom.js +4 -0
  45. data/lib/deckr/templates/deck/test/fixtures/complex.html +24 -0
  46. data/lib/deckr/templates/deck/test/fixtures/empty.html +19 -0
  47. data/lib/deckr/templates/deck/test/fixtures/iframe_simple.html +10 -0
  48. data/lib/deckr/templates/deck/test/fixtures/iframes.html +32 -0
  49. data/lib/deckr/templates/deck/test/fixtures/nesteds.html +36 -0
  50. data/lib/deckr/templates/deck/test/fixtures/standard.html +42 -0
  51. data/lib/deckr/templates/deck/test/index.html +39 -0
  52. data/lib/deckr/templates/deck/test/lib/jasmine-html.js +190 -0
  53. data/lib/deckr/templates/deck/test/lib/jasmine-jquery.js +288 -0
  54. data/lib/deckr/templates/deck/test/lib/jasmine.css +166 -0
  55. data/lib/deckr/templates/deck/test/lib/jasmine.js +2477 -0
  56. data/lib/deckr/templates/deck/test/settings.js +3 -0
  57. data/lib/deckr/templates/deck/test/spec.core.js +436 -0
  58. data/lib/deckr/templates/deck/test/spec.goto.js +142 -0
  59. data/lib/deckr/templates/deck/test/spec.hash.js +81 -0
  60. data/lib/deckr/templates/deck/test/spec.menu.js +66 -0
  61. data/lib/deckr/templates/deck/test/spec.navigation.js +51 -0
  62. data/lib/deckr/templates/deck/test/spec.scale.js +57 -0
  63. data/lib/deckr/templates/deck/test/spec.status.js +58 -0
  64. data/lib/deckr/templates/deck/themes/style/neon.css +123 -0
  65. data/lib/deckr/templates/deck/themes/style/neon.scss +155 -0
  66. data/lib/deckr/templates/deck/themes/style/swiss.css +84 -0
  67. data/lib/deckr/templates/deck/themes/style/swiss.scss +107 -0
  68. data/lib/deckr/templates/deck/themes/style/web-2.0.css +214 -0
  69. data/lib/deckr/templates/deck/themes/style/web-2.0.scss +250 -0
  70. data/lib/deckr/templates/deck/themes/transition/fade.css +43 -0
  71. data/lib/deckr/templates/deck/themes/transition/fade.scss +69 -0
  72. data/lib/deckr/templates/deck/themes/transition/horizontal-slide.css +76 -0
  73. data/lib/deckr/templates/deck/themes/transition/horizontal-slide.scss +90 -0
  74. data/lib/deckr/templates/deck/themes/transition/vertical-slide.css +94 -0
  75. data/lib/deckr/templates/deck/themes/transition/vertical-slide.scss +112 -0
  76. data/lib/deckr/templates/views/index.slim +13 -0
  77. data/lib/deckr/templates/views/layout.slim +48 -0
  78. data/lib/deckr/version.rb +3 -0
  79. data/lib/rack/deckr.rb +31 -0
  80. data/lib/sinatra/deckr.rb +17 -0
  81. data/spec/deck_spec.rb +118 -0
  82. data/spec/fixtures/foo.txt +1 -0
  83. data/spec/fixtures/foo/bar.txt +1 -0
  84. data/spec/package_spec.rb +45 -0
  85. data/spec/rack/deckr_spec.rb +38 -0
  86. data/spec/resource_spec.rb +62 -0
  87. data/spec/sinatra/deckr_spec.rb +32 -0
  88. data/spec/spec_helper.rb +27 -0
  89. metadata +161 -0
@@ -0,0 +1,84 @@
1
+ .deck-container {
2
+ font-family: "Helvetica Neue", sans-serif;
3
+ font-size: 1.75em;
4
+ background: #fff;
5
+ }
6
+ .deck-container .slide {
7
+ background: #fff;
8
+ }
9
+ .deck-container .slide h1 {
10
+ color: #000;
11
+ }
12
+ .deck-container .slide h2 {
13
+ color: #c00;
14
+ border-bottom-color: #ccc;
15
+ }
16
+ .deck-container .slide h3 {
17
+ color: #888;
18
+ }
19
+ .deck-container .slide pre {
20
+ border-color: #ccc;
21
+ }
22
+ .deck-container .slide code {
23
+ color: #888;
24
+ }
25
+ .deck-container .slide blockquote {
26
+ font-size: 2em;
27
+ font-style: italic;
28
+ padding: 1em 2em;
29
+ color: #000;
30
+ border-left: 5px solid #ccc;
31
+ }
32
+ .deck-container .slide blockquote p {
33
+ margin: 0;
34
+ }
35
+ .deck-container .slide blockquote cite {
36
+ font-size: .5em;
37
+ font-style: normal;
38
+ font-weight: bold;
39
+ color: #888;
40
+ }
41
+ .deck-container .slide ::-moz-selection {
42
+ background: #c00;
43
+ color: #fff;
44
+ }
45
+ .deck-container .slide ::selection {
46
+ background: #c00;
47
+ color: #fff;
48
+ }
49
+ .deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
50
+ color: #c00;
51
+ text-decoration: none;
52
+ }
53
+ .deck-container .slide a:hover, .deck-container .slide a:focus {
54
+ text-decoration: underline;
55
+ }
56
+ .deck-container > .slide .deck-before, .deck-container > .slide .deck-previous {
57
+ opacity: 0.4;
58
+ }
59
+ .deck-container > .slide .deck-before:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-before:not(.deck-child-current) .deck-previous, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-previous {
60
+ opacity: 1;
61
+ }
62
+ .deck-container > .slide .deck-child-current {
63
+ opacity: 1;
64
+ }
65
+ .deck-container .deck-prev-link, .deck-container .deck-next-link {
66
+ background: #ccc;
67
+ font-family: serif;
68
+ }
69
+ .deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
70
+ color: #fff;
71
+ }
72
+ .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
73
+ background: #c00;
74
+ text-decoration: none;
75
+ }
76
+ .deck-container .deck-status {
77
+ font-size: 0.6666em;
78
+ }
79
+ .deck-container.deck-menu .slide {
80
+ background: #eee;
81
+ }
82
+ .deck-container.deck-menu .deck-current, .no-touch .deck-container.deck-menu .slide:hover {
83
+ background: #ddf;
84
+ }
@@ -0,0 +1,107 @@
1
+ .deck-container {
2
+ font-family: "Helvetica Neue", sans-serif;
3
+ font-size:1.75em;
4
+ background:#fff;
5
+
6
+ .slide {
7
+ background:#fff;
8
+
9
+ h1 {
10
+ color:#000;
11
+ }
12
+
13
+ h2 {
14
+ color:#c00;
15
+ border-bottom-color:#ccc;
16
+ }
17
+
18
+ h3 {
19
+ color:#888;
20
+ }
21
+
22
+ pre {
23
+ border-color:#ccc;
24
+ }
25
+
26
+ code {
27
+ color:#888;
28
+ }
29
+
30
+ blockquote {
31
+ font-size:2em;
32
+ font-style:italic;
33
+ padding:1em 2em;
34
+ color:#000;
35
+ border-left:5px solid #ccc;
36
+
37
+ p {
38
+ margin:0;
39
+ }
40
+
41
+ cite {
42
+ font-size:.5em;
43
+ font-style:normal;
44
+ font-weight:bold;
45
+ color:#888;
46
+ }
47
+ }
48
+
49
+ ::-moz-selection{ background:#c00; color:#fff; }
50
+ ::selection { background:#c00; color:#fff; }
51
+
52
+ a {
53
+ &, &:hover, &:focus, &:active, &:visited {
54
+ color:#c00;
55
+ text-decoration:none;
56
+ }
57
+
58
+ &:hover, &:focus {
59
+ text-decoration:underline;
60
+ }
61
+ }
62
+ }
63
+
64
+ > .slide {
65
+ .deck-before, .deck-previous {
66
+ opacity:0.4;
67
+
68
+ &:not(.deck-child-current) {
69
+ .deck-before, .deck-previous {
70
+ opacity:1;
71
+ }
72
+ }
73
+ }
74
+
75
+ .deck-child-current {
76
+ opacity:1;
77
+ }
78
+ }
79
+
80
+ .deck-prev-link, .deck-next-link {
81
+ background:#ccc;
82
+ font-family:serif; // sans-serif arrows x-browser fail
83
+
84
+ &, &:hover, &:focus, &:active, &:visited {
85
+ color:#fff;
86
+ }
87
+
88
+ &:hover, &:focus {
89
+ background:#c00;
90
+ text-decoration:none;
91
+ }
92
+ }
93
+
94
+ .deck-status {
95
+ font-size:0.6666em;
96
+ }
97
+
98
+ &.deck-menu {
99
+ .slide {
100
+ background:#eee;
101
+ }
102
+
103
+ .deck-current, .no-touch & .slide:hover {
104
+ background:#ddf;
105
+ }
106
+ }
107
+ }
@@ -0,0 +1,214 @@
1
+ @charset "UTF-8";
2
+ .deck-container {
3
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
4
+ font-size: 1.75em;
5
+ background: #f4fafe;
6
+ /* Old browsers */
7
+ background: -moz-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
8
+ /* FF3.6+ */
9
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4fafe), color-stop(100%, #ccf0f0));
10
+ /* Chrome,Safari4+ */
11
+ background: -webkit-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
12
+ /* Chrome10+,Safari5.1+ */
13
+ background: -o-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
14
+ /* Opera11.10+ */
15
+ background: -ms-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
16
+ /* IE10+ */
17
+ background: linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
18
+ /* W3C */
19
+ background-attachment: fixed;
20
+ }
21
+ .deck-container > .slide {
22
+ text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
23
+ }
24
+ .deck-container > .slide .deck-before, .deck-container > .slide .deck-previous {
25
+ opacity: 0.4;
26
+ }
27
+ .deck-container > .slide .deck-before:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-before:not(.deck-child-current) .deck-previous, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-previous {
28
+ opacity: 1;
29
+ }
30
+ .deck-container > .slide .deck-child-current {
31
+ opacity: 1;
32
+ }
33
+ .deck-container .slide h1, .deck-container .slide h2, .deck-container .slide h3, .deck-container .slide h4, .deck-container .slide h5, .deck-container .slide h6 {
34
+ font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
35
+ }
36
+ .deck-container .slide h1 {
37
+ color: #08455f;
38
+ }
39
+ .deck-container .slide h2 {
40
+ color: #0b7495;
41
+ border-bottom: 0;
42
+ }
43
+ .cssreflections .deck-container .slide h2 {
44
+ line-height: 1;
45
+ -webkit-box-reflect: below -0.556em -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.3, transparent), color-stop(0.7, rgba(255, 255, 255, 0.1)), to(transparent));
46
+ -moz-box-reflect: below -0.556em -moz-linear-gradient(top, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.3) 100%);
47
+ }
48
+ .deck-container .slide h3 {
49
+ color: #000;
50
+ }
51
+ .deck-container .slide pre {
52
+ border-color: #cde;
53
+ background: #fff;
54
+ position: relative;
55
+ z-index: auto;
56
+ /* http://nicolasgallagher.com/css-drop-shadows-without-images/ */
57
+ }
58
+ .borderradius .deck-container .slide pre {
59
+ -webkit-border-radius: 5px;
60
+ -moz-border-radius: 5px;
61
+ border-radius: 5px;
62
+ }
63
+ .csstransforms.boxshadow .deck-container .slide pre > :first-child:before {
64
+ content: "";
65
+ position: absolute;
66
+ z-index: -1;
67
+ background: #fff;
68
+ top: 0;
69
+ bottom: 0;
70
+ left: 0;
71
+ right: 0;
72
+ }
73
+ .csstransforms.boxshadow .deck-container .slide pre:before, .csstransforms.boxshadow .deck-container .slide pre:after {
74
+ content: "";
75
+ position: absolute;
76
+ z-index: -2;
77
+ bottom: 15px;
78
+ width: 50%;
79
+ height: 20%;
80
+ max-width: 300px;
81
+ -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
82
+ -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
83
+ box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
84
+ }
85
+ .csstransforms.boxshadow .deck-container .slide pre:before {
86
+ left: 10px;
87
+ -webkit-transform: rotate(-3deg);
88
+ -moz-transform: rotate(-3deg);
89
+ -ms-transform: rotate(-3deg);
90
+ -o-transform: rotate(-3deg);
91
+ transform: rotate(-3deg);
92
+ }
93
+ .csstransforms.boxshadow .deck-container .slide pre:after {
94
+ right: 10px;
95
+ -webkit-transform: rotate(3deg);
96
+ -moz-transform: rotate(3deg);
97
+ -ms-transform: rotate(3deg);
98
+ -o-transform: rotate(3deg);
99
+ transform: rotate(3deg);
100
+ }
101
+ .deck-container .slide code {
102
+ color: #789;
103
+ }
104
+ .deck-container .slide blockquote {
105
+ font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
106
+ font-size: 2em;
107
+ padding: 1em 2em .5em 2em;
108
+ color: #000;
109
+ background: #fff;
110
+ position: relative;
111
+ border: 1px solid #cde;
112
+ z-index: auto;
113
+ }
114
+ .borderradius .deck-container .slide blockquote {
115
+ -webkit-border-radius: 5px;
116
+ -moz-border-radius: 5px;
117
+ border-radius: 5px;
118
+ }
119
+ .boxshadow .deck-container .slide blockquote > :first-child:before {
120
+ content: "";
121
+ position: absolute;
122
+ z-index: -1;
123
+ background: #fff;
124
+ top: 0;
125
+ bottom: 0;
126
+ left: 0;
127
+ right: 0;
128
+ }
129
+ .boxshadow .deck-container .slide blockquote:after {
130
+ content: "";
131
+ position: absolute;
132
+ z-index: -2;
133
+ top: 10px;
134
+ bottom: 10px;
135
+ left: 0;
136
+ right: 50%;
137
+ -moz-border-radius: 10px/100px;
138
+ border-radius: 10px/100px;
139
+ -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
140
+ -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
141
+ box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
142
+ }
143
+ .deck-container .slide blockquote p {
144
+ margin: 0;
145
+ }
146
+ .deck-container .slide blockquote cite {
147
+ font-size: .5em;
148
+ font-style: normal;
149
+ font-weight: bold;
150
+ color: #888;
151
+ }
152
+ .deck-container .slide blockquote:before {
153
+ content: "“";
154
+ position: absolute;
155
+ top: 0;
156
+ left: 0;
157
+ font-size: 5em;
158
+ line-height: 1;
159
+ color: #ccf0f0;
160
+ z-index: 1;
161
+ }
162
+ .deck-container .slide ::-moz-selection {
163
+ background: #08455f;
164
+ color: #fff;
165
+ }
166
+ .deck-container .slide ::selection {
167
+ background: #08455f;
168
+ color: #fff;
169
+ }
170
+ .deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
171
+ color: #599;
172
+ text-decoration: none;
173
+ }
174
+ .deck-container .slide a:hover, .deck-container .slide a:focus {
175
+ text-decoration: underline;
176
+ }
177
+ .deck-container .deck-prev-link, .deck-container .deck-next-link {
178
+ background: #fff;
179
+ opacity: 0.5;
180
+ }
181
+ .deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
182
+ color: #599;
183
+ }
184
+ .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
185
+ opacity: 1;
186
+ text-decoration: none;
187
+ }
188
+ .deck-container .deck-status {
189
+ font-size: 0.6666em;
190
+ }
191
+ .deck-container.deck-menu .slide {
192
+ background: transparent;
193
+ -webkit-border-radius: 5px;
194
+ -moz-border-radius: 5px;
195
+ border-radius: 5px;
196
+ }
197
+ .rgba .deck-container.deck-menu .slide {
198
+ background: rgba(0, 0, 0, 0.1);
199
+ }
200
+ .deck-container.deck-menu .slide.deck-current, .rgba .deck-container.deck-menu .slide.deck-current, .no-touch .deck-container.deck-menu .slide:hover {
201
+ background: #fff;
202
+ }
203
+ .deck-container .goto-form {
204
+ background: #fff;
205
+ border: 1px solid #cde;
206
+ -webkit-border-radius: 5px;
207
+ -moz-border-radius: 5px;
208
+ border-radius: 5px;
209
+ }
210
+ .boxshadow .deck-container .goto-form {
211
+ -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
212
+ -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
213
+ box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
214
+ }
@@ -0,0 +1,250 @@
1
+ @mixin border-radius($r) {
2
+ -webkit-border-radius:$r;
3
+ -moz-border-radius:$r;
4
+ border-radius:$r;
5
+ }
6
+
7
+ @mixin rotate($deg) {
8
+ -webkit-transform:rotate($deg);
9
+ -moz-transform:rotate($deg);
10
+ -ms-transform:rotate($deg);
11
+ -o-transform:rotate($deg);
12
+ transform:rotate($deg);
13
+ }
14
+
15
+ @mixin box-shadow($x, $y, $blur, $color) {
16
+ -webkit-box-shadow:$x $y $blur $color;
17
+ -moz-box-shadow:$x $y $blur $color;
18
+ box-shadow:$x $y $blur $color;
19
+ }
20
+
21
+
22
+ .deck-container {
23
+ font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
24
+ font-size:1.75em;
25
+ background: rgb(244,250,254); /* Old browsers */
26
+ background: -moz-linear-gradient(top, rgba(244,250,254,1) 0%, rgba(204,240,240,1) 100%); /* FF3.6+ */
27
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(244,250,254,1)), color-stop(100%,rgba(204,240,240,1))); /* Chrome,Safari4+ */
28
+ background: -webkit-linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* Chrome10+,Safari5.1+ */
29
+ background: -o-linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* Opera11.10+ */
30
+ background: -ms-linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* IE10+ */
31
+ background: linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* W3C */
32
+ background-attachment: fixed;
33
+
34
+ > .slide {
35
+ text-shadow:1px 1px 1px rgba(255,255,255,.5);
36
+
37
+ .deck-before, .deck-previous {
38
+ opacity:0.4;
39
+
40
+ &:not(.deck-child-current) {
41
+ .deck-before, .deck-previous {
42
+ opacity:1;
43
+ }
44
+ }
45
+ }
46
+
47
+ .deck-child-current {
48
+ opacity:1;
49
+ }
50
+ }
51
+
52
+ .slide {
53
+ h1, h2, h3, h4, h5, h6 {
54
+ font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
55
+ }
56
+
57
+ h1 {
58
+ color:#08455f;
59
+ }
60
+
61
+ h2 {
62
+ color:#0b7495;
63
+ border-bottom:0;
64
+
65
+ .cssreflections & {
66
+ line-height:1;
67
+ -webkit-box-reflect:below -0.5555em -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.3, transparent), color-stop(0.7, rgba(255,255,255,.1)), to(transparent));
68
+ -moz-box-reflect:below -0.5555em -moz-linear-gradient(top, transparent 0%, transparent 30%, rgba(255,255,255,.3) 100%);
69
+ }
70
+ }
71
+
72
+ h3 {
73
+ color:#000;
74
+ }
75
+
76
+ pre {
77
+ border-color:#cde;
78
+ background:#fff;
79
+ position:relative;
80
+ z-index:auto;
81
+
82
+ .borderradius & {
83
+ @include border-radius(5px);
84
+ }
85
+
86
+ /* http://nicolasgallagher.com/css-drop-shadows-without-images/ */
87
+ .csstransforms.boxshadow & {
88
+ > :first-child:before {
89
+ content:"";
90
+ position:absolute;
91
+ z-index:-1;
92
+ background:#fff;
93
+ top:0;
94
+ bottom:0;
95
+ left:0;
96
+ right:0;
97
+ }
98
+
99
+ &:before, &:after {
100
+ content:"";
101
+ position:absolute;
102
+ z-index:-2;
103
+ bottom:15px;
104
+ width:50%;
105
+ height:20%;
106
+ max-width:300px;
107
+ @include box-shadow(0, 15px, 10px, rgba(0, 0, 0, 0.7));
108
+ }
109
+
110
+ &:before {
111
+ left:10px;
112
+ @include rotate(-3deg);
113
+ }
114
+
115
+ &:after {
116
+ right:10px;
117
+ @include rotate(3deg);
118
+ }
119
+ }
120
+ }
121
+
122
+ code {
123
+ color:#789;
124
+ }
125
+
126
+ blockquote {
127
+ font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
128
+ font-size:2em;
129
+ padding:1em 2em .5em 2em;
130
+ color:#000;
131
+ background:#fff;
132
+ position:relative;
133
+ border:1px solid #cde;
134
+ z-index:auto;
135
+
136
+ .borderradius & {
137
+ @include border-radius(5px);
138
+ }
139
+
140
+ .boxshadow & {
141
+ > :first-child:before {
142
+ content:"";
143
+ position:absolute;
144
+ z-index:-1;
145
+ background:#fff;
146
+ top:0;
147
+ bottom:0;
148
+ left:0;
149
+ right:0;
150
+ }
151
+
152
+ &:after {
153
+ content:"";
154
+ position:absolute;
155
+ z-index:-2;
156
+ top: 10px;
157
+ bottom: 10px;
158
+ left: 0;
159
+ right: 50%;
160
+ -moz-border-radius: 10px / 100px;
161
+ border-radius: 10px / 100px;
162
+ @include box-shadow(0, 0, 15px, rgba(0,0,0,0.6));
163
+ }
164
+ }
165
+
166
+ p {
167
+ margin:0;
168
+ }
169
+
170
+ cite {
171
+ font-size:.5em;
172
+ font-style:normal;
173
+ font-weight:bold;
174
+ color:#888;
175
+ }
176
+
177
+ &:before {
178
+ content:"“";
179
+ position:absolute;
180
+ top:0;
181
+ left:0;
182
+ font-size:5em;
183
+ line-height:1;
184
+ color:#ccf0f0;
185
+ z-index:1;
186
+ }
187
+ }
188
+
189
+ ::-moz-selection{ background:#08455f; color:#fff; }
190
+ ::selection { background:#08455f; color:#fff; }
191
+
192
+ a {
193
+ &, &:hover, &:focus, &:active, &:visited {
194
+ color:#599;
195
+ text-decoration:none;
196
+ }
197
+
198
+ &:hover, &:focus {
199
+ text-decoration:underline;
200
+ }
201
+ }
202
+ }
203
+
204
+ .deck-prev-link, .deck-next-link {
205
+ background:#fff;
206
+ opacity:0.5;
207
+
208
+ &, &:hover, &:focus, &:active, &:visited {
209
+ color:#599;
210
+ }
211
+
212
+ &:hover, &:focus {
213
+ opacity:1;
214
+ text-decoration:none;
215
+ }
216
+ }
217
+
218
+ .deck-status {
219
+ font-size:0.6666em;
220
+ }
221
+
222
+ &.deck-menu {
223
+ .slide {
224
+ background:transparent;
225
+ @include border-radius(5px);
226
+
227
+ .rgba & {
228
+ background:rgba(0,0,0,.1);
229
+ }
230
+
231
+ &.deck-current, .rgba &.deck-current, .no-touch &:hover {
232
+ background:#fff;
233
+ }
234
+ }
235
+ }
236
+
237
+ .goto-form {
238
+ background:#fff;
239
+ border:1px solid #cde;
240
+ @include border-radius(5px);
241
+
242
+ .boxshadow & {
243
+ -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
244
+ -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
245
+ box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
246
+ }
247
+ }
248
+ }
249
+
250
+