Permalink
Browse files

all files accounted for

  • Loading branch information...
mirisuzanne committed Apr 15, 2010
1 parent 82b7394 commit 41a4a620cfbec401d815eae94d1b498f77e628f7
Showing with 68 additions and 0 deletions.
  1. +14 −0 stylesheets/_css-slideshow.scss
  2. +21 −0 stylesheets/css-slideshow/_slideshow.scss
  3. +33 −0 templates/project/_slideshow.scss
@@ -0,0 +1,14 @@
+// CSS SLIDESHOWS
+// Plugin by Eric Meyer - http://www.oddbird.net/
+// Based on the work of Jenna Smith - http://growldesign.co.uk/
+
+// Compatible with IE6+, Mozilla and Webkit browsers.
+// **Not compatible with Opera without Javascript help**
+
+// Override with the proper class names for your slide/slide-nav containers
+$slide-container: ".slides" !default;
+
+$max-slides: 10 !default;
+
+// import lightboxes
+@import "css-slideshow/slideshow";
@@ -0,0 +1,21 @@
+// Apply +slideshow to the slideshow container
+@mixin slideshow($slides: $slide-container, $count: $max-slides) {
+ #{$slides} {
+ width: 100%;
+ overflow: hidden;
+
+ > ul {
+ margin: 0;
+ padding: 0;
+ width: 103% * $count;
+ @include no-bullets;
+ @include clearfix;
+
+ > li {
+ @include float(left);
+ width: 100% / (1.03 * $count);
+ margin-right: .5% / (1.03 * $count);
+ }
+ }
+ }
+}
@@ -0,0 +1,33 @@
+// CSS-only Lightboxes
+// Plugin by Eric Meyer - http://www.oddbird.net/
+// Based on the work of Jenna Smith - http://growldesign.co.uk/
+
+// Compatible with IE6+, Mozilla and Webkit browsers.
+// **Not compatible with Opera without Javascript help**
+
+// Override with the proper class names for your slide/slide-nav containers
+$slide-container: ".slides";
+
+$max-slides: 10;
+
+// import lightboxes
+@import "css-slideshow";
+
+// Make a slideshow
+.slideshow {
+ @include slideshow;
+
+ // Style the slideshow yourself
+ #{$slide-container} {
+ background: #cccccc;
+
+ .content {
+ padding: 1.5em;
+ }
+
+ h2 {
+ padding: 0.75em;
+ background: #aaaaaa;
+ }
+ }
+}

0 comments on commit 41a4a62

Please sign in to comment.