freeCodeCamp/public/css/main.less

277 lines
3.7 KiB
Plaintext

@import "lib/bootstrap/bootstrap";
@import "lib/bootstrap-social/bootstrap-social";
@import "lib/font-awesome/font-awesome";
@import "lib/ionicons/ionicons";
@import "lib/animate.min.less";
@import url(http://fonts.googleapis.com/css?family=Lato:300);
html,body,div,span,a,li,td,th {
font-family: 'Lato', sans-serif;
font-weight: 300;
}
html {
position: relative;
min-height: 100%;
}
body {
padding-top: 60px;
margin-bottom: 75px;
}
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 45px;
line-height: 45px;
}
h1, h2, h3, h4, h5, h6, p, li {
padding-top: 5px;
padding-bottom: 5px;
}
// Navbar
// -------------------------
.navbar-nav img {
width: 30px;
height: 30px;
margin: -15px 15px -15px;
}
// 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;
}
.navbar-icon {
height: 40px;
margin-top: -10px;
}
/**/
.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;
}
.nav-height {
height: 50px;
}
.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-10 {
margin-top: -45px;
margin-bottom: -45px;
}
.landing-p {
font-size: 18px !important;
}
.text-success {
color: @brand-success;
}
.delay-half {
-webkit-animation-delay: 0.5s;
animation-delay: 0.5s;
}
.delay-1 {
-webkit-animation-delay: 1s;
animation-delay: 1s;
}
.delay-2 {
-webkit-animation-delay: 2s;
animation-delay: 2s;
}
.delay-3 {
-webkit-animation-delay: 3s;
animation-delay: 3s;
}
.delay-4 {
-webkit-animation-delay: 4s;
animation-delay: 4s;
}
.delay-5 {
-webkit-animation-delay: 5s;
animation-delay: 5s;
}
.delay-6 {
-webkit-animation-delay: 6s;
animation-delay: 6s;
}
.fast-animation {
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
}
.slow-animation {
-webkit-animation-duration: 2s;
animation-duration: 2s;
}
.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 {
height: 40px;
white-space: nowrap;
}
.panel-body {
margin-bottom: -6px;
}
.strikethrough {
text-decoration: line-through;
}
.dropdown-toggle {
margin-top: -5px;
}
.btn-social {
width: 250px;
margin: auto;
}
.navbar {
background-color: #502D16;
}
.navbar-default .navbar-nav > li > a {
color: #fff;
&:hover {
color: #ddd;
}
}
.hug-top {
margin-top: -40px;
margin-bottom: -10px;
}
.big-text {
font-size: 63px;
}
.scroll-lock {
overflow: hidden;
height: 100%;
}