mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
5539db5237
Addresses a few different cases where the navbar has and doesn't have a container, and accordingly adjusts the padding and margin of key elements.
41 lines
771 B
Plaintext
41 lines
771 B
Plaintext
//
|
|
// Jumbotron
|
|
// --------------------------------------------------
|
|
|
|
|
|
.jumbotron {
|
|
padding: 30px;
|
|
margin-bottom: 30px;
|
|
font-size: (@font-size-base * 1.5);
|
|
font-weight: 200;
|
|
line-height: (@line-height-base * 1.5);
|
|
color: @jumbotron-lead-color;
|
|
background-color: @jumbotron-bg;
|
|
|
|
h1 {
|
|
line-height: 1;
|
|
color: @jumbotron-heading-color;
|
|
}
|
|
p {
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.container & {
|
|
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
|
}
|
|
|
|
@media screen and (min-width: @screen-tablet) {
|
|
padding-top: 50px;
|
|
padding-bottom: 50px;
|
|
|
|
.container & {
|
|
padding-left: 60px;
|
|
padding-right: 60px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: (@font-size-base * 4.5);
|
|
}
|
|
}
|
|
}
|