Commit 168469f5 authored by Mark Otto's avatar Mark Otto

Fixes #11588: Scope font-size to only p elements in a .jumbotron and remove...

Fixes #11588: Scope font-size to only p elements in a .jumbotron and remove the supersized line-height from the base class
parent 647e9eb0
...@@ -4278,19 +4278,17 @@ a.list-group-item.active > .badge, ...@@ -4278,19 +4278,17 @@ a.list-group-item.active > .badge,
.jumbotron { .jumbotron {
padding: 30px; padding: 30px;
margin-bottom: 30px; margin-bottom: 30px;
font-size: 21px;
font-weight: 200;
line-height: 2.1428571435;
color: inherit; color: inherit;
background-color: #eee; background-color: #eee;
} }
.jumbotron h1, .jumbotron h1,
.jumbotron .h1 { .jumbotron .h1 {
line-height: 1;
color: inherit; color: inherit;
} }
.jumbotron p { .jumbotron p {
line-height: 1.4; margin-bottom: 15px;
font-size: 21px;
font-weight: 200;
} }
.container .jumbotron { .container .jumbotron {
border-radius: 6px; border-radius: 6px;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -6,19 +6,17 @@ ...@@ -6,19 +6,17 @@
.jumbotron { .jumbotron {
padding: @jumbotron-padding; padding: @jumbotron-padding;
margin-bottom: @jumbotron-padding; margin-bottom: @jumbotron-padding;
font-size: @jumbotron-font-size;
font-weight: 200;
line-height: (@line-height-base * 1.5);
color: @jumbotron-color; color: @jumbotron-color;
background-color: @jumbotron-bg; background-color: @jumbotron-bg;
h1, h1,
.h1 { .h1 {
line-height: 1;
color: @jumbotron-heading-color; color: @jumbotron-heading-color;
} }
p { p {
line-height: 1.4; margin-bottom: (@jumbotron-padding / 2);
font-size: @jumbotron-font-size;
font-weight: 200;
} }
.container & { .container & {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment