2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Fixes #11588: Scope font-size to only p elements in a .jumbotron and remove the supersized line-height from the base class

This commit is contained in:
Mark Otto
2013-12-14 21:50:47 -08:00
parent 647e9eb0f1
commit 168469f545
3 changed files with 7 additions and 11 deletions
+3 -5
View File
@@ -6,19 +6,17 @@
.jumbotron {
padding: @jumbotron-padding;
margin-bottom: @jumbotron-padding;
font-size: @jumbotron-font-size;
font-weight: 200;
line-height: (@line-height-base * 1.5);
color: @jumbotron-color;
background-color: @jumbotron-bg;
h1,
.h1 {
line-height: 1;
color: @jumbotron-heading-color;
}
p {
line-height: 1.4;
margin-bottom: (@jumbotron-padding / 2);
font-size: @jumbotron-font-size;
font-weight: 200;
}
.container & {