From cd2d82150cc27c1f81d2394a22efbf2dbec0e7be Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 28 Jun 2012 21:46:45 -0700 Subject: standardize top level file comments --- less/carousel.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'less/carousel.less') diff --git a/less/carousel.less b/less/carousel.less index 8fbd30315..01675af72 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -1,5 +1,7 @@ -// CAROUSEL -// -------- +// +// Carousel +// -------------------------------------------------- + .carousel { position: relative; -- cgit v1.2.3 From db9925510ba9328f227e5ad3935f73e0c67904d8 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 8 Jul 2012 21:47:16 -0700 Subject: fix up carousel alignment and line-height --- less/carousel.less | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'less/carousel.less') diff --git a/less/carousel.less b/less/carousel.less index 01675af72..33f98ac4d 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -105,6 +105,7 @@ } } + // Caption for text below images // ----------------------------- @@ -113,11 +114,18 @@ left: 0; right: 0; bottom: 0; - padding: 10px 15px 5px; + padding: 15px; background: @grayDark; background: rgba(0,0,0,.75); } .carousel-caption h4, .carousel-caption p { color: @white; + line-height: @baseLineHeight; +} +.carousel-caption h4 { + margin: 0 0 5px; +} +.carousel-caption p { + margin-bottom: 0; } -- cgit v1.2.3