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

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