consul/website/source/stylesheets/_jumbotron.less

83 lines
2.3 KiB
Plaintext
Raw Normal View History

2014-02-08 00:41:03 +00:00
//
// Jumbotron
// --------------------------------------------------
2014-04-05 09:03:01 +00:00
#jumbotron-mask{
overflow: hidden;
height: @jumbotron-total-height;
margin-top: -92px;
}
2014-02-08 00:41:03 +00:00
#jumbotron {
position: relative;
2014-04-05 09:03:01 +00:00
height: @jumbotron-total-height;
2014-02-08 00:41:03 +00:00
padding-top: 0;
padding-bottom: 0;
2014-04-05 09:03:01 +00:00
margin-top: -92px;
color: @jumbotron-color;
background: #694a9c; /* Old browsers */
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */
background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */
2014-02-08 00:41:03 +00:00
&.mobile-hero{
background: transparent url( ../images/node-hero-pattern.jpg ) center center;
background-size: 320px 320px;
background: -webkit-image-set( url('../images/node-hero-pattern.jpg') 1x, url('../images/node-hero-pattern@2x.jpg') 2x );
}
2014-04-05 09:03:01 +00:00
.jumbotron-dots{
position: absolute;
top: 0;
left: 0;
height: 632px;
width: 100%;
margin-top: -92px;
background: transparent url('../images/hero-dots.png') center @header-height no-repeat;
}
2014-02-08 00:41:03 +00:00
.container{
position: relative;
height: 100%;
2014-04-05 09:03:01 +00:00
margin-top: @header-height;
2014-02-08 00:41:03 +00:00
2014-04-05 09:03:01 +00:00
.jumbo-logo-wrap{
margin-top: 135px;
2014-02-08 00:41:03 +00:00
2014-04-05 09:03:01 +00:00
.jumbo-logo{
width: 318px;
height: 316px;
background: transparent url( ../images/consul-hero-logo@2x.png ) 0 0 no-repeat;
background-size: 318px 316px;
z-index: 20;
}
2014-02-08 00:41:03 +00:00
}
h2{
2014-04-05 09:03:01 +00:00
margin-top: 190px;
font-size: 40px;
line-height: 48px;
letter-spacing: 1px;
margin-left: 40px;
2014-02-08 00:41:03 +00:00
}
}
}
@media (min-width: 992px) {
.jumbotron .container .jumbo-logo{
right: -150px;
}
}
@media (min-width: 1200px) {
.jumbotron .container .jumbo-logo{
right: -120px;
}
}