terraform/website/source/assets/stylesheets/_home.scss

750 lines
10 KiB
SCSS
Raw Normal View History

2014-07-16 23:51:48 +02:00
//
// Home
// --------------------------------------------------
2014-07-23 00:31:43 +02:00
/*body.page-home{
2014-07-16 23:51:48 +02:00
background-color: #f8f8f8;
2014-07-23 00:31:43 +02:00
}*/
2014-07-16 23:51:48 +02:00
2014-07-23 00:31:43 +02:00
.feature{
padding: 240px 0;
2014-10-13 18:44:38 +02:00
@include lato-light();
h2{
2014-07-23 00:31:43 +02:00
text-align: right;
font-size: 44px;
2014-07-23 11:36:35 +02:00
line-height: 44px;
2014-07-16 23:51:48 +02:00
letter-spacing: 2px;
2014-07-23 11:36:35 +02:00
text-transform: uppercase;
2014-10-13 18:44:38 +02:00
color: $purple;
@include lato-light();
2014-07-16 23:51:48 +02:00
}
2014-07-23 00:31:43 +02:00
2014-07-16 23:51:48 +02:00
p{
font-size: 16px;
letter-spacing: 1px;
line-height: 1.5em;
2014-10-13 18:44:38 +02:00
font-family: $font-family-lato;
font-weight: 300;
2014-07-16 23:51:48 +02:00
}
.icn{
display: block;
width: 186px;
height: 272px;
margin: 0 auto;
background-position: center 0;
background-repeat: no-repeat;
}
}
.skew-item{
>.container{
position: relative;
top: 0;
z-index: 11;
}
.feature-skew{
position: absolute;
2014-08-06 03:12:57 +02:00
top: 0px;
bottom: 0px;
left: 0px;
width: 100%;
height: 100%;
2014-08-06 03:12:57 +02:00
}
2014-07-16 23:51:48 +02:00
}
2014-07-23 00:31:43 +02:00
#feature-auto{
position: relative;
2014-07-23 11:36:35 +02:00
padding: 200px 0 300px;
2014-07-23 00:31:43 +02:00
margin-top: -36px;
#feature-auto-bg{
2014-10-13 18:44:38 +02:00
background: #fff image-url("white-wireframe.png") center top no-repeat;
background-size: cover;
2014-10-13 18:44:38 +02:00
@include skewY(-3deg);
z-index: 10;
2014-07-23 00:31:43 +02:00
}
2014-07-16 23:51:48 +02:00
2014-07-23 11:36:35 +02:00
h2{
2014-07-24 20:58:22 +02:00
font-size: 43px
2014-07-23 11:36:35 +02:00
}
p{
text-align: right;
padding-left: 100px;
}
2014-07-23 00:31:43 +02:00
.terminal-text{
2014-07-23 11:36:35 +02:00
background: black;
color: white;
2014-07-23 00:31:43 +02:00
line-height: 88px;
text-align: center;
2014-07-24 20:58:22 +02:00
margin: 81px 20px 0;
font-size: 30px;
2014-07-23 00:31:43 +02:00
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
2014-07-16 23:51:48 +02:00
}
}
2014-07-23 00:31:43 +02:00
#feature-iterate{
position: relative;
margin-top: -80px;
2014-07-23 11:36:35 +02:00
padding: 280px 0 360px;
2014-07-23 01:29:54 +02:00
color: white;
2014-07-23 00:31:43 +02:00
>.container{
z-index: 21;
}
2014-07-23 01:29:54 +02:00
#feature-iterate-bg{
2014-10-13 18:44:38 +02:00
background: #fff image-url("feature-iterate-bg.png") center top no-repeat;
border-top: 2px solid white;
2014-10-13 18:44:38 +02:00
border-bottom: 2px solid $purple;
background-size: cover;
2014-10-13 18:44:38 +02:00
@include skewY(3deg);
z-index: 20;
2014-08-06 03:12:57 +02:00
}
2014-07-23 11:36:35 +02:00
p{
text-align: right;
padding-left: 120px;
font-weight: 300;
2014-07-23 11:36:35 +02:00
}
.it-icon{
margin-top: 40px;
}
2014-07-23 03:59:07 +02:00
.t-block{
background-color: rgb(255, 255, 255);
width: 80px;
height: 80px;
2014-10-13 18:44:38 +02:00
@include skewY(26deg);
2014-07-23 03:59:07 +02:00
float: left;
margin-right: 25px;
&.t2{
background-color: rgba(255, 255, 255, .8);
}
&.t3{
background-color: rgba(255, 255, 255, .6);
}
&.t4{
background-color: rgba(255, 255, 255, .4);
}
2014-07-23 03:59:07 +02:00
}
2014-07-23 01:29:54 +02:00
h2{
color: white;
}
}
#feature-clone{
position: relative;
margin-top: -80px;
2014-07-23 01:44:41 +02:00
padding: 240px 0 300px;
2014-07-23 01:29:54 +02:00
color: white;
>.container{
z-index: 21;
}
2014-07-23 01:29:54 +02:00
#feature-clone-bg{
2014-10-13 18:44:38 +02:00
background-color: $purple;
@include skewY(3deg);
z-index: 20;
2014-08-06 03:12:57 +02:00
}
2014-07-23 01:29:54 +02:00
h2{
color: white;
2014-07-23 12:22:08 +02:00
font-size: 37px;
}
p{
text-align: right;
2014-07-23 04:39:04 +02:00
}
2014-07-23 07:09:12 +02:00
.clone-icon{
padding-left: 80px;
}
2014-07-23 07:13:48 +02:00
2014-07-23 04:39:04 +02:00
.c-group{
display: inline-block;
margin-right: 20px;
&.cg2{
opacity: .8;
}
&.cg3{
opacity: .6;
}
.c-col{
display: inline-block;
float: left;
&.c1{
padding-top: 16px;
}
&.c3{
padding-top: 55px;
}
2014-07-23 04:39:04 +02:00
.c-block{
background-color: white;
width: 30px;
height: 30px;
2014-10-13 18:44:38 +02:00
@include skewY(30deg);
2014-07-23 04:39:04 +02:00
margin: 5px 5px 0 0;
}
}
}
2014-07-23 00:31:43 +02:00
}
2014-07-16 23:51:48 +02:00
#cta {
position: relative;
padding: 180px 0 220px;
2014-07-23 03:46:21 +02:00
>.container{
z-index: 21;
2014-07-23 03:46:21 +02:00
}
2014-07-16 23:51:48 +02:00
#cta-bg{
2014-10-13 18:44:38 +02:00
background-color: $purple;
@include skewY(-3deg);
z-index: 20;
2014-08-06 03:12:57 +02:00
}
2014-07-16 23:51:48 +02:00
.intro {
.left {
text-align: right;
}
.right {
margin-top: 2px;
2014-07-16 23:51:48 +02:00
}
}
p{
2014-07-23 11:37:48 +02:00
padding-top: 4px;
2014-07-23 03:46:21 +02:00
color: white;
2014-07-16 23:51:48 +02:00
font-size: 14px;
letter-spacing: 1px;
2014-07-28 14:46:39 +02:00
line-height: 1.5esm;
2014-10-13 18:44:38 +02:00
font-family: $font-family-lato;
2014-07-16 23:51:48 +02:00
}
.outline-btn {
2014-07-23 03:46:21 +02:00
padding: 16px 40px;
2014-07-16 23:51:48 +02:00
display: inline-block;
&:focus {
outline: 0;
}
}
a {
2014-07-28 14:46:39 +02:00
font-size: 24px;
text-transform: uppercase;
letter-spacing: 3px;
color: white;
2014-10-13 18:44:38 +02:00
@include lato-light();
2014-07-16 23:51:48 +02:00
font-weight: 500;
2014-07-23 03:46:21 +02:00
&:hover {
text-decoration: none;
}
2014-07-16 23:51:48 +02:00
}
}
#demos{
position: relative;
2014-07-23 03:46:21 +02:00
padding: 180px 0 60px;
2014-07-23 01:44:41 +02:00
margin-top: -80px;
>.container{
z-index: 31;
}
#demo-bg{
background-color: #000;
2014-10-13 18:44:38 +02:00
@include skewY(-3deg);
z-index: 30;
2014-07-23 01:44:41 +02:00
}
2014-07-16 23:51:48 +02:00
.explantion {
2014-07-23 03:46:21 +02:00
margin: 40px 0 60px 15px;
border-left: 8px solid #1e1e1e;
2014-07-16 23:51:48 +02:00
h2 {
2014-07-23 03:46:21 +02:00
margin-top: 0;
font-size: 28px;
2014-10-13 18:44:38 +02:00
color: lighten($purple, 8%);
@include lato-light();
2014-07-16 23:51:48 +02:00
}
p{
2014-07-23 03:46:21 +02:00
margin-bottom: 0;
2014-07-16 23:51:48 +02:00
font-size: 16px;
letter-spacing: 1px;
line-height: 1.5em;
2014-10-13 18:44:38 +02:00
color: $gray-light;
2014-07-23 03:46:21 +02:00
font-weight: 400;
2014-07-16 23:51:48 +02:00
}
}
.terminals{
margin-bottom: 80px;
.terminal-item{
2014-07-23 03:46:21 +02:00
margin-bottom: 120px;
2014-07-16 23:51:48 +02:00
&.last{
border-bottom: none;
}
>header{
.left{
span.icn{
display: inline-block;
width: 83px;
height: 74px;
}
}
.right{
padding-left: 25px;
h2{
margin-top: 0;
font-size: 28px;
text-transform: uppercase;
}
p{
font-size: 16px;
}
}
}
.terminal{
2014-07-25 20:21:29 +02:00
border: 2px solid #1e1e1e;
//border-radius: 4px;
2014-07-16 23:51:48 +02:00
header{
position: relative;
text-align: center;
padding: 3px;
2014-07-25 20:21:29 +02:00
//background-color: #1e1e1e;
2014-07-23 01:53:39 +02:00
border-bottom: 2px solid #1e1e1e;
2014-07-16 23:51:48 +02:00
h4{
font-size: 14px;
letter-spacing: 1px;
2014-07-23 01:53:39 +02:00
color: white;
2014-10-13 18:44:38 +02:00
font-family: $font-family-lato;
font-weight: $font-weight-lato-xb;
2014-07-16 23:51:48 +02:00
}
ul.shell-dots{
position: absolute;
top: 10px;
left: 8px;
padding-left: 0;
li{
2014-07-23 01:53:39 +02:00
&.d1{
background-color: #4a08a7;
}
&.d2{
background-color: #6517cf;
}
&.d3{
background-color: #7b29ee;
}
2014-07-16 23:51:48 +02:00
display: inline-block;
width: 12px;
height: 12px;
border-radius: 6px;
margin-left: 6px;
}
}
}
.terminal-window{
min-height: 140px;
padding: 20px;
font-size: 15px;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
2014-10-13 18:44:38 +02:00
color: $white;
2014-07-23 01:53:39 +02:00
background-color: transparent;
overflow:auto;
2014-07-28 19:10:23 +02:00
font-weight: 500;
-webkit-font-smoothing: subpixel-antialiased;
2014-07-16 23:51:48 +02:00
2014-07-29 02:30:12 +02:00
.txt-spe {
2014-10-13 18:44:38 +02:00
color: lighten($blue, 5%);
2014-08-06 03:12:57 +02:00
font-weight: 600;
}
2014-07-29 02:30:12 +02:00
.txt-var {
2014-10-13 18:44:38 +02:00
color: lighten($purple, 8%);
2014-08-06 03:12:57 +02:00
font-weight: 600;
2014-07-29 02:30:12 +02:00
}
.txt-str {
2014-10-13 18:44:38 +02:00
color: lighten($green, 2%);
2014-07-16 23:51:48 +02:00
}
2014-07-29 02:30:12 +02:00
.txt-int {
2014-10-13 18:44:38 +02:00
color: lighten($orange, 2%);
2014-08-06 03:12:57 +02:00
font-weight: 600;
2014-07-29 02:30:12 +02:00
}
2014-07-16 23:51:48 +02:00
p{
margin-bottom: 2px;
white-space: pre-wrap;
}
.cursor {
2014-10-13 18:44:38 +02:00
background-color: lighten($purple, 5%);
2014-07-16 23:51:48 +02:00
}
}
}
.feature-bullets{
list-style-type: none;
padding-left: 35px;
li{
padding: 5px 0 5px 45px;
}
}
}
}
}
2014-07-24 20:58:22 +02:00
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
#demos{
.terminals{
.terminal-item{
.feature-bullets{
li{
background-size: 12px 12px;
}
}
}
}
}
}
2014-07-24 03:15:15 +02:00
@media (min-width: 1500px) {
#feature-auto{
padding: 270px 0 400px;
}
#feature-iterate{
margin-top: -180px;
padding: 300px 0 410px;
}
2014-07-24 03:15:15 +02:00
#feature-clone{
margin-top: -180px;
padding: 270px 0 430px;
}
#demos{
margin-top: -180px;
padding-top: 240px;
}
2014-07-24 03:15:15 +02:00
}
2014-07-24 20:58:22 +02:00
@media (min-width: 1200px) {
#feature-auto{
h2{
font-size: 41px;
}
2014-07-24 20:58:22 +02:00
.terminal-text{
background: black;
color: white;
line-height: 88px;
text-align: center;
margin: 60px 20px 0;
font-size: 32px;
}
}
}
2014-07-24 20:58:22 +02:00
2014-07-24 21:28:00 +02:00
@media (max-width: 1200px) {
#feature-iterate{
h2{
font-size: 40px;
}
2014-07-24 20:58:22 +02:00
2014-07-24 21:28:00 +02:00
.it-icon{
margin-top: 52px;
}
.t-block{
width: 73px;
height: 73px;
margin-right: 20px;
}
}
}
2014-07-24 21:34:13 +02:00
@media (min-width: 992px) and (max-width:1200px) {
#cta a {
margin-top: 15px;
font-size: 18px;
}
2014-07-25 03:17:04 +02:00
#feature-clone{
.clone-icon{
padding-left: 0 !important;
}
}
2014-07-24 21:34:13 +02:00
}
@media (min-width: 768px) and (max-width:992px) {
#cta a {
margin-top: 10px;
}
}
2014-07-24 20:58:22 +02:00
@media (max-width: 992px) {
2014-07-24 20:58:22 +02:00
.feature{
h2,p{
text-align: center !important;
padding-left: 0 !important;
}
}
2014-07-16 23:51:48 +02:00
2014-07-24 21:28:00 +02:00
#feature-iterate{
.it-icon{
width: 372px;
margin: 0 auto 40px;
padding-left: 0 !important;
}
}
2014-07-24 20:58:22 +02:00
#feature-clone{
.clone-icon{
width: 382px;
margin: 40px auto 0;
padding-left: 0 !important;
2014-07-16 23:51:48 +02:00
}
}
2014-07-24 20:58:22 +02:00
#feature-auto{
2014-07-16 23:51:48 +02:00
2014-07-24 20:58:22 +02:00
h2{
font-size: 43px
}
2014-07-16 23:51:48 +02:00
2014-07-24 20:58:22 +02:00
p{
text-align: right;
padding-left: 100px;
}
2014-07-24 20:43:14 +02:00
2014-07-24 20:58:22 +02:00
.terminal-text{
background: black;
color: white;
line-height: 88px;
text-align: center;
margin: 60px 20px 0;
font-size: 32px;
2014-07-24 20:43:14 +02:00
}
}
2014-07-16 23:51:48 +02:00
#demos{
.terminals{
.terminal-item{
>header{
.left{
span.icn{
}
}
.right{
padding-left: 54px;
}
}
}
}
}
}
@media (max-width: 768px) {
2014-07-24 20:43:14 +02:00
.feature{
h2,p{
text-align: center;
}
}
2014-07-16 23:51:48 +02:00
#demos{
2014-07-25 00:59:37 +02:00
.explantion {
margin: 40px 0 60px 0;
}
2014-07-16 23:51:48 +02:00
.terminals{
.terminal-item{
>header{
.left{
span.icn{
padding-bottom: 15px;
}
}
.right{
padding-left: 15px;
}
}
}
}
}
2014-07-24 02:14:03 +02:00
#cta{
.intro{
text-align: center;
p{
text-align: center;
margin-bottom: 15px;
}
}
}
2014-07-16 23:51:48 +02:00
}
2014-07-24 21:28:00 +02:00
@media (max-width: 480px) {
#demos .explantion {
margin: 40px 0 60px 0;
}
#feature-auto .terminal-text {
font-size: 24px;
}
2014-07-24 03:26:26 +02:00
.feature{
h2{
text-align: center;
font-size: 28px !important;
line-height: 34px;
overflow: hidden;
}
p{
text-align: center !important;
padding: 0 !important;
}
}
2014-07-24 03:58:55 +02:00
2014-07-24 21:28:00 +02:00
#features{
text-align: center;
}
}
@media (max-width: 320px) {
#feature-clone{
}
2014-07-24 03:58:55 +02:00
#feature-iterate{
margin-top: -80px;
padding: 280px 0 360px;
color: white;
2014-10-13 18:44:38 +02:00
background: #fff image-url("feature-iterate-bg.png") center top no-repeat;
2014-07-24 03:58:55 +02:00
border-top: 2px solid white;
2014-10-13 18:44:38 +02:00
border-bottom: 2px solid $purple;
2014-07-24 03:58:55 +02:00
background-size: cover;
2014-10-13 18:44:38 +02:00
@include skewY(3deg);
2014-07-24 03:58:55 +02:00
>.container{
2014-10-13 18:44:38 +02:00
@include skewY(-3deg);
2014-07-24 03:58:55 +02:00
}
p{
text-align: right;
padding-left: 120px;
2014-07-28 14:46:39 +02:00
font-weight: 300;
2014-07-24 03:58:55 +02:00
}
.it-icon{
2014-07-25 00:59:37 +02:00
width: 245px;
margin: 0 auto 40px 45px;
2014-07-24 21:28:00 +02:00
padding-left: 0 !important;
2014-07-24 03:58:55 +02:00
}
.t-block{
background-color: rgb(255, 255, 255);
width: 40px;
height: 40px;
2014-10-13 18:44:38 +02:00
@include skewY(26deg);
2014-07-24 03:58:55 +02:00
float: left;
margin-right: 15px;
}
}
2014-07-25 00:59:37 +02:00
#feature-clone{
.clone-icon{
width: 290px;
margin: 40px auto 0;
padding-left: 45px !important;
}
2014-07-25 00:59:37 +02:00
.c-group{
&.cg2{
opacity: .7;
}
&.cg3{
opacity: .5;
}
.c-col{
2014-07-25 00:59:37 +02:00
&.c1{
padding-top: 8px;
}
&.c3{
padding-top: 28px;
}
2014-07-25 00:59:37 +02:00
.c-block{
background-color: white;
width: 15px;
height: 15px;
2014-10-13 18:44:38 +02:00
@include skewY(30deg);
2014-07-25 00:59:37 +02:00
margin: 3px 3px 0 0;
}
}
}
2014-07-24 03:26:26 +02:00
}
#demos .explantion{
border-left: 8px solid transparent;
}
2014-07-25 00:59:37 +02:00
#cta a {
font-size: 14px;
font-weight: 400;
2014-07-24 03:26:26 +02:00
}
}
2014-07-16 23:51:48 +02:00