Permalink
Browse files

Fixing spotlight.... again

  • Loading branch information...
1 parent 05f152d commit 64098313e1c673ff00c2770540196f4eb4f794cf @LightGuard LightGuard committed May 22, 2012
Showing with 12 additions and 4 deletions.
  1. +5 −4 index.html.haml
  2. +7 −0 stylesheets/styles.scss
View
@@ -41,16 +41,17 @@ layout: landing
%h1 Spotlight
-# .slide required to fix IE bug in bootstrap < 2.1
#slideshow.carousel.slide
- - site.spotlights.each do |spotlight|
- .carousel-inner
+ .carousel-inner
+ - site.spotlights.each do |spotlight|
.item(weight="#{spotlight.weight}")
- .container.layout-sample
+ .layout-sample
.headline
%h2= spotlight.title
.content= spotlight.content
%a.carousel-control.left(href="#slideshow" data-slide="prev") &lsaquo;
%a.carousel-control.right(href="#slideshow" data-slide="next") &rsaquo;
- %script $(function() { activateSlideshow() })
+ :javascript
+ $('.carousel').carousel()
.section-heading
%h1 Upcoming Events
View
@@ -88,6 +88,13 @@
}
}
}
+.carousel .item {
+ margin: 0 75px;
+}
+.carousel-inner {
+ height: 75px;
+ min-height: 75px;
+}
/** End landing page */
/** Secondary pages */

0 comments on commit 6409831

Please sign in to comment.