diff options
| author | Mark Otto <[email protected]> | 2013-04-02 16:17:04 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-04-02 16:17:04 -0700 |
| commit | 0ac711059ba7aaa2996a529d7f9bf4110a6dd765 (patch) | |
| tree | 5c38df2e034941213aeb97aa5149184b7ac93271 /docs/assets/css/bootstrap.css | |
| parent | 0f51a750a86a108e8f8c2d2c31b52b0774b81c39 (diff) | |
| download | bootstrap-0ac711059ba7aaa2996a529d7f9bf4110a6dd765.tar.xz bootstrap-0ac711059ba7aaa2996a529d7f9bf4110a6dd765.zip | |
refactor some of the carousel caption stuff to center it and tighten styles up; update carousel template to start to redo mobile first
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 16 |
1 files changed, 5 insertions, 11 deletions
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; } } |
