1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

tweak and improve jumbotrons

This commit is contained in:
Mark Otto
2014-12-31 10:20:12 -08:00
parent 49ac4ea0fa
commit b873edce8e
2 changed files with 15 additions and 18 deletions

View File

@@ -8,11 +8,7 @@
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
}
@include border-radius($border-radius-lg);
}
.jumbotron-heading {
@@ -25,16 +21,16 @@
@include media-sm {
.jumbotron {
padding: ($jumbotron-padding * 1.6) 0;
.container &,
.container-fluid & {
padding-right: ($jumbotron-padding * 2);
padding-left: ($jumbotron-padding * 2);
}
padding: ($jumbotron-padding * 2) $jumbotron-padding;
}
.jumbotron-heading {
font-size: ($font-size-base * 4.5);
}
}
.jumbotron-fluid {
padding-left: 0;
padding-right: 0;
@include border-radius(0);
}