]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #5542: move '.hero-unit p' font-styles to '.hero-unit' so they apply to all...
authorMark Otto <markdotto@gmail.com>
Wed, 17 Oct 2012 02:56:34 +0000 (19:56 -0700)
committerMark Otto <markdotto@gmail.com>
Wed, 17 Oct 2012 02:56:34 +0000 (19:56 -0700)
docs/assets/css/bootstrap.css
less/hero-unit.less

index ab26695621f3d235e8121a140c7816000d65c97b..01d119195dedc12fd8dcfc7227f5008f358a6c0e 100644 (file)
@@ -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 {
index 672b7d7c7489dd67a66510640893a7a1e59a44e8..763d86aeee5d5c06e3c7ca6ffe835775e6b7bf9a 100644 (file)
@@ -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 {
     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
   }
 }