aboutsummaryrefslogtreecommitdiff
path: root/theme/sass
diff options
context:
space:
mode:
Diffstat (limited to 'theme/sass')
-rw-r--r--theme/sass/_base.scss132
-rw-r--r--theme/sass/default.scss1127
2 files changed, 1259 insertions, 0 deletions
diff --git a/theme/sass/_base.scss b/theme/sass/_base.scss
new file mode 100644
index 0000000..6ffe8d6
--- /dev/null
+++ b/theme/sass/_base.scss
@@ -0,0 +1,132 @@
1//@import "compass/reset";
2@import "compass/css3/border-radius";
3//@import "compass/css3/box";
4@import "compass/css3/box-shadow";
5@import "compass/css3/box-sizing";
6@import "compass/css3/images";
7@import "compass/css3/text-shadow";
8@import "compass/css3/background-size";
9@import "compass/css3/transform";
10@import "compass/css3/transition";
11
12@mixin font-smoothing($val: antialiased) {
13 -webkit-font-smoothing: $val;
14 -moz-font-smoothing: $val;
15 -ms-font-smoothing: $val;
16 -o-font-smoothing: $val;
17}
18
19/**
20 * Base SlideDeck Styles
21 */
22html {
23 height: 100%;
24 overflow: hidden;
25}
26
27body {
28 margin: 0;
29 padding: 0;
30
31 display: block !important;
32
33 height: 100%;
34 min-height: 740px;
35
36 overflow-x: hidden;
37 overflow-y: auto;
38
39 color: #fff;
40 @include font-smoothing(antialiased);
41}
42
43slides {
44 width: 100%;
45 height: 100%;
46 position: absolute;
47 left: 0;
48 top: 0;
49 @include transform(translate3d(0, 0, 0));
50 @include perspective(1000);
51 @include transform-style(preserve-3d);
52}
53
54slides > slide {
55 display: block;
56 position: absolute;
57 overflow: hidden;
58 left: 50%;
59 top: 50%;
60 @include box-sizing(border-box);
61}
62
63
64/* Clickable/tappable areas */
65/*
66.slide-area {
67 z-index: 1000;
68
69 position: absolute;
70 left: 0;
71 top: 0;
72 width: 150px;
73 height: 700px;
74
75 left: 50%;
76 top: 50%;
77
78 cursor: pointer;
79 margin-top: -350px;
80
81 tap-highlight-color: transparent;
82 -o-tap-highlight-color: transparent;
83 -moz-tap-highlight-color: transparent;
84 -webkit-tap-highlight-color: transparent;
85}
86#prev-slide-area {
87 margin-left: -550px;
88}
89#next-slide-area {
90 margin-left: 400px;
91}
92.slides.layout-widescreen #prev-slide-area,
93.slides.layout-faux-widescreen #prev-slide-area {
94 margin-left: -650px;
95}
96.slides.layout-widescreen #next-slide-area,
97.slides.layout-faux-widescreen #next-slide-area {
98 margin-left: 500px;
99}*/
100
101/* Slide styles */
102
103
104article.fill iframe {
105 position: absolute;
106 left: 0;
107 top: 0;
108 width: 100%;
109 height: 100%;
110
111 border: 0;
112 margin: 0;
113
114 @include border-radius(10px);
115
116 z-index: -1;
117}
118
119slide.fill {
120 background-repeat: no-repeat;
121 @include background-size(cover);
122}
123
124slide.fill img {
125 position: absolute;
126 left: 0;
127 top: 0;
128 min-width: 100%;
129 min-height: 100%;
130
131 z-index: -1;
132}
diff --git a/theme/sass/default.scss b/theme/sass/default.scss
new file mode 100644
index 0000000..d1c6591
--- /dev/null
+++ b/theme/sass/default.scss
@@ -0,0 +1,1127 @@
1@import "base";
2
3/**
4 * Theme Styles
5 */
6::selection {
7 color: white;
8 background-color: red;
9 @include text-shadow(none);
10}
11
12body {
13 @include background-image(radial-gradient(50% 50%, #b1dfff 0%, #0c54ab 600px));
14 background-attachment: fixed;
15}
16
17slides > slide {
18 width: 900px;
19 height: 700px;
20 margin-left: -450px;
21 margin-top: -350px;
22
23 padding: 40px 60px;
24
25 background-color: white;
26
27 @include border-radius(10px);
28 @include box-shadow(5px 5px 20px black);
29 @include transition(all .3s ease-out);
30}
31
32slides.layout-widescreen > slide {
33 margin-left: -550px;
34 width: 1100px;
35}
36
37slides.layout-faux-widescreen > slide {
38 margin-left: -550px;
39 width: 1100px;
40 padding: 40px 160px;
41}
42
43slides > slide:not(.nobackground):not(.biglogo):not(.fill) {
44 background: white url(/images/gdd2011_banner.png) 105% 99% no-repeat;
45}
46
47slides.nobackground slide:not(.fill) {
48 background: url(/images/devfest_logo_small.png) 98% 99% no-repeat,
49 url(/images/bubbles.png) 5% -125px no-repeat,
50 url(/images/colorbar.png) 0 91% repeat-x,
51 white !important;
52}
53
54slides.nobackground slide:not(.fill)::after,
55slides.nobackground slide:not(.fill)::before {
56 color: inherit !important;
57}
58
59slides > slide:not(:first-of-type):not(.biglogo):not(.fill):not(.nobackground)::after {
60 content: attr(data-slide-num) ' / ' attr(data-total-slides);
61 position: absolute;
62 bottom: 2%;
63 left: 2%;
64 font-size: 12pt;
65 color: white;
66}
67
68slides > slide:not(:first-of-type):not(.biglogo):not(.fill):not(.nobackground)::before {
69 position: absolute;
70 bottom: 14px;
71 left: 275px;
72 font-size: 18pt;
73 color: white;
74 content: '@ebidel #gddjp';
75}
76
77slides.layout-widescreen > slide:not(.nobackground):not(.biglogo),
78slides.layout-faux-widescreen > slide:not(.nobackground):not(.biglogo) {
79 background-position-x: 0, 840px;
80}
81
82/* Slide Styles */
83
84slide.biglogo {
85 background: url(/images/google_logo.png) 50% 50% no-repeat,
86 url(/images/gdd2011_banner.png) 105% 99% no-repeat, white;
87}
88
89/* Slides */
90
91slides > slide {
92 display: none;
93}
94
95slides > slide.far-past {
96 display: block;
97 -o-transform: translate(-2040px);
98 -moz-transform: translate(-2040px);
99 -webkit-transform: translate3d(-2040px, 0, 0);
100 transform: translate(-2040px);
101}
102
103slides > slide.past {
104 display: block;
105 -o-transform: translate(-1020px) rotateY(30deg) rotateX(45deg);
106 -moz-transform: translate(-1020px) rotateY(30deg) rotateX(45deg);
107 -webkit-transform: translate3d(-1020px, 0, 0) rotateY(30deg) rotateX(45deg);
108 transform: translate(-1020px) rotateY(30deg) rotateX(45deg);
109}
110
111slides > slide.current {
112 display: block;
113 -o-transform: translate(0);
114 -moz-transform: translate(0);
115 -webkit-transform: translate3d(0, 0, 0);
116 transform: translate(0);
117}
118
119slides > slide.next {