Move hero-unit css out of pattern.less and include it. Fixes #1185.
This commit is contained in:
parent
d8e1001836
commit
ef4e3bc0f7
6 changed files with 46 additions and 21 deletions
1
lib/bootstrap.less
vendored
1
lib/bootstrap.less
vendored
|
|
@ -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
|
||||
|
|
|
|||
20
lib/hero-unit.less
Normal file
20
lib/hero-unit.less
Normal file
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue