mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 09:05:47 +02:00
convert to scss
This commit is contained in:
44
scss/_jumbotron.scss
Normal file
44
scss/_jumbotron.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
//
|
||||
// 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
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.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-left: ($jumbotron-padding * 2);
|
||||
padding-right: ($jumbotron-padding * 2);
|
||||
}
|
||||
}
|
||||
|
||||
.jumbotron-heading {
|
||||
font-size: ($font-size-base * 4.5);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user