terraform/website/source/stylesheets/_home.less

595 lines
8.0 KiB
Plaintext
Executable File

//
// Home
// --------------------------------------------------
/*body.page-home{
background-color: #f8f8f8;
}*/
.feature{
padding: 240px 0;
.lato-light();
//.anti-alias();
h2{
text-align: right;
font-size: 44px;
line-height: 44px;
letter-spacing: 2px;
text-transform: uppercase;
color: @purple;
.lato-light();
}
p{
font-size: 16px;
letter-spacing: 1px;
line-height: 1.5em;
font-family: @font-family-lato;
font-weight: @font-weight-lato-sb;
}
.icn{
display: block;
width: 186px;
height: 272px;
margin: 0 auto;
background-position: center 0;
background-repeat: no-repeat;
}
}
#feature-auto{
padding: 200px 0 300px;
margin-top: -36px;
background: #fff url(../images/white-wireframe.png) center top no-repeat;
background-size: cover;
.skewY(-3deg);
>.container{
.skewY(3deg);
}
h2{
font-size: 43px
}
p{
text-align: right;
padding-left: 100px;
}
.terminal-text{
background: black;
color: white;
line-height: 88px;
text-align: center;
margin: 81px 20px 0;
font-size: 30px;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
}
}
#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{
margin-top: 40px;
}
.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);
}
}
h2{
color: white;
}
}
#feature-clone{
margin-top: -80px;
padding: 240px 0 300px;
color: white;
background-color: @purple;
.skewY(3deg);
>.container{
.skewY(-3deg);
}
h2{
color: white;
font-size: 37px;
}
p{
text-align: right;
}
.clone-icon{
padding-left: 80px;
}
.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;
}
}
}
}
#cta {
padding: 180px 0 220px;
background-color: @purple;
.skewY(-3deg);
>.container{
.skewY(3deg);
}
.intro {
.left {
text-align: right;
}
.right {
//margin-top: 12px;
}
}
p{
padding-top: 4px;
color: white;
font-size: 14px;
letter-spacing: 1px;
line-height: 1.5em;
font-family: @font-family-lato;
font-weight: 100;
}
.outline-btn {
padding: 16px 40px;
display: inline-block;
&:focus {
outline: 0;
}
}
a {
font-weight: 500;
font-size: 24px;
text-transform: uppercase;
letter-spacing: 3px;
color: white;
.lato-light();
&:hover {
text-decoration: none;
}
}
}
#demos{
padding: 180px 0 60px;
background-color: #000;
margin-top: -80px;
.skewY(-3deg);
>.container{
.skewY(3deg);
}
.explantion {
margin: 40px 0 60px 15px;
border-left: 8px solid #1e1e1e;
h2 {
margin-top: 0;
font-size: 28px;
color: lighten(@purple, 5%);
.lato-light();
}
p{
margin-bottom: 0;
font-size: 16px;
letter-spacing: 1px;
line-height: 1.5em;
color: @gray-light;
font-weight: 400;
}
}
.terminals{
margin-bottom: 80px;
.terminal-item{
margin-bottom: 120px;
&.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;
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;
}
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;
}
}
}
.terminal-window{
min-height: 140px;
padding: 20px;
font-size: 15px;
font-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
color: @white;
background-color: transparent;
.txt-r {
color: lighten(@red, 8%);;
}
.txt-p {
font-weight: bold;
color: lighten(@green, 10%);
}
p{
margin-bottom: 2px;
white-space: pre-wrap;
}
.cursor {
background-color: lighten(@purple, %5);
}
}
}
.feature-bullets{
list-style-type: none;
padding-left: 35px;
li{
padding: 5px 0 5px 45px;
}
}
}
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
#demos{
.terminals{
.terminal-item{
.feature-bullets{
li{
background-size: 12px 12px;
}
}
}
}
}
}
@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;
}
}
@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;
}
}
}
@media (max-width: 480px) {
#features{
text-align: center;
}
}
@media (max-width: 992px) {
.feature{
h2,p{
text-align: center !important;
padding-left: 0 !important;
}
}
#feature-clone{
.clone-icon{
width: 382px;
margin: 40px auto 0;
padding-left: 0 !important;
}
}
#feature-auto{
h2{
font-size: 43px
}
p{
text-align: right;
padding-left: 100px;
}
.terminal-text{
background: black;
color: white;
line-height: 88px;
text-align: center;
margin: 60px 20px 0;
font-size: 32px;
}
}
#demos{
.terminals{
.terminal-item{
>header{
.left{
span.icn{
}
}
.right{
padding-left: 54px;
}
}
}
}
}
}
@media (max-width: 768px) {
.feature{
h2,p{
text-align: center;
}
}
#demos{
.terminals{
.terminal-item{
>header{
.left{
span.icn{
padding-bottom: 15px;
}
}
.right{
padding-left: 15px;
}
}
}
}
}
#cta{
.intro{
text-align: center;
p{
text-align: center;
margin-bottom: 15px;
}
}
}
}
@media (max-width: 320px) {
.feature{
h2{
text-align: center;
font-size: 28px !important;
line-height: 34px;
overflow: hidden;
}
p{
text-align: center !important;
padding: 0 !important;
}
}
#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{
margin-left: 45px;
margin-bottom: 40px;
}
.t-block{
background-color: rgb(255, 255, 255);
width: 40px;
height: 40px;
.skewY(26deg);
float: left;
margin-right: 15px;
}
}
#demos{
}
#cta{
}
}