consul/website/source/assets/stylesheets/_home.scss

423 lines
6.6 KiB
SCSS
Raw Normal View History

2014-02-08 00:41:03 +00:00
//
// Home
// --------------------------------------------------
2014-04-08 23:38:25 +00:00
body.page-home{
background-color: #f8f8f8;
}
2014-02-08 00:41:03 +00:00
#features{
2014-10-06 23:11:52 +00:00
@include anti-alias();
2014-04-05 09:03:01 +00:00
padding: 130px 0 0 0;
2014-10-06 23:11:52 +00:00
background: #f8f8f8 image-url('hero-dots-below@2x.png') center top no-repeat;
2014-04-05 09:03:01 +00:00
background-size: 1280px 49px;
position: relative;
top: $negative-hero-margin;
2014-02-08 00:41:03 +00:00
2014-04-05 09:03:01 +00:00
.double-row{
padding: 0 0 50px 0;
2014-02-08 00:41:03 +00:00
}
h2{
2014-04-05 09:03:01 +00:00
font-size: 24px;
2014-02-08 00:41:03 +00:00
letter-spacing: 2px;
2014-10-06 23:11:52 +00:00
color: $purple;
font-family: $font-family-museo;
font-weight: $font-weight-museo-xb;
2014-02-08 00:41:03 +00:00
}
p{
2014-04-05 09:03:01 +00:00
font-size: 16px;
2014-02-08 00:41:03 +00:00
letter-spacing: 1px;
line-height: 1.5em;
2014-10-06 23:11:52 +00:00
color: $consul-gray;
font-family: $font-family-museo;
font-weight: $font-weight-museo-sb;
2014-02-08 00:41:03 +00:00
}
.icn{
display: block;
2014-04-05 09:03:01 +00:00
width: 186px;
height: 272px;
2014-02-08 00:41:03 +00:00
margin: 0 auto;
2014-04-05 09:03:01 +00:00
background-position: center 0;
2014-02-08 00:41:03 +00:00
background-repeat: no-repeat;
}
2014-04-05 09:03:01 +00:00
.discovery{
2014-10-06 23:11:52 +00:00
background-image: image-url('feature-discovery@2x.png');
2014-04-05 09:03:01 +00:00
background-size: 181px 181px;
2014-02-08 00:41:03 +00:00
}
2014-04-05 09:03:01 +00:00
.health{
2014-10-06 23:11:52 +00:00
background-image: image-url('feature-health@2x.png');
2014-04-05 09:03:01 +00:00
background-size: 125px 179px;
2014-02-08 00:41:03 +00:00
}
2014-04-05 09:03:01 +00:00
.multi{
2014-10-06 23:11:52 +00:00
background-image: image-url('feature-multi@2x.png');
2014-04-05 09:03:01 +00:00
background-size: 182px 184px;
2014-02-08 00:41:03 +00:00
}
2014-04-05 09:03:01 +00:00
.config{
2014-10-06 23:11:52 +00:00
background-image: image-url('feature-config@2x.png');
2014-04-05 09:03:01 +00:00
background-size: 157px 179px;
2014-04-14 16:45:40 +00:00
}
2014-02-08 00:41:03 +00:00
}
#trusted{
2014-10-06 23:11:52 +00:00
background-color: $black;
2014-02-08 00:41:03 +00:00
padding: 140px 0;
h3{
margin-bottom: 60px;
2014-10-06 23:11:52 +00:00
color: $white;
2014-02-08 00:41:03 +00:00
text-transform: uppercase;
font-size: 18px;
text-align: center;
}
.trusted-items{
width: 800px;
margin: 0 auto;
ul {
padding: 0;
> li{
display: inline-block;
float: left;
width: 25%;
height: 80px;
margin: 12px 0;
2014-10-06 23:11:52 +00:00
background: image-url('trusted-sprite.png') 0 0 no-repeat;
2014-02-08 00:41:03 +00:00
&#i0{
background-position: 0 0;
}
&#i1{
background-position: 0 -80px;
}
&#i2{
background-position: 0 -160px;
}
&#i3{
background-position: 0 -240px;
}
&#i4{
background-position: 0 -320px;
}
&#i5{
background-position: 0 -400px;
}
&#i6{
background-position: 0 -480px;
}
&#i7{
background-position: 0 -560px;
}
&#i8{
background-position: 0 -640px;
}
&#i9{
background-position: 0 -720px;
}
&#i10{
background-position: 0 -800px;
}
&#i11{
background-position: 0 -880px;
}
}
}
}
}
#footer{
2014-10-06 23:11:52 +00:00
background-color: $consul-footer-gray;
background: $consul-footer-gray image-url('consul-footer-logo.png') center center no-repeat;
@include img-retina("consul-footer-logo.png", "consul-footer-logo@2x.png", 446px, 443px);
2014-02-08 00:41:03 +00:00
.footer-links{
margin-bottom: 20px;
}
.footer-hashi{
letter-spacing: 2px;
2014-04-05 09:03:01 +00:00
margin-bottom: 30px;
a{
2014-10-06 23:11:52 +00:00
font-weight: $font-weight-museo-xb;
2014-04-05 09:03:01 +00:00
}
span{
margin-right: 20px;
}
2014-02-08 00:41:03 +00:00
img{
2014-04-05 09:03:01 +00:00
display: inline-block;
width: 37px;
height: 40px;
}
}
}
@media (max-width: 992px) {
#features{
top: $large-negative-hero-margin;
2014-04-05 09:03:01 +00:00
.double-row{
padding: 0 0 0 0;
.row{
padding-bottom: 90px;
}
}
.icn{
height: 200px;
2014-02-08 00:41:03 +00:00
}
}
}
2014-04-09 02:44:14 +00:00
@media (max-width: 480px) {
#features{
text-align: center;
}
2014-04-05 09:03:01 +00:00
}
2014-04-14 16:45:40 +00:00
#cta {
padding: 130px 0 130px;
.intro {
.left {
text-align: right;
}
.right {
margin-top: 12px;
}
}
p{
font-size: 14px;
letter-spacing: 1px;
line-height: 1.5em;
2014-10-06 23:11:52 +00:00
color: $consul-gray;
font-family: $font-family-museo;
font-weight: $font-weight-museo-sb;
}
.outline-btn {
padding: 8px;
display: inline-block;
2014-04-17 15:53:47 +00:00
&:focus {
outline: 0;
}
}
a {
font-weight: 500;
font-size: 16px;
text-transform: uppercase;
letter-spacing: 3px;
2014-10-06 23:11:52 +00:00
color: $purple;
&:hover {
text-decoration: none;
}
}
}
2014-04-14 16:45:40 +00:00
#demos{
padding: 30px 0 60px;
2014-10-06 23:11:52 +00:00
background-color: $light-purple;
background: $light-purple image-url('sidebar-dots.jpg') left 62px no-repeat;
2014-04-14 16:45:40 +00:00
.explantion {
margin: 40px 0 40px 0;
h2 {
font-size: 22px;
2014-10-06 23:11:52 +00:00
color: lighten($gray-light, 15%);
2014-04-14 16:45:40 +00:00
text-transform: uppercase;
2014-10-06 23:11:52 +00:00
font-family: $font-family-museo;
font-weight: $font-weight-museo-xb;
2014-04-14 16:45:40 +00:00
}
p{
font-size: 16px;
letter-spacing: 1px;
line-height: 1.5em;
2014-10-06 23:11:52 +00:00
color: $consul-gray;
font-family: $font-family-museo;
font-weight: $font-weight-museo-sb;
2014-04-14 16:45:40 +00:00
}
}
.terminals{
2014-04-14 16:51:31 +00:00
margin-bottom: 80px;
2014-04-14 16:45:40 +00:00
.terminal-item{
border-bottom: 1px solid #eaeae;
&.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{
2014-10-06 23:11:52 +00:00
background-color: darken($gray-darker, 15%);
2014-04-14 16:45:40 +00:00
border-radius: 4px;
header{
position: relative;
2014-10-06 23:11:52 +00:00
background-color: $consul-gray;
2014-04-14 16:45:40 +00:00
text-align: center;
padding: 3px;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
h4{
font-size: 14px;
letter-spacing: 1px;
2014-10-06 23:11:52 +00:00
color: $gray-darker;
font-family: $font-family-museo;
font-weight: $font-weight-museo-xb;
2014-04-14 16:45:40 +00:00
}
ul.shell-dots{
position: absolute;
top: 10px;
left: 8px;
padding-left: 0;
li{
display: inline-block;
width: 12px;
height: 12px;
border-radius: 6px;
2014-10-06 23:11:52 +00:00
background-color: $gray-darker;
2014-04-14 16:45:40 +00:00
margin-left: 6px;
}
}
}
.terminal-window{
min-height: 140px;
padding: 20px;
font-size: 15px;
font-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
2014-10-06 23:11:52 +00:00
color: $white;
2014-04-14 16:45:40 +00:00
.txt-r {
2014-10-06 23:11:52 +00:00
color: lighten($red, 8%);;
2014-04-14 16:45:40 +00:00
}
.txt-p {
font-weight: bold;
2014-10-06 23:11:52 +00:00
color: lighten($purple, 15%);
2014-04-14 16:45:40 +00:00
}
p{
margin-bottom: 2px;
white-space: pre-wrap;
}
.cursor {
2014-10-06 23:11:52 +00:00
background-color: $light-purple;
2014-04-14 16:45:40 +00: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;
}
}
}
}
}
}
@media (max-width: 480px) {
#features {
top: $negative-hero-margin;
}
}