From 0ac711059ba7aaa2996a529d7f9bf4110a6dd765 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 2 Apr 2013 16:17:04 -0700 Subject: refactor some of the carousel caption stuff to center it and tighten styles up; update carousel template to start to redo mobile first --- docs/assets/css/bootstrap.css | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'docs/assets/css/bootstrap.css') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 1a7f3deec..44978573e 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -5137,13 +5137,14 @@ a.list-group-item.active > .badge, .carousel-caption { position: absolute; - right: 20%; + right: 15%; bottom: 20px; - left: 20%; - display: none; + left: 15%; + z-index: 10; padding-top: 20px; padding-bottom: 20px; color: #fff; + text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } @@ -5160,14 +5161,7 @@ a.list-group-item.active > .badge, font-size: 30px; } .carousel-caption { - right: 0; - left: 0; - z-index: 10; - display: block; - max-width: 60%; - padding: 30px; - margin-right: 0; - margin-left: 0; + padding-bottom: 30px; } } -- cgit v1.2.3