mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-24 14:04:09 +03:00
refactor some of the carousel caption stuff to center it and tighten styles up; update carousel template to start to redo mobile first
This commit is contained in:
Vendored
+5
-11
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user