aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinmiao Xu <[email protected]>2012-01-26 15:51:11 -0800
committerLinmiao Xu <[email protected]>2012-01-26 15:51:11 -0800
commitef4e3bc0f7549e327c45792884a264faab402400 (patch)
treea5601a8f62f5d1b22fc5a8b8f090d94ea44eb1f7 /lib
parentd8e1001836f869436df2de2905411b2236c8cbad (diff)
downloadbootstrap-ef4e3bc0f7549e327c45792884a264faab402400.tar.xz
bootstrap-ef4e3bc0f7549e327c45792884a264faab402400.zip
Move hero-unit css out of pattern.less and include it. Fixes #1185.
Diffstat (limited to 'lib')
-rw-r--r--lib/bootstrap.less1
-rw-r--r--lib/hero-unit.less20
-rw-r--r--lib/patterns.less17
3 files changed, 21 insertions, 17 deletions
diff --git a/lib/bootstrap.less b/lib/bootstrap.less
index ede31c035..bc9f84373 100644
--- a/lib/bootstrap.less
+++ b/lib/bootstrap.less
@@ -57,6 +57,7 @@
@import "progress-bars.less";
@import "accordion.less";
@import "carousel.less";
+@import "hero-unit.less";
// Utility classes
@import "utilities.less"; // Has to be last to override when necessary
diff --git a/lib/hero-unit.less b/lib/hero-unit.less
new file mode 100644
index 000000000..cba1cc46c
--- /dev/null
+++ b/lib/hero-unit.less
@@ -0,0 +1,20 @@
+// HERO UNIT
+// ---------
+
+.hero-unit {
+ padding: 60px;
+ margin-bottom: 30px;
+ background-color: #f5f5f5;
+ .border-radius(6px);
+ h1 {
+ margin-bottom: 0;
+ font-size: 60px;
+ line-height: 1;
+ letter-spacing: -1px;
+ }
+ p {
+ font-size: 18px;
+ font-weight: 200;
+ line-height: @baseLineHeight * 1.5;
+ }
+}
diff --git a/lib/patterns.less b/lib/patterns.less
index 7a039ce26..d94b921e4 100644
--- a/lib/patterns.less
+++ b/lib/patterns.less
@@ -6,23 +6,6 @@
// PAGE HEADERS
// ------------
-.hero-unit {
- padding: 60px;
- margin-bottom: 30px;
- background-color: #f5f5f5;
- .border-radius(6px);
- h1 {
- margin-bottom: 0;
- font-size: 60px;
- line-height: 1;
- letter-spacing: -1px;
- }
- p {
- font-size: 18px;
- font-weight: 200;
- line-height: @baseLineHeight * 1.5;
- }
-}
footer {
padding-top: @baseLineHeight - 1;
margin-top: @baseLineHeight - 1;