ffffng/app/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_jumbotron.scss

55 lines
1.1 KiB
SCSS
Raw Normal View History

2014-05-12 20:08:19 +02:00
//
// Jumbotron
// --------------------------------------------------
.jumbotron {
2019-03-29 22:00:08 +01:00
padding-top: $jumbotron-padding;
2016-05-16 13:33:49 +02:00
padding-bottom: $jumbotron-padding;
2014-05-12 20:08:19 +02:00
margin-bottom: $jumbotron-padding;
color: $jumbotron-color;
background-color: $jumbotron-bg;
h1,
.h1 {
color: $jumbotron-heading-color;
}
2016-05-16 13:33:49 +02:00
2014-05-12 20:08:19 +02:00
p {
margin-bottom: ($jumbotron-padding / 2);
font-size: $jumbotron-font-size;
font-weight: 200;
}
> hr {
border-top-color: darken($jumbotron-bg, 10%);
}
2016-05-16 13:33:49 +02:00
.container &,
.container-fluid & {
padding-right: ($grid-gutter-width / 2);
2019-03-29 22:00:08 +01:00
padding-left: ($grid-gutter-width / 2);
border-radius: $border-radius-large; // Only round corners at higher resolutions if contained in a container
2014-05-12 20:08:19 +02:00
}
.container {
max-width: 100%;
}
@media screen and (min-width: $screen-sm-min) {
2019-03-29 22:00:08 +01:00
padding-top: ($jumbotron-padding * 1.6);
2014-05-12 20:08:19 +02:00
padding-bottom: ($jumbotron-padding * 1.6);
2016-05-16 13:33:49 +02:00
.container &,
.container-fluid & {
2014-05-12 20:08:19 +02:00
padding-right: ($jumbotron-padding * 2);
2019-03-29 22:00:08 +01:00
padding-left: ($jumbotron-padding * 2);
2014-05-12 20:08:19 +02:00
}
h1,
.h1 {
2016-05-16 13:33:49 +02:00
font-size: $jumbotron-heading-font-size;
2014-05-12 20:08:19 +02:00
}
}
}