Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .home-hero {
- position: relative;
- background: #295A76;
- }
- #big-video-wrap {
- display: none; /* Hide background video (will be faded in after it's completely loaded via JS) */
- position: absolute !important;
- text-align: left;
- }
- #big-video-vid {
- opacity: 0.35;
- background: url('images/img-video.jpg') 50% 50% fixed no-repeat;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- }
- #home-hero-content {
- padding: 150px 0;
- text-align: center;
- z-index: 50;
- position: relative;
- }
- #home-hero-content .widget {
- margin-bottom: 0;
- }
- #home-hero-content .wrap {
- color: #fff;
- font-size: 30px;
- letter-spacing: -1px;
- }
- #home-hero-content strong {
- font-size: 36px;
- font-weight: 800;
- letter-spacing: -2px;
- }
- #home-hero-content .btn-play {
- display: inline-block;
- text-indent: -9999px;
- vertical-align: middle;
- overflow: hidden;
- width: 67px;
- height: 67px;
- margin: 0 50px;
- background: url(images/btn-play.png) no-repeat;
- }
- #home-hero-content span {
- font-weight: 300;
- }
- .mask {
- z-index: 1000;
- background-color: #000;
- opacity: 90;
- filter: alpha(opacity=9000);
- opacity: 0.9;
- filter: alpha(opacity=90);
- position: fixed;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- height: 100%;
- width: 100%;
- display: none;
- }
- .popup-video {
- z-index: 1000;
- margin: 0 10%;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- width: 0;
- height: 0;
- position: absolute;
- overflow: hidden;
- }
- .popup-video.shown {
- position: fixed;
- width: 80%;
- height: 100%;
- overflow: visible;
- display: none;
- }
- .popup-video > * {
- width: 100%;
- height: 100%;
- }
- .home .site-container {
- position: relative;
- z-index: 2;
- /*background: #fff;*/
- overflow: hidden;
- min-height: 100%;
- -webkit-transform: translate3d(0, 0, 0);
- -moz-transform: translate3d(0, 0, 0);
- -o-transform: translate3d(0, 0, 0);
- transform: translate3d(0, 0, 0);
- -webkit-transition: all 0.33s cubic-bezier(0.694, 0.0482, 0.335, 1);
- -moz-transition: all 0.33s cubic-bezier(0.694, 0.0482, 0.335, 1);
- -o-transition: all 0.33s cubic-bezier(0.694, 0.0482, 0.335, 1);
- transition: all 0.33s cubic-bezier(0.694, 0.0482, 0.335, 1);
- }
- @media only screen and (max-width: 1024px) {
- .home-hero {
- background: url(images/Big-City-Life.jpg) 50% 50% fixed no-repeat;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- position: relative;
- }
- .home-hero:after {
- content: "";
- display: block;
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- pointer-events: none;
- background: rgba(41,90,118,0.7);
- }
- }
- @media only screen and (max-width: 800px) {
- #home-hero-content .btn-play {
- display: block;
- margin: 20px auto;
- }
- }
- @media only screen and (max-width: 736px) {
- .home-hero {
- background-attachment: scroll;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement