reveal-ck 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitmodules +3 -0
- data/.rspec +2 -0
- data/.rvmrc +16 -0
- data/.travis.yml +4 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +52 -0
- data/LICENSE +20 -0
- data/README.md +103 -0
- data/Rakefile +16 -0
- data/VERSION +1 -0
- data/bin/reveal-ck +46 -0
- data/features/data/images/ruby100.png +0 -0
- data/features/generate.feature +63 -0
- data/features/help.feature +18 -0
- data/features/step_definitions/file_management_steps.rb +3 -0
- data/features/support/env.rb +15 -0
- data/features/support/file_management.rb +16 -0
- data/lib/reveal-ck.rb +4 -0
- data/lib/reveal-ck/file_slicer.rb +23 -0
- data/lib/reveal-ck/file_splicer.rb +39 -0
- data/lib/reveal-ck/haml_processor.rb +24 -0
- data/lib/reveal-ck/version.rb +4 -0
- data/rakelib/cucumber.rake +2 -0
- data/rakelib/jeweler.rake +12 -0
- data/rakelib/presentation.rake +40 -0
- data/rakelib/reveal.rake +15 -0
- data/rakelib/rspec.rake +5 -0
- data/reveal-ck.gemspec +152 -0
- data/reveal.js/LICENSE +19 -0
- data/reveal.js/README.md +374 -0
- data/reveal.js/css/print/paper.css +176 -0
- data/reveal.js/css/print/pdf.css +160 -0
- data/reveal.js/css/reveal.css +1312 -0
- data/reveal.js/css/reveal.min.css +7 -0
- data/reveal.js/css/shaders/tile-flip.fs +64 -0
- data/reveal.js/css/shaders/tile-flip.vs +141 -0
- data/reveal.js/css/theme/README.md +25 -0
- data/reveal.js/css/theme/beige.css +163 -0
- data/reveal.js/css/theme/default.css +163 -0
- data/reveal.js/css/theme/night.css +150 -0
- data/reveal.js/css/theme/serif.css +150 -0
- data/reveal.js/css/theme/simple.css +152 -0
- data/reveal.js/css/theme/sky.css +156 -0
- data/reveal.js/css/theme/source/beige.scss +50 -0
- data/reveal.js/css/theme/source/default.scss +42 -0
- data/reveal.js/css/theme/source/night.scss +35 -0
- data/reveal.js/css/theme/source/serif.scss +33 -0
- data/reveal.js/css/theme/source/simple.scss +38 -0
- data/reveal.js/css/theme/source/sky.scss +41 -0
- data/reveal.js/css/theme/template/mixins.scss +29 -0
- data/reveal.js/css/theme/template/settings.scss +33 -0
- data/reveal.js/css/theme/template/theme.scss +163 -0
- data/reveal.js/grunt.js +84 -0
- data/reveal.js/index.html +375 -0
- data/reveal.js/js/reveal.js +1796 -0
- data/reveal.js/js/reveal.min.js +8 -0
- data/reveal.js/lib/css/zenburn.css +115 -0
- data/reveal.js/lib/font/league_gothic-webfont.eot +0 -0
- data/reveal.js/lib/font/league_gothic-webfont.svg +230 -0
- data/reveal.js/lib/font/league_gothic-webfont.ttf +0 -0
- data/reveal.js/lib/font/league_gothic-webfont.woff +0 -0
- data/reveal.js/lib/font/league_gothic_license +2 -0
- data/reveal.js/lib/js/classList.js +2 -0
- data/reveal.js/lib/js/head.min.js +8 -0
- data/reveal.js/lib/js/html5shiv.js +7 -0
- data/reveal.js/package.json +31 -0
- data/reveal.js/plugin/highlight/highlight.js +9 -0
- data/reveal.js/plugin/markdown/markdown.js +37 -0
- data/reveal.js/plugin/markdown/showdown.js +62 -0
- data/reveal.js/plugin/notes-server/client.js +57 -0
- data/reveal.js/plugin/notes-server/index.js +58 -0
- data/reveal.js/plugin/notes-server/notes.html +139 -0
- data/reveal.js/plugin/notes/notes.html +164 -0
- data/reveal.js/plugin/notes/notes.js +98 -0
- data/reveal.js/plugin/postmessage/example.html +39 -0
- data/reveal.js/plugin/postmessage/postmessage.js +42 -0
- data/reveal.js/plugin/print-pdf/print-pdf.js +39 -0
- data/reveal.js/plugin/remotes/remotes.js +30 -0
- data/reveal.js/plugin/zoom-js/zoom.js +251 -0
- data/spec/data/haml/basic.haml +7 -0
- data/spec/data/html/converted_basic_haml.html +10 -0
- data/spec/data/html/reveal-js-index.html +375 -0
- data/spec/data/slicer/after_remove +6 -0
- data/spec/data/slicer/before_remove +10 -0
- data/spec/data/splicer/abcd +4 -0
- data/spec/data/splicer/after_insert +14 -0
- data/spec/data/splicer/before_insert +10 -0
- data/spec/lib/reveal-ck/file_slicer_spec.rb +42 -0
- data/spec/lib/reveal-ck/file_splicer_spec.rb +41 -0
- data/spec/lib/reveal-ck/haml_processor_spec.rb +38 -0
- data/spec/spec_helper.rb +27 -0
- metadata +271 -0
@@ -0,0 +1,156 @@
|
|
1
|
+
@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
|
2
|
+
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
|
3
|
+
/**
|
4
|
+
* Sky theme for reveal.js.
|
5
|
+
*
|
6
|
+
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
7
|
+
*/
|
8
|
+
/*********************************************
|
9
|
+
* GLOBAL STYLES
|
10
|
+
*********************************************/
|
11
|
+
body {
|
12
|
+
background: #add9e4;
|
13
|
+
background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
|
14
|
+
background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4));
|
15
|
+
background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
|
16
|
+
background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
|
17
|
+
background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
|
18
|
+
background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
|
19
|
+
background-color: #f7fbfc;
|
20
|
+
}
|
21
|
+
|
22
|
+
.reveal {
|
23
|
+
font-family: "Open Sans", sans-serif;
|
24
|
+
font-size: 36px;
|
25
|
+
font-weight: 200;
|
26
|
+
letter-spacing: -0.02em;
|
27
|
+
color: #333333;
|
28
|
+
}
|
29
|
+
|
30
|
+
::selection {
|
31
|
+
color: white;
|
32
|
+
background: #134674;
|
33
|
+
text-shadow: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
/*********************************************
|
37
|
+
* HEADERS
|
38
|
+
*********************************************/
|
39
|
+
.reveal h1,
|
40
|
+
.reveal h2,
|
41
|
+
.reveal h3,
|
42
|
+
.reveal h4,
|
43
|
+
.reveal h5,
|
44
|
+
.reveal h6 {
|
45
|
+
margin: 0 0 20px 0;
|
46
|
+
color: #333333;
|
47
|
+
font-family: "Quicksand", sans-serif;
|
48
|
+
line-height: 0.9em;
|
49
|
+
letter-spacing: -0.08em;
|
50
|
+
text-transform: uppercase;
|
51
|
+
text-shadow: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
.reveal h1 {
|
55
|
+
text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
|
56
|
+
}
|
57
|
+
|
58
|
+
/*********************************************
|
59
|
+
* LINKS
|
60
|
+
*********************************************/
|
61
|
+
.reveal a:not(.image) {
|
62
|
+
color: #3b759e;
|
63
|
+
text-decoration: none;
|
64
|
+
-webkit-transition: color .15s ease;
|
65
|
+
-moz-transition: color .15s ease;
|
66
|
+
-ms-transition: color .15s ease;
|
67
|
+
-o-transition: color .15s ease;
|
68
|
+
transition: color .15s ease;
|
69
|
+
}
|
70
|
+
|
71
|
+
.reveal a:not(.image):hover {
|
72
|
+
color: #74a7cb;
|
73
|
+
text-shadow: none;
|
74
|
+
border: none;
|
75
|
+
}
|
76
|
+
|
77
|
+
.reveal .roll span:after {
|
78
|
+
color: #fff;
|
79
|
+
background: #264c66;
|
80
|
+
}
|
81
|
+
|
82
|
+
/*********************************************
|
83
|
+
* IMAGES
|
84
|
+
*********************************************/
|
85
|
+
.reveal section img {
|
86
|
+
margin: 15px 0px;
|
87
|
+
background: rgba(255, 255, 255, 0.12);
|
88
|
+
border: 4px solid #333333;
|
89
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
90
|
+
-webkit-transition: all .2s linear;
|
91
|
+
-moz-transition: all .2s linear;
|
92
|
+
-ms-transition: all .2s linear;
|
93
|
+
-o-transition: all .2s linear;
|
94
|
+
transition: all .2s linear;
|
95
|
+
}
|
96
|
+
|
97
|
+
.reveal a:hover img {
|
98
|
+
background: rgba(255, 255, 255, 0.2);
|
99
|
+
border-color: #3b759e;
|
100
|
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
101
|
+
}
|
102
|
+
|
103
|
+
/*********************************************
|
104
|
+
* NAVIGATION CONTROLS
|
105
|
+
*********************************************/
|
106
|
+
.reveal .controls div.navigate-left,
|
107
|
+
.reveal .controls div.navigate-left.enabled {
|
108
|
+
border-right-color: #3b759e;
|
109
|
+
}
|
110
|
+
|
111
|
+
.reveal .controls div.navigate-right,
|
112
|
+
.reveal .controls div.navigate-right.enabled {
|
113
|
+
border-left-color: #3b759e;
|
114
|
+
}
|
115
|
+
|
116
|
+
.reveal .controls div.navigate-up,
|
117
|
+
.reveal .controls div.navigate-up.enabled {
|
118
|
+
border-bottom-color: #3b759e;
|
119
|
+
}
|
120
|
+
|
121
|
+
.reveal .controls div.navigate-down,
|
122
|
+
.reveal .controls div.navigate-down.enabled {
|
123
|
+
border-top-color: #3b759e;
|
124
|
+
}
|
125
|
+
|
126
|
+
.reveal .controls div.navigate-left.enabled:hover {
|
127
|
+
border-right-color: #74a7cb;
|
128
|
+
}
|
129
|
+
|
130
|
+
.reveal .controls div.navigate-right.enabled:hover {
|
131
|
+
border-left-color: #74a7cb;
|
132
|
+
}
|
133
|
+
|
134
|
+
.reveal .controls div.navigate-up.enabled:hover {
|
135
|
+
border-bottom-color: #74a7cb;
|
136
|
+
}
|
137
|
+
|
138
|
+
.reveal .controls div.navigate-down.enabled:hover {
|
139
|
+
border-top-color: #74a7cb;
|
140
|
+
}
|
141
|
+
|
142
|
+
/*********************************************
|
143
|
+
* PROGRESS BAR
|
144
|
+
*********************************************/
|
145
|
+
.reveal .progress {
|
146
|
+
background: rgba(0, 0, 0, 0.2);
|
147
|
+
}
|
148
|
+
|
149
|
+
.reveal .progress span {
|
150
|
+
background: #3b759e;
|
151
|
+
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
152
|
+
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
153
|
+
-ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
154
|
+
-o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
155
|
+
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
|
156
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/**
|
2
|
+
* Beige theme for reveal.js.
|
3
|
+
*
|
4
|
+
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
// Default mixins and settings -----------------
|
9
|
+
@import "../template/mixins";
|
10
|
+
@import "../template/settings";
|
11
|
+
// ---------------------------------------------
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
// Include theme-specific fonts
|
16
|
+
@font-face {
|
17
|
+
font-family: 'League Gothic';
|
18
|
+
src: url('../../lib/font/league_gothic-webfont.eot');
|
19
|
+
src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
|
20
|
+
url('../../lib/font/league_gothic-webfont.woff') format('woff'),
|
21
|
+
url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
|
22
|
+
url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
|
23
|
+
|
24
|
+
font-weight: normal;
|
25
|
+
font-style: normal;
|
26
|
+
}
|
27
|
+
|
28
|
+
@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
29
|
+
|
30
|
+
|
31
|
+
// Override theme settings (see ../template/settings.scss)
|
32
|
+
$mainColor: #333;
|
33
|
+
$headingColor: #333;
|
34
|
+
$headingTextShadow: none;
|
35
|
+
$backgroundColor: #f7f3de;
|
36
|
+
$linkColor: #8b743d;
|
37
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
38
|
+
$selectionBackgroundColor: rgba(79, 64, 28, 0.99);
|
39
|
+
$heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
|
40
|
+
|
41
|
+
// Background generator
|
42
|
+
@mixin bodyBackground() {
|
43
|
+
@include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) );
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
// Theme template ------------------------------
|
49
|
+
@import "../template/theme";
|
50
|
+
// ---------------------------------------------
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/**
|
2
|
+
* Default theme for reveal.js.
|
3
|
+
*
|
4
|
+
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
// Default mixins and settings -----------------
|
9
|
+
@import "../template/mixins";
|
10
|
+
@import "../template/settings";
|
11
|
+
// ---------------------------------------------
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
// Include theme-specific fonts
|
16
|
+
@font-face {
|
17
|
+
font-family: 'League Gothic';
|
18
|
+
src: url('../../lib/font/league_gothic-webfont.eot');
|
19
|
+
src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
|
20
|
+
url('../../lib/font/league_gothic-webfont.woff') format('woff'),
|
21
|
+
url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
|
22
|
+
url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
|
23
|
+
|
24
|
+
font-weight: normal;
|
25
|
+
font-style: normal;
|
26
|
+
}
|
27
|
+
|
28
|
+
@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
29
|
+
|
30
|
+
// Override theme settings (see ../template/settings.scss)
|
31
|
+
$heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
|
32
|
+
|
33
|
+
// Background generator
|
34
|
+
@mixin bodyBackground() {
|
35
|
+
@include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) );
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
// Theme template ------------------------------
|
41
|
+
@import "../template/theme";
|
42
|
+
// ---------------------------------------------
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/**
|
2
|
+
* Black theme for reveal.js.
|
3
|
+
*
|
4
|
+
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
// Default mixins and settings -----------------
|
9
|
+
@import "../template/mixins";
|
10
|
+
@import "../template/settings";
|
11
|
+
// ---------------------------------------------
|
12
|
+
|
13
|
+
|
14
|
+
// Include theme-specific fonts
|
15
|
+
@import url(http://fonts.googleapis.com/css?family=Montserrat:700);
|
16
|
+
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
|
17
|
+
|
18
|
+
|
19
|
+
// Override theme settings (see ../template/settings.scss)
|
20
|
+
$backgroundColor: #111;
|
21
|
+
|
22
|
+
$mainFont: 'Open Sans', Times, 'Times New Roman', serif;
|
23
|
+
$linkColor: #e7ad52;
|
24
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
25
|
+
$headingFont: 'Montserrat', Impact, sans-serif;
|
26
|
+
$headingTextShadow: none;
|
27
|
+
$headingLetterSpacing: -0.03em;
|
28
|
+
$headingTextTransform: none;
|
29
|
+
$selectionBackgroundColor: #e7ad52;
|
30
|
+
$mainFontSize: 30px;
|
31
|
+
|
32
|
+
|
33
|
+
// Theme template ------------------------------
|
34
|
+
@import "../template/theme";
|
35
|
+
// ---------------------------------------------
|
@@ -0,0 +1,33 @@
|
|
1
|
+
/**
|
2
|
+
* A simple theme for reveal.js presentations, similar
|
3
|
+
* to the default theme. The accent color is darkblue.
|
4
|
+
*
|
5
|
+
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
|
6
|
+
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se; so is the theme - beige.css - that this is based off of.
|
7
|
+
*/
|
8
|
+
|
9
|
+
|
10
|
+
// Default mixins and settings -----------------
|
11
|
+
@import "../template/mixins";
|
12
|
+
@import "../template/settings";
|
13
|
+
// ---------------------------------------------
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
// Override theme settings (see ../template/settings.scss)
|
18
|
+
$mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
|
19
|
+
$mainColor: #000;
|
20
|
+
$headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
|
21
|
+
$headingColor: #383D3D;
|
22
|
+
$headingTextShadow: none;
|
23
|
+
$headingTextTransform: none;
|
24
|
+
$backgroundColor: #F0F1EB;
|
25
|
+
$linkColor: #51483D;
|
26
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
27
|
+
$selectionBackgroundColor: #26351C;
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
// Theme template ------------------------------
|
32
|
+
@import "../template/theme";
|
33
|
+
// ---------------------------------------------
|
@@ -0,0 +1,38 @@
|
|
1
|
+
/**
|
2
|
+
* A simple theme for reveal.js presentations, similar
|
3
|
+
* to the default theme. The accent color is darkblue.
|
4
|
+
*
|
5
|
+
* This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
|
6
|
+
* reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
7
|
+
*/
|
8
|
+
|
9
|
+
|
10
|
+
// Default mixins and settings -----------------
|
11
|
+
@import "../template/mixins";
|
12
|
+
@import "../template/settings";
|
13
|
+
// ---------------------------------------------
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
// Include theme-specific fonts
|
18
|
+
@import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700);
|
19
|
+
@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
20
|
+
|
21
|
+
|
22
|
+
// Override theme settings (see ../template/settings.scss)
|
23
|
+
$mainFont: 'Lato', Times, 'Times New Roman', serif;
|
24
|
+
$mainColor: #000;
|
25
|
+
$headingFont: 'News Cycle', Impact, sans-serif;
|
26
|
+
$headingColor: #000;
|
27
|
+
$headingTextShadow: none;
|
28
|
+
$headingTextTransform: none;
|
29
|
+
$backgroundColor: #fff;
|
30
|
+
$linkColor: #00008B;
|
31
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
32
|
+
$selectionBackgroundColor: rgba(0, 0, 0, 0.99);
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
// Theme template ------------------------------
|
37
|
+
@import "../template/theme";
|
38
|
+
// ---------------------------------------------
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/**
|
2
|
+
* Sky theme for reveal.js.
|
3
|
+
*
|
4
|
+
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
5
|
+
*/
|
6
|
+
|
7
|
+
|
8
|
+
// Default mixins and settings -----------------
|
9
|
+
@import "../template/mixins";
|
10
|
+
@import "../template/settings";
|
11
|
+
// ---------------------------------------------
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
// Include theme-specific fonts
|
16
|
+
@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
|
17
|
+
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
|
18
|
+
|
19
|
+
|
20
|
+
// Override theme settings (see ../template/settings.scss)
|
21
|
+
$mainFont: 'Open Sans', sans-serif;
|
22
|
+
$mainColor: #333;
|
23
|
+
$headingFont: 'Quicksand', sans-serif;
|
24
|
+
$headingColor: #333;
|
25
|
+
$headingLetterSpacing: -0.08em;
|
26
|
+
$headingTextShadow: none;
|
27
|
+
$backgroundColor: #f7fbfc;
|
28
|
+
$linkColor: #3b759e;
|
29
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
30
|
+
$selectionBackgroundColor: #134674;
|
31
|
+
|
32
|
+
// Background generator
|
33
|
+
@mixin bodyBackground() {
|
34
|
+
@include radial-gradient( #add9e4, #f7fbfc );
|
35
|
+
}
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
// Theme template ------------------------------
|
40
|
+
@import "../template/theme";
|
41
|
+
// ---------------------------------------------
|
@@ -0,0 +1,29 @@
|
|
1
|
+
@mixin vertical-gradient( $top, $bottom ) {
|
2
|
+
background: $top;
|
3
|
+
background: -moz-linear-gradient( top, $top 0%, $bottom 100% );
|
4
|
+
background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) );
|
5
|
+
background: -webkit-linear-gradient( top, $top 0%, $bottom 100% );
|
6
|
+
background: -o-linear-gradient( top, $top 0%, $bottom 100% );
|
7
|
+
background: -ms-linear-gradient( top, $top 0%, $bottom 100% );
|
8
|
+
background: linear-gradient( top, $top 0%, $bottom 100% );
|
9
|
+
}
|
10
|
+
|
11
|
+
@mixin horizontal-gradient( $top, $bottom ) {
|
12
|
+
background: $top;
|
13
|
+
background: -moz-linear-gradient( left, $top 0%, $bottom 100% );
|
14
|
+
background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) );
|
15
|
+
background: -webkit-linear-gradient( left, $top 0%, $bottom 100% );
|
16
|
+
background: -o-linear-gradient( left, $top 0%, $bottom 100% );
|
17
|
+
background: -ms-linear-gradient( left, $top 0%, $bottom 100% );
|
18
|
+
background: linear-gradient( left, $top 0%, $bottom 100% );
|
19
|
+
}
|
20
|
+
|
21
|
+
@mixin radial-gradient( $outer, $inner, $type: circle ) {
|
22
|
+
background: $outer;
|
23
|
+
background: -moz-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
|
24
|
+
background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) );
|
25
|
+
background: -webkit-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
|
26
|
+
background: -o-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
|
27
|
+
background: -ms-radial-gradient( center, $type cover, $inner 0%, $outer 100% );
|
28
|
+
background: radial-gradient( center, $type cover, $inner 0%, $outer 100% );
|
29
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
// Base settings for all themes that can optionally be
|
2
|
+
// overridden by the super-theme
|
3
|
+
|
4
|
+
// Background of the presentation
|
5
|
+
$backgroundColor: #2b2b2b;
|
6
|
+
|
7
|
+
// Primary/body text
|
8
|
+
$mainFont: 'Lato', Times, 'Times New Roman', serif;
|
9
|
+
$mainFontSize: 36px;
|
10
|
+
$mainColor: #eee;
|
11
|
+
|
12
|
+
// Headings
|
13
|
+
$headingFont: 'League Gothic', Impact, sans-serif;
|
14
|
+
$headingColor: #eee;
|
15
|
+
$headingLineHeight: 0.9em;
|
16
|
+
$headingLetterSpacing: 0.02em;
|
17
|
+
$headingTextTransform: uppercase;
|
18
|
+
$headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
|
19
|
+
$heading1TextShadow: $headingTextShadow;
|
20
|
+
|
21
|
+
// Links and actions
|
22
|
+
$linkColor: #13DAEC;
|
23
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
24
|
+
|
25
|
+
// Text selection
|
26
|
+
$selectionBackgroundColor: #FF5E99;
|
27
|
+
$selectionColor: #fff;
|
28
|
+
|
29
|
+
// Generates the presentation background, can be overridden
|
30
|
+
// to return a background image or gradient
|
31
|
+
@mixin bodyBackground() {
|
32
|
+
background: $backgroundColor;
|
33
|
+
}
|