reveal-jekyll 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +94 -0
- data/_includes/basements.html +7 -0
- data/_includes/head.html +39 -0
- data/_includes/reveal.html +25 -0
- data/_layouts/presentation.html +26 -0
- data/_layouts/raw.html +20 -0
- data/assets/css/print/paper.css +203 -0
- data/assets/css/print/pdf.css +164 -0
- data/assets/css/reset.css +30 -0
- data/assets/css/reveal.css +1598 -0
- data/assets/css/reveal.scss +1768 -0
- data/assets/css/rouge-highlight/monokai.css +210 -0
- data/assets/css/theme/README.md +21 -0
- data/assets/css/theme/beige.css +277 -0
- data/assets/css/theme/black.css +273 -0
- data/assets/css/theme/blood.css +296 -0
- data/assets/css/theme/league.css +279 -0
- data/assets/css/theme/moon.css +277 -0
- data/assets/css/theme/night.css +271 -0
- data/assets/css/theme/serif.css +273 -0
- data/assets/css/theme/simple.css +276 -0
- data/assets/css/theme/sky.css +280 -0
- data/assets/css/theme/solarized.css +277 -0
- data/assets/css/theme/source/beige.scss +39 -0
- data/assets/css/theme/source/black.scss +49 -0
- data/assets/css/theme/source/blood.scss +78 -0
- data/assets/css/theme/source/league.scss +34 -0
- data/assets/css/theme/source/moon.scss +57 -0
- data/assets/css/theme/source/night.scss +34 -0
- data/assets/css/theme/source/serif.scss +35 -0
- data/assets/css/theme/source/simple.scss +43 -0
- data/assets/css/theme/source/sky.scss +46 -0
- data/assets/css/theme/source/solarized.scss +63 -0
- data/assets/css/theme/source/white.scss +49 -0
- data/assets/css/theme/template/mixins.scss +29 -0
- data/assets/css/theme/template/settings.scss +45 -0
- data/assets/css/theme/template/theme.scss +325 -0
- data/assets/css/theme/white.css +273 -0
- data/assets/js/reveal.js +6028 -0
- data/assets/lib/css/monokai.css +71 -0
- data/assets/lib/css/zenburn.css +80 -0
- data/assets/lib/font/Pacifico/Pacifico.eot +0 -0
- data/assets/lib/font/Pacifico/Pacifico.svg +10833 -0
- data/assets/lib/font/Pacifico/Pacifico.ttf +0 -0
- data/assets/lib/font/Pacifico/Pacifico.woff +0 -0
- data/assets/lib/font/Pacifico/Pacifico.woff2 +0 -0
- data/assets/lib/font/Pacifico/original-pacifico-regular.ttf +0 -0
- data/assets/lib/font/fontawesome/FontAwesome.otf +0 -0
- data/assets/lib/font/fontawesome/fontawesome-webfont.eot +0 -0
- data/assets/lib/font/fontawesome/fontawesome-webfont.svg +2671 -0
- data/assets/lib/font/fontawesome/fontawesome-webfont.ttf +0 -0
- data/assets/lib/font/fontawesome/fontawesome-webfont.woff +0 -0
- data/assets/lib/font/fontawesome/fontawesome-webfont.woff2 +0 -0
- data/assets/lib/font/league-gothic/LICENSE +2 -0
- data/assets/lib/font/league-gothic/league-gothic.css +10 -0
- data/assets/lib/font/league-gothic/league-gothic.eot +0 -0
- data/assets/lib/font/league-gothic/league-gothic.ttf +0 -0
- data/assets/lib/font/league-gothic/league-gothic.woff +0 -0
- data/assets/lib/font/source-sans-pro/LICENSE +45 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
- data/assets/lib/font/source-sans-pro/source-sans-pro.css +39 -0
- data/assets/lib/js/html5shiv.js +7 -0
- data/assets/lib/js/promise.js +2 -0
- data/assets/plugin/highlight/highlight.js +168 -0
- data/assets/plugin/markdown/example.html +134 -0
- data/assets/plugin/markdown/example.md +36 -0
- data/assets/plugin/markdown/markdown.js +446 -0
- data/assets/plugin/markdown/marked.js +6 -0
- data/assets/plugin/math/math.js +92 -0
- data/assets/plugin/multiplex/client.js +13 -0
- data/assets/plugin/multiplex/index.js +64 -0
- data/assets/plugin/multiplex/master.js +34 -0
- data/assets/plugin/multiplex/package.json +19 -0
- data/assets/plugin/notes-server/client.js +65 -0
- data/assets/plugin/notes-server/index.js +69 -0
- data/assets/plugin/notes-server/notes.html +585 -0
- data/assets/plugin/notes/notes.html +834 -0
- data/assets/plugin/notes/notes.js +178 -0
- data/assets/plugin/print-pdf/print-pdf.js +67 -0
- data/assets/plugin/search/search.js +206 -0
- data/assets/plugin/zoom-js/zoom.js +277 -0
- metadata +180 -0
@@ -0,0 +1,57 @@
|
|
1
|
+
/**
|
2
|
+
* Solarized Dark theme for reveal.js.
|
3
|
+
* Author: Achim Staebler
|
4
|
+
*/
|
5
|
+
|
6
|
+
|
7
|
+
// Default mixins and settings -----------------
|
8
|
+
@import "../template/mixins";
|
9
|
+
@import "../template/settings";
|
10
|
+
// ---------------------------------------------
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
// Include theme-specific fonts
|
15
|
+
@import url(../../lib/font/league-gothic/league-gothic.css);
|
16
|
+
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Solarized colors by Ethan Schoonover
|
20
|
+
*/
|
21
|
+
html * {
|
22
|
+
color-profile: sRGB;
|
23
|
+
rendering-intent: auto;
|
24
|
+
}
|
25
|
+
|
26
|
+
// Solarized colors
|
27
|
+
$base03: #002b36;
|
28
|
+
$base02: #073642;
|
29
|
+
$base01: #586e75;
|
30
|
+
$base00: #657b83;
|
31
|
+
$base0: #839496;
|
32
|
+
$base1: #93a1a1;
|
33
|
+
$base2: #eee8d5;
|
34
|
+
$base3: #fdf6e3;
|
35
|
+
$yellow: #b58900;
|
36
|
+
$orange: #cb4b16;
|
37
|
+
$red: #dc322f;
|
38
|
+
$magenta: #d33682;
|
39
|
+
$violet: #6c71c4;
|
40
|
+
$blue: #268bd2;
|
41
|
+
$cyan: #2aa198;
|
42
|
+
$green: #859900;
|
43
|
+
|
44
|
+
// Override theme settings (see ../template/settings.scss)
|
45
|
+
$mainColor: $base1;
|
46
|
+
$headingColor: $base2;
|
47
|
+
$headingTextShadow: none;
|
48
|
+
$backgroundColor: $base03;
|
49
|
+
$linkColor: $blue;
|
50
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
51
|
+
$selectionBackgroundColor: $magenta;
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
// Theme template ------------------------------
|
56
|
+
@import "../template/theme";
|
57
|
+
// ---------------------------------------------
|
@@ -0,0 +1,34 @@
|
|
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(https://fonts.googleapis.com/css?family=Montserrat:700);
|
16
|
+
@import url(https://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', sans-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
|
+
|
31
|
+
|
32
|
+
// Theme template ------------------------------
|
33
|
+
@import "../template/theme";
|
34
|
+
// ---------------------------------------------
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/**
|
2
|
+
* A simple theme for reveal.js presentations, similar
|
3
|
+
* to the default theme. The accent color is brown.
|
4
|
+
*
|
5
|
+
* This theme is Copyright (C) 2012-2013 Owen Versteeg, http://owenversteeg.com - it is MIT licensed.
|
6
|
+
*/
|
7
|
+
|
8
|
+
|
9
|
+
// Default mixins and settings -----------------
|
10
|
+
@import "../template/mixins";
|
11
|
+
@import "../template/settings";
|
12
|
+
// ---------------------------------------------
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
// Override theme settings (see ../template/settings.scss)
|
17
|
+
$mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
|
18
|
+
$mainColor: #000;
|
19
|
+
$headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
|
20
|
+
$headingColor: #383D3D;
|
21
|
+
$headingTextShadow: none;
|
22
|
+
$headingTextTransform: none;
|
23
|
+
$backgroundColor: #F0F1EB;
|
24
|
+
$linkColor: #51483D;
|
25
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
26
|
+
$selectionBackgroundColor: #26351C;
|
27
|
+
|
28
|
+
.reveal a {
|
29
|
+
line-height: 1.3em;
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
// Theme template ------------------------------
|
34
|
+
@import "../template/theme";
|
35
|
+
// ---------------------------------------------
|
@@ -0,0 +1,43 @@
|
|
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(https://fonts.googleapis.com/css?family=News+Cycle:400,700);
|
19
|
+
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
20
|
+
|
21
|
+
|
22
|
+
// Override theme settings (see ../template/settings.scss)
|
23
|
+
$mainFont: 'Lato', sans-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
|
+
section.has-dark-background {
|
35
|
+
&, h1, h2, h3, h4, h5, h6 {
|
36
|
+
color: #fff;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
// Theme template ------------------------------
|
42
|
+
@import "../template/theme";
|
43
|
+
// ---------------------------------------------
|
@@ -0,0 +1,46 @@
|
|
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(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
|
17
|
+
@import url(https://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
|
+
// Fix links so they are not cut off
|
33
|
+
.reveal a {
|
34
|
+
line-height: 1.3em;
|
35
|
+
}
|
36
|
+
|
37
|
+
// Background generator
|
38
|
+
@mixin bodyBackground() {
|
39
|
+
@include radial-gradient( #add9e4, #f7fbfc );
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
// Theme template ------------------------------
|
45
|
+
@import "../template/theme";
|
46
|
+
// ---------------------------------------------
|
@@ -0,0 +1,63 @@
|
|
1
|
+
/**
|
2
|
+
* Solarized Light theme for reveal.js.
|
3
|
+
* Author: Achim Staebler
|
4
|
+
*/
|
5
|
+
|
6
|
+
|
7
|
+
// Default mixins and settings -----------------
|
8
|
+
@import "../template/mixins";
|
9
|
+
@import "../template/settings";
|
10
|
+
// ---------------------------------------------
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
// Include theme-specific fonts
|
15
|
+
@import url(../../lib/font/league-gothic/league-gothic.css);
|
16
|
+
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
17
|
+
|
18
|
+
|
19
|
+
/**
|
20
|
+
* Solarized colors by Ethan Schoonover
|
21
|
+
*/
|
22
|
+
html * {
|
23
|
+
color-profile: sRGB;
|
24
|
+
rendering-intent: auto;
|
25
|
+
}
|
26
|
+
|
27
|
+
// Solarized colors
|
28
|
+
$base03: #002b36;
|
29
|
+
$base02: #073642;
|
30
|
+
$base01: #586e75;
|
31
|
+
$base00: #657b83;
|
32
|
+
$base0: #839496;
|
33
|
+
$base1: #93a1a1;
|
34
|
+
$base2: #eee8d5;
|
35
|
+
$base3: #fdf6e3;
|
36
|
+
$yellow: #b58900;
|
37
|
+
$orange: #cb4b16;
|
38
|
+
$red: #dc322f;
|
39
|
+
$magenta: #d33682;
|
40
|
+
$violet: #6c71c4;
|
41
|
+
$blue: #268bd2;
|
42
|
+
$cyan: #2aa198;
|
43
|
+
$green: #859900;
|
44
|
+
|
45
|
+
// Override theme settings (see ../template/settings.scss)
|
46
|
+
$mainColor: $base00;
|
47
|
+
$headingColor: $base01;
|
48
|
+
$headingTextShadow: none;
|
49
|
+
$backgroundColor: $base3;
|
50
|
+
$linkColor: $blue;
|
51
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
52
|
+
$selectionBackgroundColor: $magenta;
|
53
|
+
|
54
|
+
// Background generator
|
55
|
+
// @mixin bodyBackground() {
|
56
|
+
// @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) );
|
57
|
+
// }
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
// Theme template ------------------------------
|
62
|
+
@import "../template/theme";
|
63
|
+
// ---------------------------------------------
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* White theme for reveal.js. This is the opposite of the 'black' theme.
|
3
|
+
*
|
4
|
+
* By 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(../../lib/font/source-sans-pro/source-sans-pro.css);
|
16
|
+
|
17
|
+
|
18
|
+
// Override theme settings (see ../template/settings.scss)
|
19
|
+
$backgroundColor: #fff;
|
20
|
+
|
21
|
+
$mainColor: #222;
|
22
|
+
$headingColor: #222;
|
23
|
+
|
24
|
+
$mainFontSize: 42px;
|
25
|
+
$mainFont: 'Source Sans Pro', Helvetica, sans-serif;
|
26
|
+
$headingFont: 'Source Sans Pro', Helvetica, sans-serif;
|
27
|
+
$headingTextShadow: none;
|
28
|
+
$headingLetterSpacing: normal;
|
29
|
+
$headingTextTransform: uppercase;
|
30
|
+
$headingFontWeight: 600;
|
31
|
+
$linkColor: #2a76dd;
|
32
|
+
$linkColorHover: lighten( $linkColor, 15% );
|
33
|
+
$selectionBackgroundColor: lighten( $linkColor, 25% );
|
34
|
+
|
35
|
+
$heading1Size: 2.5em;
|
36
|
+
$heading2Size: 1.6em;
|
37
|
+
$heading3Size: 1.3em;
|
38
|
+
$heading4Size: 1.0em;
|
39
|
+
|
40
|
+
section.has-dark-background {
|
41
|
+
&, h1, h2, h3, h4, h5, h6 {
|
42
|
+
color: #fff;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
|
47
|
+
// Theme template ------------------------------
|
48
|
+
@import "../template/theme";
|
49
|
+
// ---------------------------------------------
|
@@ -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,45 @@
|
|
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', sans-serif;
|
9
|
+
$mainFontSize: 40px;
|
10
|
+
$mainColor: #eee;
|
11
|
+
|
12
|
+
// Vertical spacing between blocks of text
|
13
|
+
$blockMargin: 20px;
|
14
|
+
|
15
|
+
// Headings
|
16
|
+
$headingMargin: 0 0 $blockMargin 0;
|
17
|
+
$headingFont: 'League Gothic', Impact, sans-serif;
|
18
|
+
$headingColor: #eee;
|
19
|
+
$headingLineHeight: 1.2;
|
20
|
+
$headingLetterSpacing: normal;
|
21
|
+
$headingTextTransform: uppercase;
|
22
|
+
$headingTextShadow: none;
|
23
|
+
$headingFontWeight: normal;
|
24
|
+
$heading1TextShadow: $headingTextShadow;
|
25
|
+
|
26
|
+
$heading1Size: 3.77em;
|
27
|
+
$heading2Size: 2.11em;
|
28
|
+
$heading3Size: 1.55em;
|
29
|
+
$heading4Size: 1.00em;
|
30
|
+
|
31
|
+
$codeFont: monospace;
|
32
|
+
|
33
|
+
// Links and actions
|
34
|
+
$linkColor: #13DAEC;
|
35
|
+
$linkColorHover: lighten( $linkColor, 20% );
|
36
|
+
|
37
|
+
// Text selection
|
38
|
+
$selectionBackgroundColor: #FF5E99;
|
39
|
+
$selectionColor: #fff;
|
40
|
+
|
41
|
+
// Generates the presentation background, can be overridden
|
42
|
+
// to return a background image or gradient
|
43
|
+
@mixin bodyBackground() {
|
44
|
+
background: $backgroundColor;
|
45
|
+
}
|
@@ -0,0 +1,325 @@
|
|
1
|
+
// Base theme template for reveal.js
|
2
|
+
|
3
|
+
/*********************************************
|
4
|
+
* GLOBAL STYLES
|
5
|
+
*********************************************/
|
6
|
+
|
7
|
+
body {
|
8
|
+
@include bodyBackground();
|
9
|
+
background-color: $backgroundColor;
|
10
|
+
}
|
11
|
+
|
12
|
+
.reveal {
|
13
|
+
font-family: $mainFont;
|
14
|
+
font-size: $mainFontSize;
|
15
|
+
font-weight: normal;
|
16
|
+
color: $mainColor;
|
17
|
+
}
|
18
|
+
|
19
|
+
::selection {
|
20
|
+
color: $selectionColor;
|
21
|
+
background: $selectionBackgroundColor;
|
22
|
+
text-shadow: none;
|
23
|
+
}
|
24
|
+
|
25
|
+
::-moz-selection {
|
26
|
+
color: $selectionColor;
|
27
|
+
background: $selectionBackgroundColor;
|
28
|
+
text-shadow: none;
|
29
|
+
}
|
30
|
+
|
31
|
+
.reveal .slides section,
|
32
|
+
.reveal .slides section>section {
|
33
|
+
line-height: 1.3;
|
34
|
+
font-weight: inherit;
|
35
|
+
}
|
36
|
+
|
37
|
+
/*********************************************
|
38
|
+
* HEADERS
|
39
|
+
*********************************************/
|
40
|
+
|
41
|
+
.reveal h1,
|
42
|
+
.reveal h2,
|
43
|
+
.reveal h3,
|
44
|
+
.reveal h4,
|
45
|
+
.reveal h5,
|
46
|
+
.reveal h6 {
|
47
|
+
margin: $headingMargin;
|
48
|
+
color: $headingColor;
|
49
|
+
|
50
|
+
font-family: $headingFont;
|
51
|
+
font-weight: $headingFontWeight;
|
52
|
+
line-height: $headingLineHeight;
|
53
|
+
letter-spacing: $headingLetterSpacing;
|
54
|
+
|
55
|
+
text-transform: $headingTextTransform;
|
56
|
+
text-shadow: $headingTextShadow;
|
57
|
+
|
58
|
+
word-wrap: break-word;
|
59
|
+
}
|
60
|
+
|
61
|
+
.reveal h1 {font-size: $heading1Size; }
|
62
|
+
.reveal h2 {font-size: $heading2Size; }
|
63
|
+
.reveal h3 {font-size: $heading3Size; }
|
64
|
+
.reveal h4 {font-size: $heading4Size; }
|
65
|
+
|
66
|
+
.reveal h1 {
|
67
|
+
text-shadow: $heading1TextShadow;
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
/*********************************************
|
72
|
+
* OTHER
|
73
|
+
*********************************************/
|
74
|
+
|
75
|
+
.reveal p {
|
76
|
+
margin: $blockMargin 0;
|
77
|
+
line-height: 1.3;
|
78
|
+
}
|
79
|
+
|
80
|
+
/* Ensure certain elements are never larger than the slide itself */
|
81
|
+
.reveal img,
|
82
|
+
.reveal video,
|
83
|
+
.reveal iframe {
|
84
|
+
max-width: 95%;
|
85
|
+
max-height: 95%;
|
86
|
+
}
|
87
|
+
.reveal strong,
|
88
|
+
.reveal b {
|
89
|
+
font-weight: bold;
|
90
|
+
}
|
91
|
+
|
92
|
+
.reveal em {
|
93
|
+
font-style: italic;
|
94
|
+
}
|
95
|
+
|
96
|
+
.reveal ol,
|
97
|
+
.reveal dl,
|
98
|
+
.reveal ul {
|
99
|
+
display: inline-block;
|
100
|
+
|
101
|
+
text-align: left;
|
102
|
+
margin: 0 0 0 1em;
|
103
|
+
}
|
104
|
+
|
105
|
+
.reveal ol {
|
106
|
+
list-style-type: decimal;
|
107
|
+
}
|
108
|
+
|
109
|
+
.reveal ul {
|
110
|
+
list-style-type: disc;
|
111
|
+
}
|
112
|
+
|
113
|
+
.reveal ul ul {
|
114
|
+
list-style-type: square;
|
115
|
+
}
|
116
|
+
|
117
|
+
.reveal ul ul ul {
|
118
|
+
list-style-type: circle;
|
119
|
+
}
|
120
|
+
|
121
|
+
.reveal ul ul,
|
122
|
+
.reveal ul ol,
|
123
|
+
.reveal ol ol,
|
124
|
+
.reveal ol ul {
|
125
|
+
display: block;
|
126
|
+
margin-left: 40px;
|
127
|
+
}
|
128
|
+
|
129
|
+
.reveal dt {
|
130
|
+
font-weight: bold;
|
131
|
+
}
|
132
|
+
|
133
|
+
.reveal dd {
|
134
|
+
margin-left: 40px;
|
135
|
+
}
|
136
|
+
|
137
|
+
.reveal blockquote {
|
138
|
+
display: block;
|
139
|
+
position: relative;
|
140
|
+
width: 70%;
|
141
|
+
margin: $blockMargin auto;
|
142
|
+
padding: 5px;
|
143
|
+
|
144
|
+
font-style: italic;
|
145
|
+
background: rgba(255, 255, 255, 0.05);
|
146
|
+
box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
|
147
|
+
}
|
148
|
+
.reveal blockquote p:first-child,
|
149
|
+
.reveal blockquote p:last-child {
|
150
|
+
display: inline-block;
|
151
|
+
}
|
152
|
+
|
153
|
+
.reveal q {
|
154
|
+
font-style: italic;
|
155
|
+
}
|
156
|
+
|
157
|
+
.reveal pre {
|
158
|
+
display: block;
|
159
|
+
position: relative;
|
160
|
+
width: 90%;
|
161
|
+
margin: $blockMargin auto;
|
162
|
+
|
163
|
+
text-align: left;
|
164
|
+
font-size: 0.55em;
|
165
|
+
font-family: $codeFont;
|
166
|
+
line-height: 1.2em;
|
167
|
+
|
168
|
+
word-wrap: break-word;
|
169
|
+
|
170
|
+
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
|
171
|
+
}
|
172
|
+
|
173
|
+
.reveal code {
|
174
|
+
font-family: $codeFont;
|
175
|
+
text-transform: none;
|
176
|
+
}
|
177
|
+
|
178
|
+
.reveal pre code {
|
179
|
+
display: block;
|
180
|
+
padding: 5px;
|
181
|
+
overflow: auto;
|
182
|
+
max-height: 400px;
|
183
|
+
word-wrap: normal;
|
184
|
+
}
|
185
|
+
|
186
|
+
.reveal table {
|
187
|
+
margin: auto;
|
188
|
+
border-collapse: collapse;
|
189
|
+
border-spacing: 0;
|
190
|
+
}
|
191
|
+
|
192
|
+
.reveal table th {
|
193
|
+
font-weight: bold;
|
194
|
+
}
|
195
|
+
|
196
|
+
.reveal table th,
|
197
|
+
.reveal table td {
|
198
|
+
text-align: left;
|
199
|
+
padding: 0.2em 0.5em 0.2em 0.5em;
|
200
|
+
border-bottom: 1px solid;
|
201
|
+
}
|
202
|
+
|
203
|
+
.reveal table th[align="center"],
|
204
|
+
.reveal table td[align="center"] {
|
205
|
+
text-align: center;
|
206
|
+
}
|
207
|
+
|
208
|
+
.reveal table th[align="right"],
|
209
|
+
.reveal table td[align="right"] {
|
210
|
+
text-align: right;
|
211
|
+
}
|
212
|
+
|
213
|
+
.reveal table tbody tr:last-child th,
|
214
|
+
.reveal table tbody tr:last-child td {
|
215
|
+
border-bottom: none;
|
216
|
+
}
|
217
|
+
|
218
|
+
.reveal sup {
|
219
|
+
vertical-align: super;
|
220
|
+
font-size: smaller;
|
221
|
+
}
|
222
|
+
.reveal sub {
|
223
|
+
vertical-align: sub;
|
224
|
+
font-size: smaller;
|
225
|
+
}
|
226
|
+
|
227
|
+
.reveal small {
|
228
|
+
display: inline-block;
|
229
|
+
font-size: 0.6em;
|
230
|
+
line-height: 1.2em;
|
231
|
+
vertical-align: top;
|
232
|
+
}
|
233
|
+
|
234
|
+
.reveal small * {
|
235
|
+
vertical-align: top;
|
236
|
+
}
|
237
|
+
|
238
|
+
|
239
|
+
/*********************************************
|
240
|
+
* LINKS
|
241
|
+
*********************************************/
|
242
|
+
|
243
|
+
.reveal a {
|
244
|
+
color: $linkColor;
|
245
|
+
text-decoration: none;
|
246
|
+
|
247
|
+
-webkit-transition: color .15s ease;
|
248
|
+
-moz-transition: color .15s ease;
|
249
|
+
transition: color .15s ease;
|
250
|
+
}
|
251
|
+
.reveal a:hover {
|
252
|
+
color: $linkColorHover;
|
253
|
+
|
254
|
+
text-shadow: none;
|
255
|
+
border: none;
|
256
|
+
}
|
257
|
+
|
258
|
+
.reveal .roll span:after {
|
259
|
+
color: #fff;
|
260
|
+
background: darken( $linkColor, 15% );
|
261
|
+
}
|
262
|
+
|
263
|
+
|
264
|
+
/*********************************************
|
265
|
+
* IMAGES
|
266
|
+
*********************************************/
|
267
|
+
|
268
|
+
.reveal section img {
|
269
|
+
margin: 15px 0px;
|
270
|
+
background: rgba(255,255,255,0.12);
|
271
|
+
border: 4px solid $mainColor;
|
272
|
+
|
273
|
+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
|
274
|
+
}
|
275
|
+
|
276
|
+
.reveal section img.plain {
|
277
|
+
border: 0;
|
278
|
+
box-shadow: none;
|
279
|
+
}
|
280
|
+
|
281
|
+
.reveal a img {
|
282
|
+
-webkit-transition: all .15s linear;
|
283
|
+
-moz-transition: all .15s linear;
|
284
|
+
transition: all .15s linear;
|
285
|
+
}
|
286
|
+
|
287
|
+
.reveal a:hover img {
|
288
|
+
background: rgba(255,255,255,0.2);
|
289
|
+
border-color: $linkColor;
|
290
|
+
|
291
|
+
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
|
292
|
+
}
|
293
|
+
|
294
|
+
|
295
|
+
/*********************************************
|
296
|
+
* NAVIGATION CONTROLS
|
297
|
+
*********************************************/
|
298
|
+
|
299
|
+
.reveal .controls {
|
300
|
+
color: $linkColor;
|
301
|
+
}
|
302
|
+
|
303
|
+
|
304
|
+
/*********************************************
|
305
|
+
* PROGRESS BAR
|
306
|
+
*********************************************/
|
307
|
+
|
308
|
+
.reveal .progress {
|
309
|
+
background: rgba(0,0,0,0.2);
|
310
|
+
color: $linkColor;
|
311
|
+
}
|
312
|
+
.reveal .progress span {
|
313
|
+
-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
314
|
+
-moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
315
|
+
transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
|
316
|
+
}
|
317
|
+
|
318
|
+
/*********************************************
|
319
|
+
* PRINT BACKGROUND
|
320
|
+
*********************************************/
|
321
|
+
@media print {
|
322
|
+
.backgrounds {
|
323
|
+
background-color: $backgroundColor;
|
324
|
+
}
|
325
|
+
}
|