mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fixes #5542: move '.hero-unit p' font-styles to '.hero-unit' so they apply to all elements, including ul and ol, within the component.
This commit is contained in:
parent
bf78333531
commit
78f7ad95f4
2 changed files with 11 additions and 9 deletions
9
docs/assets/css/bootstrap.css
vendored
9
docs/assets/css/bootstrap.css
vendored
|
@ -5847,6 +5847,10 @@ a.badge:hover {
|
|||
.hero-unit {
|
||||
padding: 60px;
|
||||
margin-bottom: 30px;
|
||||
font-size: 18px;
|
||||
font-weight: 200;
|
||||
line-height: 30px;
|
||||
color: inherit;
|
||||
background-color: #eeeeee;
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
|
@ -5861,11 +5865,8 @@ a.badge:hover {
|
|||
color: inherit;
|
||||
}
|
||||
|
||||
.hero-unit p {
|
||||
font-size: 18px;
|
||||
font-weight: 200;
|
||||
.hero-unit li {
|
||||
line-height: 30px;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.pull-right {
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
.hero-unit {
|
||||
padding: 60px;
|
||||
margin-bottom: 30px;
|
||||
font-size: 18px;
|
||||
font-weight: 200;
|
||||
line-height: @baseLineHeight * 1.5;
|
||||
color: @heroUnitLeadColor;
|
||||
background-color: @heroUnitBackground;
|
||||
.border-radius(6px);
|
||||
h1 {
|
||||
|
@ -15,10 +19,7 @@
|
|||
color: @heroUnitHeadingColor;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
p {
|
||||
font-size: 18px;
|
||||
font-weight: 200;
|
||||
line-height: @baseLineHeight * 1.5;
|
||||
color: @heroUnitLeadColor;
|
||||
li {
|
||||
line-height: @baseLineHeight * 1.5; // Reset since we specify in type.less
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue