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

49 lines
965 B
Plaintext
Raw Normal View History

2013-10-23 23:12:39 +08:00
//
// Jumbotron
// --------------------------------------------------
.jumbotron {
padding: @jumbotron-padding;
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;
}
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%);
}
2013-10-23 23:12:39 +08:00
.container & {
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 & {
padding-left: (@jumbotron-padding * 2);
padding-right: (@jumbotron-padding * 2);
}
2014-05-15 04:13:14 +08:00
h1,
.h1 {
2013-10-23 23:12:39 +08:00
font-size: (@font-size-base * 4.5);
}
}
}