freeCodeCamp/public/css/main.less

423 lines
6.2 KiB
Plaintext

@import "lib/bootstrap/bootstrap";
@import "lib/bootstrap-social/bootstrap-social";
@import "lib/ionicons/ionicons";
@import "lib/animate.min.less";
@import url(http://fonts.googleapis.com/css?family=Lato:300);
@import url(http://fonts.googleapis.com/css?family=Lato:400);
html,body,div,span,a,li,td,th {
font-family: 'Lato', sans-serif;
font-weight: 300;
}
li, .wrappable {
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+ */
}
html {
position: relative;
min-height: 100%;
}
body {
padding-top: 80px;
margin-bottom: 75px;
}
.footer {
width: 100%;
margin-bottom: 0px;
text-align: center;
padding:0px;
height: 200px;
background-color: #4a2b0f;
}
h1, h2 {
font-weight: 400;
}
.btn {
font-weight: 400;
}
h1, h2, h3, h4, h5, h6, p, li {
padding-top: 5px;
padding-bottom: 5px;
}
// Alerts
// -------------------------
.alert {
margin-top: 20px;
}
// Thumbnails
// -------------------------
.thumbnail {
padding: 0;
border-radius: 0;
box-shadow: 0 0 5px #ccc, inset 0 0 0 #000;
}
// Font Icons
// -------------------------
.fa,
[class^='ion-'] {
margin-right: 5px;
}
.img-center {
margin: 0 auto;
}
.three-by-three {
height: 100px;
}
/**/
.btn-cta {
font-size: 40px;
}
.nonprofit-cta {
font-size: 28px;
}
.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);
}
.btn-nav {
margin-top: 10px;
}
ul {
list-style: none;
word-wrap: break-word;
}
.img-center {
margin:0 auto;
}
.centered-iframe {
display:block;
}
@media (min-width: 767px) {
.landing-panel-body {
padding-left: 40px;
padding-right: 40px;
}
}
.landing-panel-heading {
font-size: 40px;
}
.panel-heading {
font-size: 25px;
}
.navbar-brand {
font-size: 26px;
}
.ten-pixel-break {
height: 10px;
}
.fifteen-pixel-break {
height: 15px;
}
.nav-height {
height: 50px;
border: none;
}
.landing-icon {
font-size: 150px;
}
.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 {
margin-top: -45px;
margin-bottom: -45px;
}
.negative-10 {
margin-top: -10px;
}
.negative-15 {
margin-top: -15px;
}
.landing-p {
font-size: 18px !important;
}
.text-success {
color: @brand-success;
}
.delay-1 {
-webkit-animation-delay: 1s;
animation-delay: 1s;
}
.delay-2 {
-webkit-animation-delay: 2s;
animation-delay: 2s;
}
.delay-10 {
-webkit-animation-delay: 10s;
animation-delay: 10s;
}
.fast-animation {
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
}
.disabled {
pointer-events: none;
cursor: default;
color: graytext !important;
}
.hidden-element {
display: none;
}
.button-container {
height: 120px;
}
.nav-logo {
height: 40px;
margin-top: -10px;
@media (max-width: 365px) {
height: 30px;
margin-top: -5px;
}
}
.navbar-right {
@media (min-width: 767px) {
padding-right: 50px;
}
@media (max-width: 991px) and (min-width: 767px) {
position: absolute;
right:0;
margin-right: 10px;
white-space: nowrap;
}
}
.navbar {
white-space: nowrap;
}
.panel-body {
margin-bottom: -6px;
}
.strikethrough {
text-decoration: line-through;
}
.btn-social {
width: 250px;
margin: auto;
}
.btn-link-social {
max-width: 400px;
margin: auto;
margin-bottom: 10px;
}
.navbar {
background-color: #4a2b0f;
}
.navbar-nav > li > a {
color: #eee;
&:hover {
color: #4a2b0f;
}
}
.hug-top {
margin-top: -35px;
margin-bottom: -10px;
}
.big-text {
font-size: 63px;
}
.scroll-lock {
overflow: hidden;
height: 100%;
}
.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 !important;
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 !important;
}
.signup-btn:active {
background-color: #f2a330;
background-image: none;
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
}
.profile-image {
border-radius: 10px;
width: 200px;
height: 200px;
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;
}
.table {
margin-left: -16px;
}
thead {
font-size: 150%;
}
.nowrap {
white-space: nowrap;
}
.big-break {
margin-top: 30px;
margin-bottom: 30px;
}
.profile-picture {
height: 50px;
width: 50px;
}
.navbar-nav a {
color: #eee;
font-size: 20px;
margin-top: -5px;
margin-bottom: -5px;
}
.navbar-toggle {
color: #eee;
}
.navbar-right {
background-color: #4a2b0f;
text-align: center;
}
.signup-btn-nav {
margin-top:-2px !important;
padding-top: 10px !important;
padding-bottom: 10px !important;
}
.nameline {
margin-top: -5px;
font-size: 40px;
}
.public-profile-img {
height: 200px;
width: 200px;
border-radius: 5px;
}
.ng-invalid.ng-dirty {
border-color: #FA787E;
}
.ng-valid.ng-dirty {
border-color: #78FA89;
}
.desktop-narrow {
@media (min-width: 767px) {
marign: 0 auto;
width: 80%;
}
}
.min650 {
min-height: 630px;
}
.portfolio-image {
max-height: 164px;
}
.flat-top {
margin-top: -5px;
}
.negative-bottom {
margin-bottom: -20px;
}