Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2012-10-17 06:56:34 +0400
committerMark Otto <markdotto@gmail.com>2012-10-17 06:56:34 +0400
commit78f7ad95f4449506f4928e2407df91b0c0eb830a (patch)
tree4f97d6bb41d1ce9920ce9eb7bf6224e5864661a9 /less/hero-unit.less
parentbf7833353145966f1934a2da4aa3771cb2436b48 (diff)
fixes #5542: move '.hero-unit p' font-styles to '.hero-unit' so they apply to all elements, including ul and ol, within the component.
Diffstat (limited to 'less/hero-unit.less')
-rw-r--r--less/hero-unit.less11
1 files changed, 6 insertions, 5 deletions
diff --git a/less/hero-unit.less b/less/hero-unit.less
index 672b7d7c74..763d86aeee 100644
--- a/less/hero-unit.less
+++ b/less/hero-unit.less
@@ -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
}
}