mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 12:40:58 +00:00
Merge branch '2.0-wip' of github.com:twitter/bootstrap into 2.0-wip
Conflicts: bootstrap.css
This commit is contained in:
commit
e7bc2063be
21
bootstrap.css
vendored
21
bootstrap.css
vendored
@ -6,7 +6,7 @@
|
|||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
*
|
*
|
||||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
||||||
* Date: Thu Jan 26 16:26:33 PST 2012
|
* Date: Thu Jan 26 16:30:52 PST 2012
|
||||||
*/
|
*/
|
||||||
article,
|
article,
|
||||||
aside,
|
aside,
|
||||||
@ -3001,6 +3001,25 @@ a.thumbnail:hover {
|
|||||||
.carousel-caption h4, .carousel-caption p {
|
.carousel-caption h4, .carousel-caption p {
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
.hero-unit {
|
||||||
|
padding: 60px;
|
||||||
|
margin-bottom: 30px;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
-webkit-border-radius: 6px;
|
||||||
|
-moz-border-radius: 6px;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
.hero-unit h1 {
|
||||||
|
margin-bottom: 0;
|
||||||
|
font-size: 60px;
|
||||||
|
line-height: 1;
|
||||||
|
letter-spacing: -1px;
|
||||||
|
}
|
||||||
|
.hero-unit p {
|
||||||
|
font-size: 18px;
|
||||||
|
font-weight: 200;
|
||||||
|
line-height: 27px;
|
||||||
|
}
|
||||||
.pull-right {
|
.pull-right {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
2
bootstrap.min.css
vendored
2
bootstrap.min.css
vendored
@ -547,6 +547,8 @@ a.thumbnail:hover{border-color:#0088cc;-webkit-box-shadow:0 1px 4px rgba(0, 105,
|
|||||||
.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);}
|
.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);}
|
||||||
.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0, 0, 0, 0.75);}
|
.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0, 0, 0, 0.75);}
|
||||||
.carousel-caption h4,.carousel-caption p{color:#ffffff;}
|
.carousel-caption h4,.carousel-caption p{color:#ffffff;}
|
||||||
|
.hero-unit{padding:60px;margin-bottom:30px;background-color:#f5f5f5;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;}
|
||||||
|
.hero-unit p{font-size:18px;font-weight:200;line-height:27px;}
|
||||||
.pull-right{float:right;}
|
.pull-right{float:right;}
|
||||||
.pull-left{float:left;}
|
.pull-left{float:left;}
|
||||||
.hide{display:none;}
|
.hide{display:none;}
|
||||||
|
1
lib/bootstrap.less
vendored
1
lib/bootstrap.less
vendored
@ -57,6 +57,7 @@
|
|||||||
@import "progress-bars.less";
|
@import "progress-bars.less";
|
||||||
@import "accordion.less";
|
@import "accordion.less";
|
||||||
@import "carousel.less";
|
@import "carousel.less";
|
||||||
|
@import "hero-unit.less";
|
||||||
|
|
||||||
// Utility classes
|
// Utility classes
|
||||||
@import "utilities.less"; // Has to be last to override when necessary
|
@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
|
// 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 {
|
footer {
|
||||||
padding-top: @baseLineHeight - 1;
|
padding-top: @baseLineHeight - 1;
|
||||||
margin-top: @baseLineHeight - 1;
|
margin-top: @baseLineHeight - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user