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

96 lines
1.7 KiB
SCSS
Raw Normal View History

2014-02-08 00:41:03 +00:00
//
// Jumbotron
// --------------------------------------------------
#jumbotron-mask,
#jumbotron-mask-dummy{
2014-04-05 09:03:01 +00:00
overflow: hidden;
2014-04-08 23:38:25 +00:00
width: 100%;
2014-10-06 23:11:52 +00:00
height: $jumbotron-total-height;
}
#jumbotron-mask {
position: absolute;
top: 0;
}
#jumbotron-mask-dummy{
visibility: hidden;
position:relative;
top: $negative-hero-margin;
2014-04-05 09:03:01 +00:00
}
2014-02-08 00:41:03 +00:00
#jumbotron {
position: relative;
2014-10-06 23:11:52 +00:00
height: $jumbotron-total-height;
2014-02-08 00:41:03 +00:00
padding-top: 0;
padding-bottom: 0;
2014-10-06 23:11:52 +00:00
margin-top: $negative-hero-margin;
color: $jumbotron-color;
-webkit-backface-visibility:hidden;
2014-10-06 23:11:52 +00:00
@include consul-gradient-bg();
2014-02-08 00:41:03 +00:00
2014-04-05 09:03:01 +00:00
.jumbotron-dots{
2015-11-09 21:48:29 +00:00
position: absolute;
top: 0;
left: 0;
height: 632px;
width: 100%;
margin-top: $negative-hero-margin;
background: transparent image-url('hero-dots.png') center $header-height no-repeat;
2014-04-05 09:03:01 +00:00
}
2014-04-05 09:03:01 +00:00
2014-02-08 00:41:03 +00:00
.container{
2015-11-09 21:48:29 +00:00
position: relative;
height: 100%;
margin-top: $header-height;
2017-02-21 23:11:57 +00:00
padding-left: 0;
2015-11-09 21:48:29 +00:00
-webkit-backface-visibility:hidden;
2015-11-09 21:48:29 +00:00
.jumbo-logo-wrap{
margin-top: 155px;
2014-02-08 00:41:03 +00:00
2015-11-09 21:48:29 +00:00
.jumbo-logo{
width: 318px;
height: 316px;
background: transparent image-url('consul-hero-logo@2x.png') 0 0 no-repeat;
background-size: 318px 316px;
z-index: 20;
2014-02-08 00:41:03 +00:00
}
2015-11-09 21:48:29 +00:00
}
2014-02-08 00:41:03 +00:00
2015-11-09 21:48:29 +00:00
h2{
2017-02-21 23:11:57 +00:00
margin-top: 220px;
2015-11-09 21:48:29 +00:00
font-size: 40px;
line-height: 48px;
letter-spacing: 1px;
}
2017-02-21 23:57:24 +00:00
.lead {
font-weight: $font-weight-sb;
letter-spacing: .5px;
opacity: .89;
}
2014-02-08 00:41:03 +00:00
}
}
2014-04-09 02:44:14 +00:00
@media (max-width: 992px) {
#jumbotron .container {
2017-02-21 23:11:57 +00:00
h2, p.lead{
2014-04-09 02:44:14 +00:00
text-align: center;
margin-left: 0;
2014-02-08 00:41:03 +00:00
}
2014-04-09 02:44:14 +00:00
}
#jumbotron-mask-dummy{
top: $large-negative-hero-margin;
}
2014-02-08 00:41:03 +00:00
}
2014-04-09 02:44:14 +00:00
@media (max-width: 480px) {
#jumbotron .container {
2014-04-09 02:44:14 +00:00
h2{
2017-02-22 00:31:17 +00:00
margin-top: 200px;
2014-04-09 02:44:14 +00:00
font-size: 32px;
2014-02-08 00:41:03 +00:00
}
2014-04-09 02:44:14 +00:00
}
2014-02-08 00:41:03 +00:00
}