freeCodeCamp/public/css/styles.less

95 lines
1.4 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-05-11 08:04:39 +00:00
html {
position: relative;
min-height: 100%;
2014-01-24 07:14:40 +00:00
}
2013-12-04 03:56:18 +00:00
body {
2014-05-11 08:04:39 +00:00
padding-top: 60px;
margin-bottom: 90px;
}
2013-12-12 06:35:18 +00:00
2014-01-24 07:14:40 +00:00
2014-05-11 08:04:39 +00:00
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 90px;
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;
}
}