0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00
Bootstrap/less/jumbotron.less

45 lines
901 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;
color: @jumbotron-color;
2013-04-01 02:19:47 +02:00
background-color: @jumbotron-bg;
h1,
.h1 {
color: @jumbotron-heading-color;
}
2013-01-17 00:07:57 +01:00
p {
margin-bottom: (@jumbotron-padding / 2);
font-size: @jumbotron-font-size;
font-weight: 200;
2013-01-17 00:07:57 +01:00
}
.container & {
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
}
.container {
max-width: 100%;
}
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);
}
h1,
.h1 {
font-size: (@font-size-base * 4.5);
2013-01-17 00:07:57 +01:00
}
}
}