aboutsummaryrefslogtreecommitdiff
path: root/theme/sass/_base.scss
diff options
context:
space:
mode:
Diffstat (limited to 'theme/sass/_base.scss')
-rw-r--r--theme/sass/_base.scss132
1 files changed, 132 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}