Fork-Awesome/docs/assets/less/site.less
2012-12-20 08:09:28 -05:00

304 lines
5.5 KiB
Plaintext

@import "twbs-222/bootstrap.less";
@import "mixins.less";
@import "variables.less";
@import "font-site.less";
@import "font-awesome.less";
// These accomodate navbar-fixed-top
//#overview { padding-top: 60px; }
//#new-icons, #all-icons, #examples, #integration, #code, #roadmap {
// padding-top: 40px;
//}
.navbar .brand {
// padding: 11px 20px 9px;
color: @white;
font-family: @serifFontFamily;
}
//.navbar-inner { .border-radius(0); }
.navbar .nav > li > a { padding: 12px 10px 9px; }
h1, h2, h3, h4, h5, h6 { font-family: @serifFontFamily; }
#iconCarousel {
a { color: @white; }
@size: 275px;
float: right;
width: @size * 1.08;
height: @size;
// border: solid 1px white;
margin-right: 10px;
// margin-top: -20px;
font-size: @size;
text-align: center;
text-shadow: 2px 2px 3px @grayDarker;
.carousel-control {
top: @size + 33;
.square(23px);
border-width: 3px;
font-size: 17px;
line-height: 22px;
left: @size / 2 - 23;
&.right {
left: auto;
right: @size / 2 - 23;
}
}
}
//a[href^='http://'] {
// &:after {
// font-family: FontAwesome;
// content: "\0020 \f08e";
// &:hover {
// text-decoration: none;
// }
// }
//}
.hero-unit {
margin-bottom: 20px;
padding-top: 80px;
.border-radius(0);
// #gradient > .radial( lighten(@red, 10%), @red);
background-color: @red;
&, h1 { color: @white; }
h1 {
font-size: 70px;
letter-spacing: -2px;
line-height: 1.2;
}
p {
margin-top: 10px;
margin-bottom: 15px;
font-size: 28px;
line-height: 34px;
}
text-shadow: 2px 2px 2px @grayDark;
ul {
margin-left: 50px;
li {
&.icon-large:before {
text-indent: -2em;
vertical-align: baseline;
}
font-size: 15px;
line-height: 30px;
text-shadow: 1px 1px 1px @grayDark;
}
}
// a { color: #fffeb8; }
.btn-large {
// .buttonBackground(@white, #bbb);
font-family: @serifFontFamily;
// color: @grayDark;
margin-top: 15px;
font-weight: bold;
font-size: 18px;
padding: 13px 22px;
padding-left: 24px + 40;
margin-right: 10px;
.border-radius(6px);
position: relative;
text-align: left;
i {
position: absolute;
top: 8px;
left: 15px;
font-size: 46px;
}
&.btn-github {
padding-left: 24px + 42;
}
}
.hero-content {
width: 650px;
text-align: center;
}
}
.btn-primary {
color: @grayDark;
text-shadow: 0 -1px 0 rgba(255,255,255,.25);
&:hover {
text-shadow: 0 -1px 0 rgba(255,255,255,.25);
color: @grayDark;
}
}
#social-buttons {
margin-bottom: 30px;
text-align: center;
.btn {
font-family: @serifFontFamily;
font-weight: bold;
font-size: @baseFontSize;
padding: 4px 10px 1px;
line-height: @baseLineHeight;
}
.count.btn {
font-family: @sansFontFamily;
font-weight: normal;
.buttonBackground(@white, @white);
}
.watch, .fork {
margin-right: 30px;
}
}
.the-icons {
list-style-type: none;
margin-left: 0;
li {
cursor: pointer;
line-height: 32px;
height: 32px;
padding-left: 12px;
.border-radius(6px);
// vertical-align: middle;
[class^="icon-"],
[class*=" icon-"] {
width: 32px;
font-size: 14px;
}
&:hover {
background-color: lighten(@errorBackground, 6%);
[class^="icon-"], [class*=" icon-"] { *font-size: 28px; *vertical-align: middle; }
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-size: 28px;
vertical-align: -5px;
}
}
}
}
#all-icons, #new-icons {
h3 {
margin-top: 10px;
}
}
#why {
.row {
margin-bottom: 20px;
}
.icon-large {
font-size: 22px;
text-align: center;
padding-right: 4px;
}
}
#examples {
.btn-toolbar {
margin-top: 0;
margin-bottom: 20px;
}
}
#integration {
.row { margin-bottom: 40px; }
}
#examples, #code {
form {
margin-bottom: 25px;
input {
line-height: 1; // fixes a safari placeholder alignment issue
}
}
.rating {
unicode-bidi: bidi-override;
direction: rtl;
font-size: 30px;
span.star {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
&:hover {
cursor: pointer;
}
}
span.star:before {
content: "\f006"; // empty star
padding-right: 5px;
color: @grayLight;
}
span.star:hover:before, span.star:hover ~ span.star:before {
content: "\f005"; // solid star
color: #e3cf7a;
}
}
}
.modal {
width: 560px;
max-height: 600px;
.modal-body {
*overflow: hidden; // ie7 fix
max-height: none;
padding-bottom: 0;
.row { margin-bottom: 15px; }
div.thumbnail {
text-align: center;
div { margin-bottom: 5px; }
}
.icon6 {
width: 330px;
> div.thumbnail > div { .icon-size(280px); }
}
.icon5 {
width: 180px;
> div.thumbnail > div { .icon-size(140px); }
}
.icon4 {
width: 215px;
> div.thumbnail > div { .icon-size(112px); }
}
.icon3 {
width: 120px;
> div.thumbnail > div { .icon-size(56px); }
}
.icon2 {
width: 75px;
> div.thumbnail > div { .icon-size(28px); }
}
.icon1 {
width: 60px;
> div.thumbnail > div { .icon-size(14px); }
}
}
}
.label,
.badge {
background-color: @grayLighter;
}
footer {
color: @gray;
border-top: 1px solid @grayLighter;
margin-top: 60px;
padding-top: 20px;
padding-bottom: 60px;
*zoom: 1; // ie7 hack
ul {
margin-left: 30px;
line-height: 25px;
}
}