keydown 0.7.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.travis.yml +3 -0
- data/LICENSE +1 -1
- data/README.md +16 -15
- data/VERSION +1 -1
- data/keydown.gemspec +9 -6
- data/lib/keydown.rb +9 -22
- data/lib/keydown/html_helpers.rb +12 -0
- data/lib/keydown/{lib/slide.rb → slide.rb} +16 -19
- data/lib/keydown/{lib/slidedeck.rb → slidedeck.rb} +20 -5
- data/lib/keydown/tasks.rb +5 -0
- data/lib/keydown/tasks/base.rb +15 -0
- data/lib/keydown/tasks/generate.rb +5 -1
- data/lib/keydown/tasks/slides.rb +1 -1
- data/lib/version.rb +1 -1
- data/spec/lib/html_helpers_spec.rb +26 -0
- data/spec/lib/slide_spec.rb +29 -17
- data/spec/lib/slidedeck_spec.rb +41 -13
- data/spec/spec_helper.rb +2 -6
- data/spec/tasks/generate_spec.rb +41 -20
- data/spec/tasks/slides_spec.rb +83 -44
- data/templates/deck.js/code.html.haml +1 -0
- data/templates/deck.js/index.html.haml +54 -0
- data/templates/deck.js/slide.html.haml +6 -0
- data/templates/generate/css/%presentation_name%.css +12 -1
- data/templates/generate/deck.js/core/deck.core.css +394 -0
- data/templates/generate/deck.js/core/deck.core.js +461 -0
- data/templates/generate/deck.js/core/deck.core.scss +432 -0
- data/templates/generate/deck.js/extensions/codemirror/CONTRIBUTORS.txt +2 -0
- data/templates/generate/deck.js/extensions/codemirror/MIT-LICENSE.txt +21 -0
- data/templates/generate/deck.js/extensions/codemirror/README.md +120 -0
- data/templates/generate/deck.js/extensions/codemirror/VERSION.txt +1 -0
- data/templates/generate/deck.js/extensions/codemirror/codemirror.js +21 -0
- data/templates/generate/deck.js/extensions/codemirror/deck.codemirror.css +89 -0
- data/templates/generate/deck.js/extensions/codemirror/deck.codemirror.js +213 -0
- data/templates/generate/deck.js/extensions/codemirror/deck.codemirror.scss +107 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clike/clike.js +247 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clike/index.html +102 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clojure/clojure.js +207 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/clojure/index.html +85 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/coffeescript/LICENSE +22 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/coffeescript/coffeescript.js +325 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/coffeescript/index.html +722 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/css/css.js +124 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/css/index.html +56 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/diff/diff.css +3 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/diff/diff.js +13 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/diff/index.html +99 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/haskell/haskell.js +242 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/haskell/index.html +60 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/htmlmixed/htmlmixed.js +79 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/htmlmixed/index.html +52 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/javascript/index.html +78 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/javascript/javascript.js +348 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/lua/index.html +72 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/lua/lua.js +138 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/php/index.html +49 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/php/php.js +115 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/plsql/index.html +63 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/plsql/plsql.js +217 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/python/LICENSE.txt +21 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/python/index.html +123 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/python/python.js +321 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/r/LICENSE +24 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/r/index.html +74 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/r/r.js +141 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/rst/index.html +526 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/rst/rst.css +75 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/rst/rst.js +333 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/ruby/LICENSE +24 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/ruby/index.html +172 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/ruby/ruby.js +195 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/scheme/index.html +65 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/scheme/scheme.js +202 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/smalltalk/index.html +56 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/smalltalk/smalltalk.js +122 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/sparql/index.html +41 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/sparql/sparql.js +143 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/stex/index.html +96 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/stex/stex.js +167 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/velocity/index.html +103 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/velocity/velocity.js +146 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xml/index.html +42 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xml/xml.js +231 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xmlpure/index.html +60 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/xmlpure/xmlpure.js +481 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/yaml/index.html +68 -0
- data/templates/generate/deck.js/extensions/codemirror/mode/yaml/yaml.js +95 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/cobalt.css +17 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/default.css +19 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/elegant.css +9 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/neat.css +8 -0
- data/templates/generate/deck.js/extensions/codemirror/themes/night.css +20 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.css +41 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.html +6 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.js +118 -0
- data/templates/generate/deck.js/extensions/goto/deck.goto.scss +46 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.css +13 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.html +2 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.js +125 -0
- data/templates/generate/deck.js/extensions/hash/deck.hash.scss +15 -0
- data/templates/generate/deck.js/extensions/menu/deck.menu.css +24 -0
- data/templates/generate/deck.js/extensions/menu/deck.menu.js +127 -0
- data/templates/generate/deck.js/extensions/menu/deck.menu.scss +29 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.css +43 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.html +3 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.js +83 -0
- data/templates/generate/deck.js/extensions/navigation/deck.navigation.scss +56 -0
- data/templates/generate/deck.js/extensions/scale/deck.scale.css +16 -0
- data/templates/generate/deck.js/extensions/scale/deck.scale.js +155 -0
- data/templates/generate/deck.js/extensions/scale/deck.scale.scss +17 -0
- data/templates/generate/deck.js/extensions/status/deck.status.css +14 -0
- data/templates/generate/deck.js/extensions/status/deck.status.html +6 -0
- data/templates/generate/deck.js/extensions/status/deck.status.js +42 -0
- data/templates/generate/deck.js/extensions/status/deck.status.scss +16 -0
- data/templates/generate/deck.js/support/jquery.1.6.4.min.js +4 -0
- data/templates/generate/deck.js/support/modernizr.custom.js +4 -0
- data/templates/generate/deck.js/themes/style/neon.css +114 -0
- data/templates/generate/deck.js/themes/style/neon.scss +139 -0
- data/templates/generate/deck.js/themes/style/swiss.css +75 -0
- data/templates/generate/deck.js/themes/style/swiss.scss +91 -0
- data/templates/generate/deck.js/themes/style/web-2.0.css +187 -0
- data/templates/generate/deck.js/themes/style/web-2.0.scss +214 -0
- data/templates/generate/deck.js/themes/transition/fade.css +44 -0
- data/templates/generate/deck.js/themes/transition/fade.scss +70 -0
- data/templates/generate/deck.js/themes/transition/horizontal-slide.css +79 -0
- data/templates/generate/deck.js/themes/transition/horizontal-slide.scss +94 -0
- data/templates/generate/deck.js/themes/transition/vertical-slide.css +97 -0
- data/templates/generate/deck.js/themes/transition/vertical-slide.scss +116 -0
- data/templates/keydown.css.erb +27 -23
- metadata +171 -32
- data/Gemfile.lock +0 -41
- data/templates/generate/css/rocks.css +0 -392
- data/templates/generate/css/syntax_highlighting.css +0 -135
- data/templates/generate/js/rocks.js +0 -419
- data/templates/rocks/index.rhtml +0 -132
- data/templates/rocks/slide.rhtml +0 -10
@@ -0,0 +1,139 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
|
3
|
+
font-size:1.25em;
|
4
|
+
color:#aaa;
|
5
|
+
background:#000;
|
6
|
+
|
7
|
+
.slide {
|
8
|
+
background:#000;
|
9
|
+
}
|
10
|
+
|
11
|
+
h1 {
|
12
|
+
color:#0af;
|
13
|
+
font-weight:normal;
|
14
|
+
font-weight:100;
|
15
|
+
text-shadow:0 0 50px #0af, 0 0 3px #fff;
|
16
|
+
}
|
17
|
+
|
18
|
+
h2 {
|
19
|
+
color:#af0;
|
20
|
+
border-bottom-color:#ccc;
|
21
|
+
font-weight:normal;
|
22
|
+
font-weight:100;
|
23
|
+
text-shadow:0 0 15px #af0, 0 0 2px #fff;
|
24
|
+
border-bottom:1px solid #333;
|
25
|
+
}
|
26
|
+
|
27
|
+
h3 {
|
28
|
+
color:#fff;
|
29
|
+
font-weight:normal;
|
30
|
+
font-weight:100;
|
31
|
+
text-shadow:0 0 10px #fff, 0 0 2px #fff;
|
32
|
+
}
|
33
|
+
|
34
|
+
pre {
|
35
|
+
border-color:#333;
|
36
|
+
|
37
|
+
code {
|
38
|
+
color:#fff;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
code {
|
43
|
+
color:#f0a;
|
44
|
+
}
|
45
|
+
|
46
|
+
blockquote {
|
47
|
+
font-size:2em;
|
48
|
+
padding:1em 2em;
|
49
|
+
color:#fff;
|
50
|
+
border-left:5px solid #fff;
|
51
|
+
|
52
|
+
p {
|
53
|
+
margin:0;
|
54
|
+
}
|
55
|
+
|
56
|
+
cite {
|
57
|
+
font-size:.5em;
|
58
|
+
font-style:normal;
|
59
|
+
font-weight:normal;
|
60
|
+
font-weight:100;
|
61
|
+
color:#aaa;
|
62
|
+
text-shadow:0 0 15px #fff, 0 0 2px #fff;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
::-moz-selection{ background:#a0f; }
|
67
|
+
::selection { background:#a0f; }
|
68
|
+
|
69
|
+
a {
|
70
|
+
&, &:hover, &:focus, &:active, &:visited {
|
71
|
+
color:#f0a;
|
72
|
+
text-decoration:none;
|
73
|
+
}
|
74
|
+
|
75
|
+
&:hover, &:focus {
|
76
|
+
text-decoration:underline;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.deck-prev-link, .deck-next-link {
|
81
|
+
background:#f0a;
|
82
|
+
text-shadow:0 0 3px #fff;
|
83
|
+
|
84
|
+
&, &:hover, &:focus, &:active, &:visited {
|
85
|
+
color:#fff;
|
86
|
+
}
|
87
|
+
|
88
|
+
&:hover, &:focus {
|
89
|
+
text-decoration:none;
|
90
|
+
|
91
|
+
.boxshadow & {
|
92
|
+
-webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
93
|
+
-moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
94
|
+
box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
.deck-status {
|
100
|
+
font-size:0.6666em;
|
101
|
+
}
|
102
|
+
|
103
|
+
.goto-form {
|
104
|
+
background:#000;
|
105
|
+
border:1px solid #f0a;
|
106
|
+
|
107
|
+
label {
|
108
|
+
color:#fff;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
&.deck-menu {
|
113
|
+
.slide {
|
114
|
+
background:#333;
|
115
|
+
}
|
116
|
+
|
117
|
+
.deck-current {
|
118
|
+
background:#444;
|
119
|
+
|
120
|
+
.boxshadow & {
|
121
|
+
background:#000;
|
122
|
+
-webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
123
|
+
-moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
124
|
+
box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.no-touch & .slide:hover {
|
129
|
+
background:#444;
|
130
|
+
}
|
131
|
+
|
132
|
+
.no-touch.boxshadow & .slide:hover {
|
133
|
+
background:#000;
|
134
|
+
-webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
135
|
+
-moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
136
|
+
box-shadow:0 0 20px #f0a, 0 0 5px #fff;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Helvetica Neue", sans-serif;
|
3
|
+
font-size: 1.25em;
|
4
|
+
background: #fff;
|
5
|
+
}
|
6
|
+
.deck-container .slide {
|
7
|
+
background: #fff;
|
8
|
+
}
|
9
|
+
.deck-container h1 {
|
10
|
+
color: #000;
|
11
|
+
}
|
12
|
+
.deck-container h2 {
|
13
|
+
color: #c00;
|
14
|
+
border-bottom-color: #ccc;
|
15
|
+
}
|
16
|
+
.deck-container h3 {
|
17
|
+
color: #888;
|
18
|
+
}
|
19
|
+
.deck-container pre {
|
20
|
+
border-color: #ccc;
|
21
|
+
}
|
22
|
+
.deck-container code {
|
23
|
+
color: #888;
|
24
|
+
}
|
25
|
+
.deck-container 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 blockquote p {
|
33
|
+
margin: 0;
|
34
|
+
}
|
35
|
+
.deck-container blockquote cite {
|
36
|
+
font-size: .5em;
|
37
|
+
font-style: normal;
|
38
|
+
font-weight: bold;
|
39
|
+
color: #888;
|
40
|
+
}
|
41
|
+
.deck-container ::-moz-selection {
|
42
|
+
background: #c00;
|
43
|
+
color: #fff;
|
44
|
+
}
|
45
|
+
.deck-container ::selection {
|
46
|
+
background: #c00;
|
47
|
+
color: #fff;
|
48
|
+
}
|
49
|
+
.deck-container a, .deck-container a:hover, .deck-container a:focus, .deck-container a:active, .deck-container a:visited {
|
50
|
+
color: #c00;
|
51
|
+
text-decoration: none;
|
52
|
+
}
|
53
|
+
.deck-container a:hover, .deck-container a:focus {
|
54
|
+
text-decoration: underline;
|
55
|
+
}
|
56
|
+
.deck-container .deck-prev-link, .deck-container .deck-next-link {
|
57
|
+
background: #ccc;
|
58
|
+
font-family: serif;
|
59
|
+
}
|
60
|
+
.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 {
|
61
|
+
color: #fff;
|
62
|
+
}
|
63
|
+
.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
|
64
|
+
background: #c00;
|
65
|
+
text-decoration: none;
|
66
|
+
}
|
67
|
+
.deck-container .deck-status {
|
68
|
+
font-size: 0.6666em;
|
69
|
+
}
|
70
|
+
.deck-container.deck-menu .slide {
|
71
|
+
background: #eee;
|
72
|
+
}
|
73
|
+
.deck-container.deck-menu .deck-current, .no-touch .deck-container.deck-menu .slide:hover {
|
74
|
+
background: #ddf;
|
75
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Helvetica Neue", sans-serif;
|
3
|
+
font-size:1.25em;
|
4
|
+
background:#fff;
|
5
|
+
|
6
|
+
.slide {
|
7
|
+
background:#fff;
|
8
|
+
}
|
9
|
+
|
10
|
+
h1 {
|
11
|
+
color:#000;
|
12
|
+
}
|
13
|
+
|
14
|
+
h2 {
|
15
|
+
color:#c00;
|
16
|
+
border-bottom-color:#ccc;
|
17
|
+
}
|
18
|
+
|
19
|
+
h3 {
|
20
|
+
color:#888;
|
21
|
+
}
|
22
|
+
|
23
|
+
pre {
|
24
|
+
border-color:#ccc;
|
25
|
+
}
|
26
|
+
|
27
|
+
code {
|
28
|
+
color:#888;
|
29
|
+
}
|
30
|
+
|
31
|
+
blockquote {
|
32
|
+
font-size:2em;
|
33
|
+
font-style:italic;
|
34
|
+
padding:1em 2em;
|
35
|
+
color:#000;
|
36
|
+
border-left:5px solid #ccc;
|
37
|
+
|
38
|
+
p {
|
39
|
+
margin:0;
|
40
|
+
}
|
41
|
+
|
42
|
+
cite {
|
43
|
+
font-size:.5em;
|
44
|
+
font-style:normal;
|
45
|
+
font-weight:bold;
|
46
|
+
color:#888;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
::-moz-selection{ background:#c00; color:#fff; }
|
51
|
+
::selection { background:#c00; color:#fff; }
|
52
|
+
|
53
|
+
a {
|
54
|
+
&, &:hover, &:focus, &:active, &:visited {
|
55
|
+
color:#c00;
|
56
|
+
text-decoration:none;
|
57
|
+
}
|
58
|
+
|
59
|
+
&:hover, &:focus {
|
60
|
+
text-decoration:underline;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.deck-prev-link, .deck-next-link {
|
65
|
+
background:#ccc;
|
66
|
+
font-family:serif; // sans-serif arrows x-browser fail
|
67
|
+
|
68
|
+
&, &:hover, &:focus, &:active, &:visited {
|
69
|
+
color:#fff;
|
70
|
+
}
|
71
|
+
|
72
|
+
&:hover, &:focus {
|
73
|
+
background:#c00;
|
74
|
+
text-decoration:none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
.deck-status {
|
79
|
+
font-size:0.6666em;
|
80
|
+
}
|
81
|
+
|
82
|
+
&.deck-menu {
|
83
|
+
.slide {
|
84
|
+
background:#eee;
|
85
|
+
}
|
86
|
+
|
87
|
+
.deck-current, .no-touch & .slide:hover {
|
88
|
+
background:#ddf;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
@@ -0,0 +1,187 @@
|
|
1
|
+
.deck-container {
|
2
|
+
font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
|
3
|
+
font-size: 1.25em;
|
4
|
+
background: #f4fafe;
|
5
|
+
/* Old browsers */
|
6
|
+
background: -moz-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
|
7
|
+
/* FF3.6+ */
|
8
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4fafe), color-stop(100%, #ccf0f0));
|
9
|
+
/* Chrome,Safari4+ */
|
10
|
+
background: -webkit-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
|
11
|
+
/* Chrome10+,Safari5.1+ */
|
12
|
+
background: -o-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
|
13
|
+
/* Opera11.10+ */
|
14
|
+
background: -ms-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
|
15
|
+
/* IE10+ */
|
16
|
+
background: linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
|
17
|
+
/* W3C */
|
18
|
+
background-attachment: fixed;
|
19
|
+
}
|
20
|
+
.deck-container > .slide {
|
21
|
+
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
|
22
|
+
}
|
23
|
+
.deck-container h1, .deck-container h2, .deck-container h3, .deck-container h4, .deck-container h5, .deck-container h6 {
|
24
|
+
font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
|
25
|
+
}
|
26
|
+
.deck-container h1 {
|
27
|
+
color: #08455f;
|
28
|
+
}
|
29
|
+
.deck-container h2 {
|
30
|
+
color: #0b7495;
|
31
|
+
border-bottom: 0;
|
32
|
+
}
|
33
|
+
.cssreflections .deck-container h2 {
|
34
|
+
line-height: 1;
|
35
|
+
-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));
|
36
|
+
-moz-box-reflect: below -0.556em -moz-linear-gradient(top, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.3) 100%);
|
37
|
+
}
|
38
|
+
.deck-container h3 {
|
39
|
+
color: #000;
|
40
|
+
}
|
41
|
+
.deck-container pre {
|
42
|
+
border-color: #cde;
|
43
|
+
background: #fff;
|
44
|
+
position: relative;
|
45
|
+
/* http://nicolasgallagher.com/css-drop-shadows-without-images/ */
|
46
|
+
}
|
47
|
+
.borderradius .deck-container pre {
|
48
|
+
-webkit-border-radius: 5px;
|
49
|
+
-moz-border-radius: 5px;
|
50
|
+
border-radius: 5px;
|
51
|
+
}
|
52
|
+
.csstransforms.boxshadow .deck-container pre:before, .csstransforms.boxshadow .deck-container pre:after {
|
53
|
+
content: "";
|
54
|
+
position: absolute;
|
55
|
+
z-index: -1;
|
56
|
+
bottom: 15px;
|
57
|
+
width: 50%;
|
58
|
+
height: 20%;
|
59
|
+
max-width: 300px;
|
60
|
+
-webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
|
61
|
+
-moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
|
62
|
+
box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
|
63
|
+
}
|
64
|
+
.csstransforms.boxshadow .deck-container pre:before {
|
65
|
+
left: 10px;
|
66
|
+
-webkit-transform: rotate(-3deg);
|
67
|
+
-moz-transform: rotate(-3deg);
|
68
|
+
-ms-transform: rotate(-3deg);
|
69
|
+
-o-transform: rotate(-3deg);
|
70
|
+
transform: rotate(-3deg);
|
71
|
+
}
|
72
|
+
.csstransforms.boxshadow .deck-container pre:after {
|
73
|
+
right: 10px;
|
74
|
+
-webkit-transform: rotate(3deg);
|
75
|
+
-moz-transform: rotate(3deg);
|
76
|
+
-ms-transform: rotate(3deg);
|
77
|
+
-o-transform: rotate(3deg);
|
78
|
+
transform: rotate(3deg);
|
79
|
+
}
|
80
|
+
.deck-container code {
|
81
|
+
color: #789;
|
82
|
+
}
|
83
|
+
.deck-container blockquote {
|
84
|
+
font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
|
85
|
+
font-size: 2em;
|
86
|
+
padding: 1em 2em .5em 2em;
|
87
|
+
color: #000;
|
88
|
+
background: #fff;
|
89
|
+
position: relative;
|
90
|
+
border: 1px solid #cde;
|
91
|
+
}
|
92
|
+
.borderradius .deck-container blockquote {
|
93
|
+
-webkit-border-radius: 5px;
|
94
|
+
-moz-border-radius: 5px;
|
95
|
+
border-radius: 5px;
|
96
|
+
}
|
97
|
+
.boxshadow .deck-container blockquote:after {
|
98
|
+
content: "";
|
99
|
+
position: absolute;
|
100
|
+
z-index: -1;
|
101
|
+
top: 10px;
|
102
|
+
bottom: 10px;
|
103
|
+
left: 0;
|
104
|
+
right: 50%;
|
105
|
+
-moz-border-radius: 10px/100px;
|
106
|
+
border-radius: 10px/100px;
|
107
|
+
-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
|
108
|
+
-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
|
109
|
+
box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
|
110
|
+
}
|
111
|
+
.deck-container blockquote p {
|
112
|
+
margin: 0;
|
113
|
+
}
|
114
|
+
.deck-container blockquote cite {
|
115
|
+
font-size: .5em;
|
116
|
+
font-style: normal;
|
117
|
+
font-weight: bold;
|
118
|
+
color: #888;
|
119
|
+
}
|
120
|
+
.deck-container blockquote:before {
|
121
|
+
content: "“";
|
122
|
+
position: absolute;
|
123
|
+
top: 0;
|
124
|
+
left: 0;
|
125
|
+
font-size: 5em;
|
126
|
+
line-height: 1;
|
127
|
+
color: #ccf0f0;
|
128
|
+
z-index: 1;
|
129
|
+
}
|
130
|
+
.deck-container .borderradius img {
|
131
|
+
-webkit-border-radius: 5px;
|
132
|
+
-moz-border-radius: 5px;
|
133
|
+
border-radius: 5px;
|
134
|
+
}
|
135
|
+
.deck-container ::-moz-selection {
|
136
|
+
background: #08455f;
|
137
|
+
color: #fff;
|
138
|
+
}
|
139
|
+
.deck-container ::selection {
|
140
|
+
background: #08455f;
|
141
|
+
color: #fff;
|
142
|
+
}
|
143
|
+
.deck-container a, .deck-container a:hover, .deck-container a:focus, .deck-container a:active, .deck-container a:visited {
|
144
|
+
color: #599;
|
145
|
+
text-decoration: none;
|
146
|
+
}
|
147
|
+
.deck-container a:hover, .deck-container a:focus {
|
148
|
+
text-decoration: underline;
|
149
|
+
}
|
150
|
+
.deck-container .deck-prev-link, .deck-container .deck-next-link {
|
151
|
+
background: #fff;
|
152
|
+
opacity: 0.5;
|
153
|
+
}
|
154
|
+
.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 {
|
155
|
+
color: #599;
|
156
|
+
}
|
157
|
+
.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
|
158
|
+
opacity: 1;
|
159
|
+
text-decoration: none;
|
160
|
+
}
|
161
|
+
.deck-container .deck-status {
|
162
|
+
font-size: 0.6666em;
|
163
|
+
}
|
164
|
+
.deck-container.deck-menu .slide {
|
165
|
+
background: transparent;
|
166
|
+
-webkit-border-radius: 5px;
|
167
|
+
-moz-border-radius: 5px;
|
168
|
+
border-radius: 5px;
|
169
|
+
}
|
170
|
+
.rgba .deck-container.deck-menu .slide {
|
171
|
+
background: rgba(0, 0, 0, 0.1);
|
172
|
+
}
|
173
|
+
.deck-container.deck-menu .slide.deck-current, .rgba .deck-container.deck-menu .slide.deck-current, .no-touch .deck-container.deck-menu .slide:hover {
|
174
|
+
background: #fff;
|
175
|
+
}
|
176
|
+
.deck-container .goto-form {
|
177
|
+
background: #fff;
|
178
|
+
border: 1px solid #cde;
|
179
|
+
-webkit-border-radius: 5px;
|
180
|
+
-moz-border-radius: 5px;
|
181
|
+
border-radius: 5px;
|
182
|
+
}
|
183
|
+
.boxshadow .deck-container .goto-form {
|
184
|
+
-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;
|
185
|
+
-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;
|
186
|
+
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;
|
187
|
+
}
|