1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 20:31:26 +02:00

rewrite jumbotron less and make heading use a class

This commit is contained in:
Mark Otto
2014-09-17 20:03:32 -07:00
parent 3d6982c149
commit ca2711fc8e
11 changed files with 58 additions and 48 deletions

View File

@@ -4172,13 +4172,6 @@ a.list-group-item.active > .badge,
color: inherit;
background-color: #eceeef;
}
.jumbotron h1,
.jumbotron .h1 {
color: inherit;
}
.jumbotron > hr {
border-top-color: #d0d5d8;
}
.container .jumbotron,
.container-fluid .jumbotron {
border-radius: .3rem;
@@ -4186,16 +4179,22 @@ a.list-group-item.active > .badge,
.jumbotron .container {
max-width: 100%;
}
@media screen and (min-width: 48em) {
.jumbotron-heading {
color: inherit;
}
.jumbotron-hr {
border-top-color: #d0d5d8;
}
@media (min-width: 48em) {
.jumbotron {
padding: 3.2rem 0;
}
.container .jumbotron {
.container .jumbotron,
.container-fluid .jumbotron {
padding-right: 4rem;
padding-left: 4rem;
}
.jumbotron h1,
.jumbotron .h1 {
.jumbotron-heading {
font-size: 4.5rem;
}
}