2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

fix up carousel alignment and line-height

This commit is contained in:
Mark Otto
2012-07-08 21:47:16 -07:00
parent 20676ddd4d
commit db9925510b
3 changed files with 21 additions and 4 deletions
+9 -1
View File
@@ -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;
}