Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing spotlight.... again

  • Loading branch information...
commit 64098313e1c673ff00c2770540196f4eb4f794cf 1 parent 05f152d
@LightGuard LightGuard authored
Showing with 12 additions and 4 deletions.
  1. +5 −4 index.html.haml
  2. +7 −0 stylesheets/styles.scss
View
9 index.html.haml
@@ -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
7 stylesheets/styles.scss
@@ -88,6 +88,13 @@
}
}
}
+.carousel .item {
+ margin: 0 75px;
+}
+.carousel-inner {
+ height: 75px;
+ min-height: 75px;
+}
/** End landing page */
/** Secondary pages */
Please sign in to comment.
Something went wrong with that request. Please try again.