Before this commit the bootstrap version we used was inconsistent. Indeed, the javascript files were the 3.3.4 ones and the less files were the 3.3.5 ones. This was due to a failed merged resolution in 9.0. This should however not cause any issue as the difference between 3.3.x versions are very minor. Basically, this commit is more of a fix than an improvement and may even be backported if we find reasons to do so. This commit is mainly made to prepare the transition to version 4.0.0, which requires to switch our LESS files to SCSS first (and it will be easier to go by bootstrap 3.3.7 with SCSS files first).
55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
Plaintext
//
|
|
// Jumbotron
|
|
// --------------------------------------------------
|
|
|
|
|
|
.jumbotron {
|
|
padding-top: @jumbotron-padding;
|
|
padding-bottom: @jumbotron-padding;
|
|
margin-bottom: @jumbotron-padding;
|
|
color: @jumbotron-color;
|
|
background-color: @jumbotron-bg;
|
|
|
|
h1,
|
|
.h1 {
|
|
color: @jumbotron-heading-color;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: (@jumbotron-padding / 2);
|
|
font-size: @jumbotron-font-size;
|
|
font-weight: 200;
|
|
}
|
|
|
|
> hr {
|
|
border-top-color: darken(@jumbotron-bg, 10%);
|
|
}
|
|
|
|
.container &,
|
|
.container-fluid & {
|
|
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
|
padding-left: (@grid-gutter-width / 2);
|
|
padding-right: (@grid-gutter-width / 2);
|
|
}
|
|
|
|
.container {
|
|
max-width: 100%;
|
|
}
|
|
|
|
@media screen and (min-width: @screen-sm-min) {
|
|
padding-top: (@jumbotron-padding * 1.6);
|
|
padding-bottom: (@jumbotron-padding * 1.6);
|
|
|
|
.container &,
|
|
.container-fluid & {
|
|
padding-left: (@jumbotron-padding * 2);
|
|
padding-right: (@jumbotron-padding * 2);
|
|
}
|
|
|
|
h1,
|
|
.h1 {
|
|
font-size: @jumbotron-heading-font-size;
|
|
}
|
|
}
|
|
}
|