freeCodeCamp/public/css/styles.less

100 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-01-23 22:22:54 +00:00
@import "lib/bootstrap/bootstrap";
2014-05-11 07:28:05 +00:00
@import "themes/default";
@import (less) "lib/animate.css";
@import (less) "lib/font-awesome.min.css";
@import (less) "lib/bootstrap-social.css";
2014-01-23 22:37:47 +00:00
// Scaffolding
// -------------------------
2014-01-23 23:17:24 +00:00
2014-01-24 07:14:40 +00:00
html, body {
height: 100%;
}
2013-12-04 03:56:18 +00:00
body {
2013-12-18 07:57:24 +00:00
padding-top: 70px;
}
2013-12-12 06:35:18 +00:00
2014-01-24 07:14:40 +00:00
#wrap {
min-height: 100%;
height: auto !important;
height: 100%;
/* Negative indent footer by its height */
2014-04-14 18:24:34 +00:00
margin: 0 auto -110px;
/* Pad bottom by footer height + (optional) extra spacing */
padding: 0 0 140px;
2014-01-24 07:14:40 +00:00
}
#footer {
height: 110px;
padding-top: 15px;
2014-01-24 07:14:40 +00:00
}
2014-01-23 22:37:47 +00:00
// Navbar
// -------------------------
2014-01-23 23:17:24 +00:00
.navbar-nav .profile-image {
width: 30px;
height: 30px;
margin: -15px 15px -15px 0;
2014-01-23 23:17:24 +00:00
}
2014-02-03 18:34:15 +00:00
.navbar-brand {
background-image: url(../img/npm-logo.png);
background-repeat: no-repeat;
2014-02-03 18:34:15 +00:00
background-size: 40px;
background-position: left center;
padding-left: 50px;
margin-left: 15px;
}
2014-03-07 19:40:01 +00:00
// Social Buttons
// -------------------------
.btn-social {
border-radius: 2px;
}
// Font Awesome
// -------------------------
[class^="fa-"],
[class*="fa-"] {
margin-right: 5px;
}
2014-03-07 19:40:01 +00:00
// API Examples
// -------------------------
.thumb {
padding-left: 0 !important;
padding-right: 0 !important;
}
.thumb img {
margin-bottom: 5px;
margin-right: 5px;
opacity: 0.2;
transition: opacity 0.2s;
}
.thumb:hover img {
opacity: 1;
box-shadow: 0 0 3px 1px @brand-primary;
}
2014-01-24 07:14:40 +00:00
.facebook-caption {
position: absolute;
background-color: rgba(0, 0, 0, 0.5);
font-size: 12px;
color: #fff;
padding: 3px;
bottom: 25px;
}
.api-examples {
img {
padding-right: 10px;
}
}