0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/less/jumbotron.less

41 lines
882 B
Plaintext
Raw Normal View History

2012-06-29 06:46:45 +02:00
//
// Jumbotron
2012-06-29 06:46:45 +02:00
// --------------------------------------------------
.jumbotron {
padding: @jumbotron-padding;
margin-bottom: @jumbotron-padding;
font-size: (@font-size-base * 1.5);
font-weight: 200;
line-height: (@line-height-base * 1.5);
color: @jumbotron-color;
2013-04-01 02:19:47 +02:00
background-color: @jumbotron-bg;
h1 {
line-height: 1;
color: @jumbotron-heading-color;
}
2013-01-17 00:07:57 +01:00
p {
line-height: 1.4;
}
.container & {
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
}
2013-09-11 10:33:30 +02:00
@media screen and (min-width: @screen-sm-min) {
padding-top: (@jumbotron-padding * 1.6);
padding-bottom: (@jumbotron-padding * 1.6);
.container & {
padding-left: (@jumbotron-padding * 2);
padding-right: (@jumbotron-padding * 2);
}
2013-01-17 00:07:57 +01:00
h1 {
font-size: (@font-size-base * 4.5);
2013-01-17 00:07:57 +01:00
}
}
}