freeCodeCamp/public/css/main.less

359 lines
5.3 KiB
Plaintext
Raw Normal View History

2014-01-23 22:22:54 +00:00
@import "lib/bootstrap/bootstrap";
@import "lib/bootstrap-social/bootstrap-social";
@import "lib/font-awesome/font-awesome";
2014-07-01 21:04:45 +00:00
@import "lib/ionicons/ionicons";
@import "lib/animate.min.less";
2014-11-08 01:00:27 +00:00
@import url(http://fonts.googleapis.com/css?family=Lato:300);
@import url(http://fonts.googleapis.com/css?family=Lato:400);
2014-01-23 23:17:24 +00:00
2014-11-08 01:00:27 +00:00
html,body,div,span,a,li,td,th {
font-family: 'Lato', sans-serif;
font-weight: 300;
}
li {
white-space: pre; /* CSS 2.0 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3.0 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP Printers */
word-wrap: break-word; /* IE 5+ */
}
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: 75px;
}
2013-12-12 06:35:18 +00:00
2014-05-11 08:04:39 +00:00
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 45px;
line-height: 45px;
2014-01-24 07:14:40 +00:00
}
h1, h2 {
font-weight: 400;
}
.btn {
font-weight: 400;
}
2014-10-18 21:53:32 +00:00
h1, h2, h3, h4, h5, h6, p, li {
padding-top: 5px;
padding-bottom: 5px;
}
2014-01-23 22:37:47 +00:00
// Navbar
// -------------------------
2014-01-23 23:17:24 +00:00
.navbar-nav img {
width: 30px;
height: 30px;
margin: -15px 15px -15px;
2014-01-23 23:17:24 +00:00
}
// Alerts
2014-03-07 19:40:01 +00:00
// -------------------------
.alert {
margin-top: 20px;
2014-03-07 19:40:01 +00:00
}
2014-06-05 18:18:51 +00:00
// Thumbnails
2014-03-07 19:40:01 +00:00
// -------------------------
2014-06-05 18:18:51 +00:00
.thumbnail {
padding: 0;
border-radius: 0;
box-shadow: 0 0 5px #ccc, inset 0 0 0 #000;
}
2014-07-01 22:00:28 +00:00
// Font Icons
2014-03-07 19:40:01 +00:00
// -------------------------
2014-07-01 22:00:28 +00:00
.fa,
[class^='ion-'] {
margin-right: 5px;
}
2014-10-13 21:14:51 +00:00
.img-center {
margin: 0 auto;
}
2014-10-13 21:14:51 +00:00
.three-by-three {
height: 100px;
}
2014-10-13 21:14:51 +00:00
.navbar-icon {
height: 40px;
2014-10-13 21:14:51 +00:00
margin-top: -10px;
}
2014-10-13 21:14:51 +00:00
2014-10-25 01:51:32 +00:00
/**/
2014-10-13 21:14:51 +00:00
.btn-cta {
font-size: 40px;
}
2014-10-13 21:14:51 +00:00
2014-10-26 16:32:57 +00:00
.nonprofit-cta {
2014-10-25 17:27:09 +00:00
font-size: 28px;
2014-10-25 01:51:32 +00:00
}
2014-10-13 21:14:51 +00:00
.btn {
white-space: normal;
-webkit-box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
}
2014-10-13 21:14:51 +00:00
.btn-nav {
2014-11-08 00:45:19 +00:00
margin-top: 10px;
2014-10-14 01:00:37 +00:00
}
ul {
list-style: none;
word-wrap: break-word;
}
2014-10-18 21:53:32 +00:00
.img-center {
margin:0 auto;
2014-10-14 04:38:10 +00:00
}
2014-10-20 22:35:42 +00:00
.centered-iframe {
display:block;
}
2014-10-22 01:00:56 +00:00
@media (min-width: 767px) {
.landing-panel-body {
padding-left: 40px;
padding-right: 40px;
}
}
.landing-panel-heading {
font-size: 40px;
}
2014-11-02 20:24:37 +00:00
.panel-heading {
font-size: 25px;
}
2014-10-22 01:00:56 +00:00
.navbar-brand {
2014-10-22 14:59:39 +00:00
font-size: 26px;
2014-10-22 01:00:56 +00:00
}
.ten-pixel-break {
height: 10px;
}
.fifteen-pixel-break {
height: 15px;
}
2014-10-24 06:07:52 +00:00
.nav-height {
2014-10-25 01:51:32 +00:00
height: 50px;
2014-12-12 01:59:01 +00:00
border: none;
2014-10-24 06:07:52 +00:00
}
2014-10-22 01:00:56 +00:00
.landing-icon {
font-size: 150px;
}
2014-10-22 04:36:47 +00:00
.responsive-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; }
.responsive-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.negative-45 {
2014-12-01 03:05:06 +00:00
margin-top: -45px;
margin-bottom: -45px;
}
.negative-10 {
margin-top: -10px;
}
2014-12-12 01:59:01 +00:00
.negative-15 {
margin-top: -15px;
}
2014-12-01 03:05:06 +00:00
.landing-p {
font-size: 18px !important;
2014-10-24 06:07:52 +00:00
}
2014-10-25 01:51:32 +00:00
.text-success {
color: @brand-success;
2014-10-25 01:51:32 +00:00
}
.delay-1 {
-webkit-animation-delay: 1s;
animation-delay: 1s;
}
.delay-2 {
-webkit-animation-delay: 2s;
animation-delay: 2s;
}
2014-12-12 07:07:33 +00:00
.delay-10 {
-webkit-animation-delay: 10s;
animation-delay: 10s;
2014-12-01 03:05:06 +00:00
}
2014-10-25 01:51:32 +00:00
.fast-animation {
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
2014-10-25 17:27:09 +00:00
}
.disabled {
pointer-events: none;
cursor: default;
color: graytext !important;
}
.hidden-element {
display: none;
}
.button-container {
2014-11-02 17:07:40 +00:00
height: 120px;
2014-11-07 07:20:20 +00:00
}
2014-11-07 21:25:08 +00:00
.nav-logo {
height: 40px;
margin-top: -10px;
@media (max-width: 365px) {
height: 30px;
margin-top: -5px;
}
}
.navbar {
height: 40px;
white-space: nowrap;
2014-11-07 21:47:39 +00:00
}
.panel-body {
2014-11-08 00:45:19 +00:00
margin-bottom: -6px;
2014-11-07 21:25:08 +00:00
}
2014-11-07 07:20:20 +00:00
.strikethrough {
text-decoration: line-through;
2014-11-07 21:25:08 +00:00
}
.dropdown-toggle {
margin-top: -5px;
}
.btn-social {
width: 250px;
margin: auto;
}
.navbar {
2014-12-11 23:36:46 +00:00
background-color: #4a2b0f;
}
.navbar-default .navbar-nav > li > a {
color: #fff;
&:hover {
color: #ddd;
}
}
2014-12-01 03:05:06 +00:00
.hug-top {
2014-12-12 01:59:01 +00:00
margin-top: -35px;
2014-12-01 03:05:06 +00:00
margin-bottom: -10px;
}
.big-text {
font-size: 63px;
2014-12-01 03:05:06 +00:00
}
.scroll-lock {
overflow: hidden;
height: 100%;
2014-12-04 23:55:37 +00:00
}
.signup-btn.btn {
background-color: #ffac33;
background-image: linear-gradient(#ffcc4d, #ffac33);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffcc4d, endColorstr=#ffac33, GradientType=0)";
border-color: #f1a02a;
color: #292f33;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.signup-btn:hover, .signup-btn:focus {
background-color: #e99110;
background-image: linear-gradient(#ffcc4d, #e99110);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffcc4d, endColorstr=#e99110, GradientType=0)";
border-color: #ec8b11;
color: #292f33;
}
.signup-btn:active {
background-color: #f2a330;
background-image: none;
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
}
.profile-image {
2014-12-18 08:45:31 +00:00
border-radius: 10px;
width: 200px;
height: 200px;
2014-12-18 08:45:31 +00:00
padding-left: 5px;
padding-right: 5px;
}
.team-member {
height: 420px;
}
*, *:before, *:after {box-sizing: border-box !important;}
.masonry-row {
-moz-column-width: 18em;
-webkit-column-width: 18em;
-moz-column-gap: 1em;
-webkit-column-gap:1em;
}
.masonry-block {
display: inline-block;
padding: .25rem;
width: 100%;
}
.masonry-relative {
position:relative;
display: block;
}
.btn-big {
font-size: 30px;
}
2014-12-06 07:10:02 +00:00
.table {
margin-left: -16px;
}
thead {
font-size: 150%;
2014-12-18 07:59:28 +00:00
}
.hamburger {
background-color: #ddd;
text-align: left;
font-size: 20px;
}
.nowrap {
white-space: nowrap;
}