Commit 78f7ad95 authored by Mark Otto's avatar Mark Otto

fixes #5542: move '.hero-unit p' font-styles to '.hero-unit' so they apply to...

fixes #5542: move '.hero-unit p' font-styles to '.hero-unit' so they apply to all elements, including ul and ol, within the component.
parent bf783335
...@@ -5847,6 +5847,10 @@ a.badge:hover { ...@@ -5847,6 +5847,10 @@ a.badge:hover {
.hero-unit { .hero-unit {
padding: 60px; padding: 60px;
margin-bottom: 30px; margin-bottom: 30px;
font-size: 18px;
font-weight: 200;
line-height: 30px;
color: inherit;
background-color: #eeeeee; background-color: #eeeeee;
-webkit-border-radius: 6px; -webkit-border-radius: 6px;
-moz-border-radius: 6px; -moz-border-radius: 6px;
...@@ -5861,11 +5865,8 @@ a.badge:hover { ...@@ -5861,11 +5865,8 @@ a.badge:hover {
color: inherit; color: inherit;
} }
.hero-unit p { .hero-unit li {
font-size: 18px;
font-weight: 200;
line-height: 30px; line-height: 30px;
color: inherit;
} }
.pull-right { .pull-right {
......
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
.hero-unit { .hero-unit {
padding: 60px; padding: 60px;
margin-bottom: 30px; margin-bottom: 30px;
font-size: 18px;
font-weight: 200;
line-height: @baseLineHeight * 1.5;
color: @heroUnitLeadColor;
background-color: @heroUnitBackground; background-color: @heroUnitBackground;
.border-radius(6px); .border-radius(6px);
h1 { h1 {
...@@ -15,10 +19,7 @@ ...@@ -15,10 +19,7 @@
color: @heroUnitHeadingColor; color: @heroUnitHeadingColor;
letter-spacing: -1px; letter-spacing: -1px;
} }
p { li {
font-size: 18px; line-height: @baseLineHeight * 1.5; // Reset since we specify in type.less
font-weight: 200;
line-height: @baseLineHeight * 1.5;
color: @heroUnitLeadColor;
} }
} }
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