1
0
Fork 0
docsearch/docs/css/_home.scss
2015-12-22 22:34:33 +01:00

261 lines
4.3 KiB
SCSS

/* COLORS
// -------------------------
#46AEDA Algolia blue
#FF2E6C Radical Red
#091724 Black Pearl
#C7C4C4 Gray text
*/
/* GENERAL
// ------------------------- */
html, body {
position: relative;
font-family: "Raleway", Helvetica, Arial, sans-serif;
}
/* HEADER
// ------------------------- */
#logo img {
height: 32px;
margin-right: 12px;
}
.site-header {
width: 100%;
.navbar {
border-radius: 0;
border: none;
background-color: #0B1724;
.navbar-header {
position: relative;
height: 50px;
font-size: 16px;
line-height: 50px
}
.navbar-nav > li > a {
padding-bottom: 0;
}
}
}
/* JUMBOTRON
// ------------------------- */
.main-content .jumbotron {
padding-top: 60px;
background: #091724 url(../img/header-bg.png) no-repeat center center;
background-size: cover;
margin-bottom: 0;
}
.jumbotron .jumbotron-header {
text-align: center;
color: #FFF;
}
.jumbotron .jumbotron-left-column {
display: none;
padding-top: 100px;
float: left;
width: 400px;
color: #FFF;
margin-left: 120px;
}
.jumbotron .jumbotron-left-column p {
font-size: 18px;
color: #C7C4C3;
}
@media (min-width: 1200px) {
.jumbotron .jumbotron-left-column {
display: block;
}
}
/* JOIN FORM
// ------------------------- */
#join-form {
background: #242E3A;
display: block;
width: 400px;
padding: 5px 10px;
margin: 0 auto;
border-radius: 6px;
color: #FFF;
max-width: 90%;
h3 {
text-align: center;
padding-bottom: 20px;
border-bottom: 1px solid #3A434E;
}
label {
display: block;
font-weight: normal;
}
p {
margin-top: 5px;
font-size: 13px;
color: #C7C4C4;
font-style: italic;
}
}
@media (min-width: 1200px) {
#join-form {
position: absolute;
top: 200px;
right: 120px;
padding: 10px 40px 30px;
}
}
/* PAGE SECTIONS
// ------------------------- */
.page-section {
padding: 60px 0;
font-size: 16px;
line-height: 1.8;
color: #091724;
}
.page-section-dark {
background-color: #091724;
color: #C7C4C4;
}
h2.page-section-title {
font-size: 26px;
text-transform: uppercase;
font-weight: 600;
margin-top: 0;
margin-bottom: 30px;
text-align: center;
letter-spacing: 1px;
}
.page-section-dark h2.page-section-title{
color: #FFF;
}
h2.page-section-title:after {
display: block;
content: '';
border-bottom: 3px solid #FF2E6C;
margin: 30px auto 33px;
width: 60px;
}
#section_why {
padding-left: 20px;
padding-right: 20px;
font-size: 20px;
}
@media (min-width: 600px) {
#section_why {
padding-left: 120px;
padding-right: 120px;
}
}
#section_examples {
font-size: 18px;
text-align: center;
padding-left: 20px;
padding-right: 20px;
}
#section_examples a {
color: #C7C4C4;
}
#section_examples a:hover {
color: #46AEDA;
text-decoration: none;
}
#section_examples .showcase {
margin-top: 40px;
text-align: center;
}
@media (min-width: 600px) {
#section_examples {
padding-left: 0px;
padding-right: 0px;
}
}
#section_examples .showcase img.logo {
display: inline-block;;
height: 60px;
margin-bottom: 20px;
}
#section_examples .showcase img.example {
width: 100%;
}
#section_how h3 .how-it-works-number {
float: left;
line-height: 35px;
color: #46AEDA;
font-size: 50px;
font-family: "Helvetica Neue";
margin-right: 10px;
}
#section_how h3 {
font-size: 18px;
font-weight: bold;
margin: 0 0 20px 0;
}
#section_how p {
clear: both;
}
#section_how {
padding-left: 20px;
padding-right: 20px;
}
@media (min-width: 600px) {
#section_how p {
padding-left: 0px;
padding-right: 0px;
}
}
#section_get-started {
padding-left: 20px;
padding-right: 20px;
font-size: 20px;
}
@media (min-width: 600px) {
#section_get-started {
padding-left: 120px;
padding-right: 120px;
}
}
/* FOOTER
// ------------------------- */
footer.site-footer {
padding-top: 2em;
margin-top: 0;
border-top: 1px solid #eeeeee;
background-color: white;
text-align: center;
.fa.fa-heart {
color: #e61870;
}
.input-group-addon {
background-color: transparent;
}
}
.doc-page {
position: absolute;
z-index: 1;
&.show {
transition: opacity 300ms;
opacity:1;
}
&.hide {
opacity: 0;
transition: opacity 0;
}
}
.index-container {
position: relative;
text-align: center;
margin:auto;
z-index: 100;
}