mirror of
https://github.com/jasny/bootstrap.git
synced 2026-02-04 02:55:28 -05:00
Make jumbotron mo responsive
This commit is contained in:
@@ -4,22 +4,29 @@
|
||||
|
||||
|
||||
.jumbotron {
|
||||
padding: 60px;
|
||||
padding: 30px;
|
||||
margin-bottom: 30px;
|
||||
font-size: 18px;
|
||||
font-size: 21px;
|
||||
font-weight: 200;
|
||||
line-height: @line-height-base * 1.5;
|
||||
color: @jumbotron-lead-color;
|
||||
background-color: @jumbotron-background;
|
||||
border-radius: 6px;
|
||||
h1 {
|
||||
margin-bottom: 0;
|
||||
font-size: 60px;
|
||||
line-height: 1;
|
||||
color: @jumbotron-heading-color;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
li {
|
||||
line-height: @line-height-base * 1.5; // Reset since we specify in type.less
|
||||
p {
|
||||
line-height: 1.4;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.jumbotron {
|
||||
padding: 50px 60px;
|
||||
|
||||
h1 {
|
||||
font-size: 60px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user