2
0
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:
Mark Otto
2013-04-02 16:17:04 -07:00
parent 0f51a750a8
commit 0ac711059b
4 changed files with 71 additions and 59 deletions
+5 -11
View File
@@ -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;
}
}