terraform/website/source/stylesheets/_home.less

480 lines
6.5 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;
line-height: 54px;
2014-07-16 23:51:48 +02:00
letter-spacing: 2px;
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 01:44:41 +02:00
padding: 240px 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(-2deg);
2014-07-16 23:51:48 +02:00
2014-07-23 00:31:43 +02:00
>.container{
.skewY(2deg);
2014-07-23 00:31:43 +02:00
}
2014-07-16 23:51:48 +02:00
2014-07-23 00:31:43 +02:00
.terminal-text{
color: black;
line-height: 88px;
text-align: center;
font-size: 35px;
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 01:29:54 +02:00
padding: 280px 0;
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(2deg);
2014-07-23 00:31:43 +02:00
>.container{
.skewY(-2deg);
}
2014-07-23 01:29:54 +02:00
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(2deg);
>.container{
.skewY(-2deg);
}
2014-07-23 01:29:54 +02:00
h2{
color: white;
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
2014-07-23 03:46:21 +02:00
#footer-wrap{
background-color: white;
padding: 0 0 50px 0;
}
2014-07-16 23:51:48 +02:00
#footer{
2014-07-23 03:46:21 +02:00
background-color: white;
.skewY(-2deg);
>.container{
.skewY(2deg);
}
2014-07-16 23:51:48 +02:00
.footer-links{
margin-bottom: 20px;
2014-07-23 08:03:13 +02:00
li{
a{
text-transform: uppercase;
font-size: 12px;
letter-spacing: 3px;
&:hover{
background-color: transparent;
}
}
}
2014-07-16 23:51:48 +02:00
}
.footer-hashi{
letter-spacing: 2px;
margin-bottom: 30px;
a{
2014-07-22 23:24:44 +02:00
font-weight: @font-weight-lato-xb;
2014-07-16 23:51:48 +02:00
}
span{
2014-07-23 07:13:48 +02:00
margin-right: 10px;
2014-07-16 23:51:48 +02:00
}
img{
display: inline-block;
width: 37px;
height: 40px;
}
}
}
@media (max-width: 992px) {
#features{
.double-row{
padding: 0 0 0 0;
.row{
padding-bottom: 90px;
}
}
.icn{
height: 200px;
}
}
}
@media (max-width: 480px) {
#features{
text-align: center;
}
}
#cta {
2014-07-23 03:46:21 +02:00
padding: 180px 0;
background-color: @purple;
.skewY(-2deg);
>.container{
.skewY(2deg);
}
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 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;
font-weight: @font-weight-lato-sb;
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(-2deg);
>.container{
.skewY(2deg);
}
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;
}
}
}
}
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
#demos{
.terminals{
.terminal-item{
.feature-bullets{
li{
background-size: 12px 12px;
}
}
}
}
}
}
@media (max-width: 992px) {
#demos{
.terminals{
.terminal-item{
>header{
.left{
span.icn{
}
}
.right{
padding-left: 54px;
}
}
}
}
}
}
@media (max-width: 768px) {
#demos{
.terminals{
.terminal-item{
>header{
.left{
span.icn{
padding-bottom: 15px;
}
}
.right{
padding-left: 15px;
}
}
}
}
}
}