github.com/ezbercih/terraform@v0.1.1-0.20140729011846-3c33865e0839/website/source/stylesheets/_home.less (about)

     1  //
     2  // Home
     3  // --------------------------------------------------
     4  /*body.page-home{
     5  	background-color: #f8f8f8;
     6  }*/
     7  
     8  .feature{
     9  	padding: 240px 0;
    10  	.lato-light();
    11  
    12  	h2{
    13  		text-align: right;
    14  		font-size: 44px;
    15  		line-height: 44px;
    16  		letter-spacing: 2px;
    17  		text-transform: uppercase;
    18  		color: @purple;
    19  		.lato-light();
    20  	}
    21  
    22  	p{
    23  		font-size: 16px;
    24  		letter-spacing: 1px;
    25      	line-height: 1.5em;
    26  		font-family: @font-family-lato;
    27  		font-weight: 300;
    28  	}
    29  
    30  	.icn{
    31  		display: block;
    32  		width: 186px;
    33  		height: 272px;
    34  		margin: 0 auto;
    35  		background-position: center 0;
    36  		background-repeat: no-repeat;
    37  	}
    38  }
    39  
    40  #feature-auto{
    41  	padding: 200px 0 300px;
    42  	margin-top: -36px;
    43  	background: #fff url(../images/white-wireframe.png) center top no-repeat;
    44  	background-size: cover;
    45  
    46  	>.container{
    47  	}
    48  
    49  	h2{
    50  		font-size: 43px
    51  	}
    52  
    53  	p{
    54  		text-align: right;
    55  		padding-left: 100px;
    56  	}
    57  
    58  	.terminal-text{
    59  		background: black;
    60  		color: white;
    61  		line-height: 88px;
    62  		text-align: center;
    63  		margin:  81px 20px 0;
    64  		font-size: 30px;
    65  		font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
    66  	}
    67  }
    68  
    69  #feature-iterate{
    70  	margin-top: -80px;
    71  	padding: 280px 0 360px;
    72  	color: white;
    73  	background: #fff url(../images/feature-iterate-bg.png) center top no-repeat;
    74  	border-top: 2px solid white;
    75  	border-bottom: 2px solid @purple;
    76  	background-size: cover;
    77  	.skewY(3deg);
    78  
    79  	>.container{
    80  		.skewY(-3deg);
    81  	}
    82  
    83  	p{
    84  		text-align: right;
    85  		padding-left: 120px;
    86  		font-weight: 300;
    87  	}
    88  
    89  	.it-icon{
    90  		margin-top: 40px;
    91  	}
    92  
    93  	.t-block{
    94  		background-color: rgb(255, 255, 255);
    95  		width: 80px;
    96  		height: 80px;
    97  		.skewY(26deg);
    98  		float: left;
    99  		margin-right: 25px;
   100  
   101  		&.t2{
   102  			background-color: rgba(255, 255, 255, .8);
   103  		}
   104  
   105  		&.t3{
   106  			background-color: rgba(255, 255, 255, .6);
   107  		}
   108  
   109  		&.t4{
   110  			background-color: rgba(255, 255, 255, .4);
   111  		}
   112  	}
   113  
   114  	h2{
   115  		color: white;
   116  	}
   117  }
   118  
   119  #feature-clone{
   120  	margin-top: -80px;
   121  	padding: 240px 0 300px;
   122  	color: white;
   123  	background-color: @purple;
   124  	.skewY(3deg);
   125  
   126  	>.container{
   127  		.skewY(-3deg);
   128  	}
   129  
   130  	h2{
   131  		color: white;
   132  		font-size: 37px;
   133  	}
   134  
   135  	p{
   136  		text-align: right;
   137  	}
   138  
   139  	.clone-icon{
   140  		padding-left: 80px;
   141  	}
   142  
   143  	.c-group{
   144  		display: inline-block;
   145  		margin-right: 20px;
   146  
   147  		&.cg2{
   148  			opacity: .8;
   149  		}
   150  
   151  		&.cg3{
   152  			opacity: .6;
   153  		}
   154  
   155  		.c-col{
   156  			display: inline-block;
   157  			float: left;
   158  
   159  			&.c1{
   160  				padding-top: 16px;
   161  			}
   162  
   163  			&.c3{
   164  				padding-top: 55px;
   165  			}
   166  
   167  			.c-block{
   168  				background-color: white;
   169  				width: 30px;
   170  				height: 30px;
   171  				.skewY(30deg);
   172  				margin: 5px 5px 0 0;
   173  			}
   174  		}
   175  	}
   176  }
   177  
   178  
   179  #cta {
   180  	padding: 180px 0 220px;
   181  	background-color: @purple;
   182  	.skewY(-3deg);
   183  
   184  	>.container{
   185  		.skewY(3deg);
   186  	}
   187  
   188  	.intro {
   189  		.left {
   190  			text-align: right;
   191  		}
   192  
   193  		.right {
   194  			margin-top: 2px;
   195  		}
   196  
   197  	}
   198  
   199  	p{
   200  		padding-top: 4px;
   201  		color: white;
   202  		font-size: 14px;
   203  		letter-spacing: 1px;
   204      	line-height: 1.5esm;
   205  		font-family: @font-family-lato;
   206  	}
   207  
   208  
   209  
   210  	.outline-btn {
   211  		padding: 16px 40px;
   212  		display: inline-block;
   213  		&:focus {
   214  	    	outline: 0;
   215  		}
   216  	}
   217  
   218  	a {
   219  	    font-size: 24px;
   220  	    text-transform: uppercase;
   221  	    letter-spacing: 3px;
   222  	    color: white;
   223  	    .lato-light();
   224  		font-weight: 500;
   225  
   226      &:hover {
   227      	text-decoration: none;
   228      }
   229  	}
   230  }
   231  
   232  #demos{
   233  	padding: 180px 0 60px;
   234  	background-color: #000;
   235  	margin-top: -80px;
   236  	.skewY(-3deg);
   237  
   238  	>.container{
   239  		.skewY(3deg);
   240  	}
   241  
   242  	.explantion {
   243  		margin: 40px 0 60px 15px;
   244  		border-left: 8px solid #1e1e1e;
   245  
   246  		h2 {
   247  			margin-top: 0;
   248  			font-size: 28px;
   249  			color: lighten(@purple, 8%);
   250  			.lato-light();
   251  		}
   252  
   253  		p{
   254  			margin-bottom: 0;
   255  			font-size: 16px;
   256  			letter-spacing: 1px;
   257  			line-height: 1.5em;
   258  			color: @gray-light;
   259  			font-weight: 400;
   260  		}
   261  	}
   262  
   263  	.terminals{
   264  		margin-bottom: 80px;
   265  
   266  		.terminal-item{
   267  			margin-bottom: 120px;
   268  
   269  			&.last{
   270  				border-bottom: none;
   271  			}
   272  			>header{
   273  				.left{
   274  					span.icn{
   275  						display: inline-block;
   276  						width: 83px;
   277  						height: 74px;
   278  					}
   279  				}
   280  
   281  				.right{
   282  					padding-left: 25px;
   283  
   284  					h2{
   285  						margin-top: 0;
   286  						font-size: 28px;
   287  						text-transform: uppercase;
   288  					}
   289  
   290  					p{
   291  						font-size: 16px;
   292  					}
   293  				}
   294  			}
   295  
   296  			.terminal{
   297  				border: 2px solid #1e1e1e;
   298  				//border-radius: 4px;
   299  
   300  				header{
   301  					position: relative;
   302  					text-align: center;
   303  					padding: 3px;
   304  					//background-color: #1e1e1e;
   305  					border-bottom: 2px solid #1e1e1e;
   306  
   307  					h4{
   308  						font-size: 14px;
   309  						letter-spacing: 1px;
   310  						color: white;
   311  						font-family: @font-family-lato;
   312  						font-weight: @font-weight-lato-xb;
   313  					}
   314  
   315  					ul.shell-dots{
   316  						position: absolute;
   317  						top: 10px;
   318  						left: 8px;
   319  						padding-left: 0;
   320  
   321  						li{
   322  							&.d1{
   323  								background-color: #4a08a7;
   324  							}
   325  							&.d2{
   326  								background-color: #6517cf;
   327  							}
   328  							&.d3{
   329  								background-color: #7b29ee;
   330  							}
   331  
   332  							display: inline-block;
   333  							width: 12px;
   334  							height: 12px;
   335  							border-radius: 6px;
   336  							margin-left: 6px;
   337  						}
   338  					}
   339  				}
   340  
   341  				.terminal-window{
   342  					min-height: 140px;
   343  					padding: 20px;
   344  					font-size: 15px;
   345  					font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
   346  					color: @white;
   347  					background-color: transparent;
   348  					overflow:auto;
   349  					font-weight: 500;
   350  					-webkit-font-smoothing: subpixel-antialiased;
   351  
   352  					.txt-spe {
   353  						color: lighten(@blue, 5%);
   354  					}
   355  
   356  					.txt-var {
   357  						color: lighten(@purple, 8%);
   358  					}
   359  
   360  					.txt-str {
   361  						color: lighten(@green, 2%);
   362  					}
   363  
   364  					.txt-int {
   365  						color: lighten(@orange, 2%);
   366  					}
   367  
   368  					p{
   369  						margin-bottom: 2px;
   370  						white-space: pre-wrap;
   371  					}
   372  					.cursor {
   373  						background-color: lighten(@purple, %5);
   374  					}
   375  				}
   376  			}
   377  
   378  			.feature-bullets{
   379  				list-style-type: none;
   380  				padding-left: 35px;
   381  
   382  				li{
   383  					padding: 5px 0 5px 45px;
   384  				}
   385  			}
   386  		}
   387  	}
   388  }
   389  
   390  
   391  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
   392  	#demos{
   393  		.terminals{
   394  			.terminal-item{
   395  				.feature-bullets{
   396  					li{
   397  						background-size: 12px 12px;
   398  					}
   399  				}
   400  			}
   401  		}
   402  	}
   403  }
   404  
   405  
   406  @media (min-width: 1500px) {
   407  
   408  	#feature-auto{
   409  		padding: 270px 0 400px;
   410  	}
   411  
   412  	#feature-iterate{
   413  		margin-top: -180px;
   414  		padding: 300px 0 410px;
   415  	}
   416  
   417  	#feature-clone{
   418  		margin-top: -180px;
   419  		padding: 270px 0 430px;
   420  	}
   421  
   422  	#demos{
   423  		margin-top: -180px;
   424  		padding-top: 240px;
   425  	}
   426  }
   427  
   428  @media (min-width: 1200px) {
   429  	#feature-auto{
   430  		h2{
   431  			font-size: 41px;
   432  		}
   433  		.terminal-text{
   434  			background: black;
   435  			color: white;
   436  			line-height: 88px;
   437  			text-align: center;
   438  			margin: 60px 20px 0;
   439  			font-size: 32px;
   440  		}
   441  	}
   442  }
   443  
   444  
   445  @media (max-width: 1200px) {
   446  	#feature-iterate{
   447  		h2{
   448  			font-size: 40px;
   449  		}
   450  
   451  		.it-icon{
   452  			margin-top: 52px;
   453  		}
   454  
   455  		.t-block{
   456  			width: 73px;
   457  			height: 73px;
   458  			margin-right: 20px;
   459  		}
   460  	}
   461  }
   462  
   463  @media (min-width: 992px) and (max-width:1200px) {
   464  	#cta a {
   465  		margin-top: 15px;
   466  		font-size: 18px;
   467  	}
   468  	#feature-clone{
   469  		.clone-icon{
   470  			padding-left: 0 !important;
   471  		}
   472  	}
   473  }
   474  
   475  @media (min-width: 768px) and (max-width:992px) {
   476  	#cta a {
   477  		margin-top: 10px;
   478  	}
   479  }
   480  
   481  @media (max-width: 992px) {
   482  
   483  	.feature{
   484  		h2,p{
   485  			text-align: center !important;
   486  			padding-left: 0 !important;
   487  		}
   488  	}
   489  
   490  	#feature-iterate{
   491  		.it-icon{
   492  			width: 372px;
   493  			margin: 0 auto 40px;
   494  			padding-left: 0 !important;
   495  		}
   496  	}
   497  
   498  
   499  	#feature-clone{
   500  		.clone-icon{
   501  			width: 382px;
   502  			margin: 40px auto 0;
   503  			padding-left: 0 !important;
   504  		}
   505  	}
   506  
   507  	#feature-auto{
   508  
   509  		h2{
   510  			font-size: 43px
   511  		}
   512  
   513  		p{
   514  			text-align: right;
   515  			padding-left: 100px;
   516  		}
   517  
   518  		.terminal-text{
   519  			background: black;
   520  			color: white;
   521  			line-height: 88px;
   522  			text-align: center;
   523  			margin: 60px 20px 0;
   524  			font-size: 32px;
   525  		}
   526  	}
   527  
   528  	#demos{
   529  		.terminals{
   530  			.terminal-item{
   531  				>header{
   532  					.left{
   533  						span.icn{
   534  						}
   535  					}
   536  
   537  					.right{
   538  						padding-left: 54px;
   539  					}
   540  				}
   541  			}
   542  		}
   543  	}
   544  }
   545  
   546  @media (max-width: 768px) {
   547  
   548  	.feature{
   549  		h2,p{
   550  			text-align: center;
   551  		}
   552  	}
   553  
   554  	#demos{
   555  		.explantion {
   556  			margin: 40px 0 60px 0;
   557  		}
   558  
   559  		.terminals{
   560  			.terminal-item{
   561  				>header{
   562  					.left{
   563  						span.icn{
   564  							padding-bottom: 15px;
   565  						}
   566  					}
   567  
   568  					.right{
   569  						padding-left: 15px;
   570  					}
   571  				}
   572  			}
   573  		}
   574  	}
   575  
   576  	#cta{
   577  		.intro{
   578  			text-align: center;
   579  			p{
   580  				text-align: center;
   581  				margin-bottom: 15px;
   582  			}
   583  		}
   584  	}
   585  }
   586  
   587  
   588  @media (max-width: 480px) {
   589  
   590  	#demos .explantion {
   591  		margin: 40px 0 60px 0;
   592  	}
   593  
   594  	#feature-auto .terminal-text {
   595  		font-size: 24px;
   596  	}
   597  
   598  	.feature{
   599  		h2{
   600  			text-align: center;
   601  			font-size: 28px !important;
   602  			line-height: 34px;
   603  			overflow: hidden;
   604  		}
   605  		p{
   606  			text-align: center !important;
   607  			padding: 0 !important;
   608  		}
   609  	}
   610  
   611  	#features{
   612  		text-align: center;
   613  	}
   614  }
   615  
   616  
   617  @media (max-width: 320px) {
   618  
   619  	#feature-clone{
   620  	}
   621  
   622  	#feature-iterate{
   623  		margin-top: -80px;
   624  		padding: 280px 0 360px;
   625  		color: white;
   626  		background: #fff url(../images/feature-iterate-bg.png) center top no-repeat;
   627  		border-top: 2px solid white;
   628  		border-bottom: 2px solid @purple;
   629  		background-size: cover;
   630  		.skewY(3deg);
   631  
   632  		>.container{
   633  			.skewY(-3deg);
   634  		}
   635  
   636  		p{
   637  			text-align: right;
   638  			padding-left: 120px;
   639  			font-weight: 300;
   640  		}
   641  
   642  		.it-icon{
   643  			width: 245px;
   644  			margin: 0 auto 40px 45px;
   645  			padding-left: 0 !important;
   646  		}
   647  
   648  		.t-block{
   649  			background-color: rgb(255, 255, 255);
   650  			width: 40px;
   651  			height: 40px;
   652  			.skewY(26deg);
   653  			float: left;
   654  			margin-right: 15px;
   655  		}
   656  	}
   657  
   658  	#feature-clone{
   659  		.clone-icon{
   660  			width: 290px;
   661  			margin: 40px auto 0;
   662  			padding-left: 45px !important;
   663  		}
   664  
   665  		.c-group{
   666  			&.cg2{
   667  				opacity: .7;
   668  			}
   669  
   670  			&.cg3{
   671  				opacity: .5;
   672  			}
   673  
   674  			.c-col{
   675  
   676  				&.c1{
   677  					padding-top: 8px;
   678  				}
   679  
   680  				&.c3{
   681  					padding-top: 28px;
   682  				}
   683  
   684  				.c-block{
   685  					background-color: white;
   686  					width: 15px;
   687  					height: 15px;
   688  					.skewY(30deg);
   689  					margin: 3px 3px 0 0;
   690  				}
   691  			}
   692  		}
   693  	}
   694  
   695  	#demos .explantion{
   696  		border-left: 8px solid transparent;
   697  	}
   698  
   699  	#cta a {
   700  		font-size: 14px;
   701  		font-weight: 400;
   702  	}
   703  }
   704  
   705