0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/scss/_jumbotron.scss

41 lines
827 B
SCSS

//
// Jumbotron
// --------------------------------------------------
.jumbotron {
padding: $jumbotron-padding ($jumbotron-padding / 2);
margin-bottom: $jumbotron-padding;
color: $jumbotron-color;
background-color: $jumbotron-bg;
.container &,
.container-fluid & {
@include border-radius($border-radius-lg); // Only round corners at higher resolutions if contained in a container
}
}
.jumbotron-heading {
color: $jumbotron-heading-color;
}
.jumbotron-hr {
border-top-color: darken($jumbotron-bg, 10%);
}
@include media-sm {
.jumbotron {
padding: ($jumbotron-padding * 1.6) 0;
.container &,
.container-fluid & {
padding-right: ($jumbotron-padding * 2);
padding-left: ($jumbotron-padding * 2);
}
}
.jumbotron-heading {
font-size: ($font-size-base * 4.5);
}
}