aboutsummaryrefslogtreecommitdiff
path: root/theme/scss
diff options
context:
space:
mode:
authorEric Bidelman2012-04-22 10:31:40 -0700
committerEric Bidelman2012-04-22 10:31:40 -0700
commit6c5f4961caa11c682508eb511bf7c1ed505567e5 (patch)
treee6aa1dded0f2c0527ea577f65a4eca15c198e866 /theme/scss
parent0d7ebc7f3837563fff0952cb592d74f73520631a (diff)
downloadio-slides-remote-6c5f4961caa11c682508eb511bf7c1ed505567e5.tar.gz
image compress. reflect/center/more flexbox classes
Diffstat (limited to 'theme/scss')
-rw-r--r--theme/scss/_base.scss6
-rw-r--r--theme/scss/default.scss16
2 files changed, 20 insertions, 2 deletions
diff --git a/theme/scss/_base.scss b/theme/scss/_base.scss
index a3b00a8..ce9ee06 100644
--- a/theme/scss/_base.scss
+++ b/theme/scss/_base.scss
@@ -36,6 +36,12 @@
36 @include box-pack(center); 36 @include box-pack(center);
37} 37}
38 38
39@mixin flex-right-center {
40 @include box-orient(vertical);
41 @include box-align(end);
42 @include box-pack(center);
43}
44
39/** 45/**
40 * Base SlideDeck Styles 46 * Base SlideDeck Styles
41 */ 47 */
diff --git a/theme/scss/default.scss b/theme/scss/default.scss
index 0cc6e47..df96778 100644
--- a/theme/scss/default.scss
+++ b/theme/scss/default.scss
@@ -210,6 +210,12 @@ slides > slide {
210 > hgroup + article { 210 > hgroup + article {
211 margin-top: $article-content-top-padding; 211 margin-top: $article-content-top-padding;
212 212
213 &.flexbox {
214 &.vcenter, &.vleft, &.vright {
215 height: 80%;
216 }
217 }
218
213 p { 219 p {
214 margin-bottom: 1em; 220 margin-bottom: 1em;
215 } 221 }
@@ -740,7 +746,7 @@ article.smaller {
740 left: $slide-left-right-padding; 746 left: $slide-left-right-padding;
741} 747}
742 748
743/*.centered { 749.centered {
744 text-align: center; 750 text-align: center;
745} 751}
746 752
@@ -750,7 +756,7 @@ article.smaller {
750 -o-box-reflect: below 3px -o-linear-gradient(rgba(255,255,255,0) 85%, white 150%); 756 -o-box-reflect: below 3px -o-linear-gradient(rgba(255,255,255,0) 85%, white 150%);
751 -ms-box-reflect: below 3px -ms-linear-gradient(rgba(255,255,255,0) 85%, white 150%); 757 -ms-box-reflect: below 3px -ms-linear-gradient(rgba(255,255,255,0) 85%, white 150%);
752 box-reflect: below 3px linear-gradient(rgba(255,255,255,0) 85%, white 150%); 758 box-reflect: below 3px linear-gradient(rgba(255,255,255,0) 85%, white 150%);
753}*/ 759}
754 760
755.flexbox { 761.flexbox {
756 @include flexbox; 762 @include flexbox;
@@ -768,6 +774,12 @@ article.smaller {
768 width: 100%; 774 width: 100%;
769} 775}
770 776
777.flexbox.vright {
778 @include flex-right-center;
779 height: 100%;
780 width: 100%;
781}
782
771.auto-fadein { 783.auto-fadein {
772 @include transition(opacity 0.6s ease-in 1s); 784 @include transition(opacity 0.6s ease-in 1s);
773 opacity: 0; 785 opacity: 0;