github.com/atsaki/terraform@v0.4.3-0.20150919165407-25bba5967654/website/source/assets/stylesheets/_home.scss (about)

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