aboutsummaryrefslogtreecommitdiff
path: root/less/carousel.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-07-08 21:47:16 -0700
committerMark Otto <[email protected]>2012-07-08 21:47:16 -0700
commitdb9925510ba9328f227e5ad3935f73e0c67904d8 (patch)
treeee14166b00bc210d5a5e3b866d3984d78962939d /less/carousel.less
parent20676ddd4d3e46c9fb32aadfeddb3a4a68efa6a3 (diff)
downloadbootstrap-db9925510ba9328f227e5ad3935f73e0c67904d8.tar.xz
bootstrap-db9925510ba9328f227e5ad3935f73e0c67904d8.zip
fix up carousel alignment and line-height
Diffstat (limited to 'less/carousel.less')
-rw-r--r--less/carousel.less10
1 files changed, 9 insertions, 1 deletions
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;
}