Fork-Awesome/assets/less/bootstrap-3.3.5/jumbotron.less

53 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-10-23 23:12:39 +08:00
//
// Jumbotron
// --------------------------------------------------
.jumbotron {
padding-top: @jumbotron-padding;
padding-bottom: @jumbotron-padding;
2013-10-23 23:12:39 +08:00
margin-bottom: @jumbotron-padding;
color: @jumbotron-color;
background-color: @jumbotron-bg;
2014-05-15 04:13:14 +08:00
h1,
.h1 {
2013-10-23 23:12:39 +08:00
color: @jumbotron-heading-color;
}
2013-10-23 23:12:39 +08:00
p {
2014-05-15 04:13:14 +08:00
margin-bottom: (@jumbotron-padding / 2);
font-size: @jumbotron-font-size;
font-weight: 200;
2013-10-23 23:12:39 +08:00
}
2014-08-27 00:51:53 +08:00
> hr {
border-top-color: darken(@jumbotron-bg, 10%);
}
.container &,
.container-fluid & {
2013-10-23 23:12:39 +08:00
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
}
2014-05-15 04:13:14 +08:00
.container {
max-width: 100%;
}
@media screen and (min-width: @screen-sm-min) {
2013-10-23 23:12:39 +08:00
padding-top: (@jumbotron-padding * 1.6);
padding-bottom: (@jumbotron-padding * 1.6);
.container &,
.container-fluid & {
2013-10-23 23:12:39 +08:00
padding-left: (@jumbotron-padding * 2);
padding-right: (@jumbotron-padding * 2);
}
2014-05-15 04:13:14 +08:00
h1,
.h1 {
font-size: @jumbotron-heading-font-size;
2013-10-23 23:12:39 +08:00
}
}
}