Skip to content

Commit

Permalink
all files accounted for
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Apr 15, 2010
1 parent 82b7394 commit 41a4a62
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
14 changes: 14 additions & 0 deletions stylesheets/_css-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";
21 changes: 21 additions & 0 deletions stylesheets/css-slideshow/_slideshow.scss
@@ -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);
}
}
}
}
33 changes: 33 additions & 0 deletions templates/project/_slideshow.scss
@@ -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.