terraform/website/source/stylesheets/_home.less

698 lines
9.3 KiB
Plaintext
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-07-23 01:29:54 +02:00
.lato-light();
2014-07-23 01:44:41 +02:00
//.anti-alias();
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-07-16 23:51:48 +02:00
color: @purple;
2014-07-23 01:29:54 +02:00
.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;
2014-07-23 00:31:43 +02:00
line-height: 1.5em;
2014-07-22 23:24:44 +02:00
font-family: @font-family-lato;
font-weight: @font-weight-lato-sb;
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;
}
}
2014-07-23 00:31:43 +02:00
#feature-auto{
2014-07-23 11:36:35 +02:00
padding: 200px 0 300px;
2014-07-23 00:31:43 +02:00
margin-top: -36px;
background: #fff url(../images/white-wireframe.png) center top no-repeat;
2014-07-23 00:31:43 +02:00
background-size: cover;
.skewY(-3deg);
2014-07-16 23:51:48 +02:00
2014-07-23 00:31:43 +02:00
>.container{
.skewY(3deg);
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{
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;
background: #fff url(../images/feature-iterate-bg.png) center top no-repeat;
border-top: 2px solid white;
border-bottom: 2px solid @purple;
background-size: cover;
.skewY(3deg);
2014-07-23 00:31:43 +02:00
>.container{
.skewY(-3deg);
}
2014-07-23 01:29:54 +02:00
2014-07-23 11:36:35 +02:00
p{
text-align: right;
padding-left: 120px;
font-weight: 100;
}
.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;
.skewY(26deg);
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 01:29:54 +02:00
h2{
color: white;
}
}
#feature-clone{
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;
background-color: @purple;
.skewY(3deg);
>.container{
.skewY(-3deg);
}
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;
}
.c-block{
background-color: white;
width: 30px;
height: 30px;
.skewY(30deg);
margin: 5px 5px 0 0;
}
}
}
2014-07-23 00:31:43 +02:00
}
2014-07-16 23:51:48 +02:00
#cta {
padding: 180px 0 220px;
2014-07-23 03:46:21 +02:00
background-color: @purple;
.skewY(-3deg);
2014-07-23 03:46:21 +02:00
>.container{
.skewY(3deg);
2014-07-23 03:46:21 +02:00
}
2014-07-16 23:51:48 +02:00
.intro {
.left {
text-align: right;
}
.right {
2014-07-23 03:46:21 +02:00
//margin-top: 12px;
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-23 03:46:21 +02:00
line-height: 1.5em;
2014-07-22 23:24:44 +02:00
font-family: @font-family-lato;
2014-07-23 11:37:48 +02:00
font-weight: 100;
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 {
font-weight: 500;
2014-07-23 03:46:21 +02:00
font-size: 24px;
text-transform: uppercase;
letter-spacing: 3px;
color: white;
.lato-light();
&:hover {
text-decoration: none;
}
2014-07-16 23:51:48 +02:00
}
}
#demos{
2014-07-23 03:46:21 +02:00
padding: 180px 0 60px;
2014-07-23 01:44:41 +02:00
background-color: #000;
margin-top: -80px;
.skewY(-3deg);
2014-07-23 01:44:41 +02:00
>.container{
.skewY(3deg);
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;
color: lighten(@purple, 5%);
.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;
2014-07-23 01:44:41 +02:00
line-height: 1.5em;
2014-07-23 03:46:21 +02:00
color: @gray-light;
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{
border-radius: 4px;
header{
position: relative;
text-align: center;
padding: 3px;
2014-07-23 03:46:21 +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-07-22 23:24:44 +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-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
color: @white;
2014-07-23 01:53:39 +02:00
background-color: transparent;
2014-07-16 23:51:48 +02:00
.txt-r {
color: lighten(@red, 8%);;
}
.txt-p {
font-weight: bold;
2014-07-23 03:46:21 +02:00
color: lighten(@green, 10%);
2014-07-16 23:51:48 +02:00
}
p{
margin-bottom: 2px;
white-space: pre-wrap;
}
.cursor {
2014-07-23 03:46:21 +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;
}
#feature-clone{
margin-top: -180px;
padding: 270px 0 430px;
}
#demos{
margin-top: -180px;
padding-top: 240px;
}
}
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;
background: #fff url(../images/feature-iterate-bg.png) center top no-repeat;
border-top: 2px solid white;
border-bottom: 2px solid @purple;
background-size: cover;
.skewY(3deg);
>.container{
.skewY(-3deg);
}
p{
text-align: right;
padding-left: 120px;
font-weight: 100;
}
.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;
.skewY(26deg);
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;
}
.c-group{
&.cg2{
opacity: .7;
}
&.cg3{
opacity: .5;
}
.c-col{
&.c1{
padding-top: 8px;
}
&.c3{
padding-top: 28px;
}
.c-block{
background-color: white;
width: 15px;
height: 15px;
.skewY(30deg);
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