terraform/website/source/stylesheets/_jumbotron.less

78 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-07-16 23:51:48 +02:00
//
// Jumbotron
// --------------------------------------------------
#jumbotron-mask{
overflow: hidden;
width: 100%;
height: @jumbotron-total-height;
margin-top: @negative-hero-margin;
2014-07-23 00:31:43 +02:00
background-color: black;
2014-07-16 23:51:48 +02:00
}
#jumbotron {
position: relative;
height: @jumbotron-total-height;
padding-top: 0;
padding-bottom: 0;
margin-top: @negative-hero-margin;
color: @jumbotron-color;
2014-07-22 23:24:44 +02:00
background: transparent url('../images/hero-bg.png') center center no-repeat;
background-size: cover;
2014-07-16 23:51:48 +02: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 );
}
.container{
position: relative;
height: 100%;
margin-top: @header-height;
2014-07-23 00:31:43 +02:00
> div{
display: none;
}
2014-07-16 23:51:48 +02:00
.jumbo-logo-wrap{
margin-top: 135px;
.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;
}
}
h2{
margin-top: 175px;
font-size: 40px;
line-height: 48px;
letter-spacing: 1px;
margin-left: 40px;
}
}
}
@media (max-width: 992px) {
#jumbotron .container {
h2{
text-align: center;
margin-left: 0;
}
}
}
@media (max-width: 480px) {
#jumbotron .container {
h2{
margin-top: 130px;
font-size: 32px;
}
}
}