Created
September 5, 2014 13:21
-
-
Save jdcauley/e7929249b919b61a70a8 to your computer and use it in GitHub Desktop.
css header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '_bootstrap'; | |
@import '_variables'; | |
/* =================================== | |
Utilities | |
=================================== */ | |
.social{ | |
list-style: none; | |
-webkit-margin-before: 0; | |
-webkit-margin-after: 0; | |
-webkit-margin-start: 0; | |
-webkit-margin-end: 0; | |
-webkit-padding-start: 0; | |
li{ | |
display: inline-block; | |
margin-right: 5px; | |
&:last-child{ | |
margin-right: 0; | |
} | |
} | |
} | |
.facebook{ | |
display: block; | |
height: 33px; | |
width: 33px; | |
background: url(../img/social-icons/facebook.png) no-repeat; | |
} | |
.linkedin{ | |
display: block; | |
height: 33px; | |
width: 33px; | |
background: url(../img/social-icons/linkedin.png) no-repeat; | |
} | |
.section-image{ | |
background: @brand-white; | |
position: relative; | |
display: block; | |
width: 100%; | |
overflow: hidden; | |
} | |
.image-inner{ | |
position: relative; | |
left: 50%; | |
display: block; | |
height: 600px; | |
background-size: 100%; | |
@media (min-width: @screen-sm-min) { | |
background-size: 120%; | |
} | |
background-position: 50% 50%; | |
background-repeat: no-repeat; | |
} | |
.section-main{ | |
position: relative; | |
display: block; | |
height: 520px; | |
width: 100%; | |
color: @brand-blue; | |
border-bottom: 10px solid @brand-blue; | |
h1{ | |
font-size: 42px; | |
color: @brand-blue; | |
text-align: center; | |
} | |
} | |
p{ | |
font-size: 18px; | |
} | |
.transition{ | |
-webkit-transition: all 0.9s ease; | |
-moz-transition: all 0.9s ease; | |
-ms-transition: all 0.9s ease; | |
-o-transition: all 0.9s ease; | |
transition: all 0.9s ease; | |
} | |
/* =================================== | |
Header | |
=================================== */ | |
.navbar{ | |
margin-bottom: 0; | |
border-bottom-width: 3px; | |
} | |
.button-bar{ | |
display: block; | |
width: 100%; | |
height: 50px; | |
background: @brand-blue; | |
@media (min-width: @screen-sm-min){ | |
display: none; | |
} | |
} | |
.navbar-brand{ | |
height: 120px; | |
max-width: 450px; | |
margin-top: 10px; | |
margin-bottom: 10px; | |
@media (min-width: @screen-sm-min) { | |
border-bottom: none; | |
} | |
img{ | |
.img-responsive; | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
} | |
.down{ | |
.navbar-brand{ | |
height: 70px; | |
max-width: 290px; | |
margin-top: 0; | |
margin-bottom: 0; | |
padding: 5px; | |
} | |
} | |
.page-subtitle{ | |
float: left; | |
display: inline-block; | |
padding-top: 0; | |
padding-bottom: 0; | |
padding-left: 15px; | |
margin-top: 10px; | |
margin-bottom: 10px; | |
color: @brand-blue; | |
font-weight: 300; | |
font-size: 30px; | |
letter-spacing: 2px; | |
vertical-align: middle; | |
@media (min-width: @screen-sm-min){ | |
padding-top: 22px; | |
padding-bottom: 22px; | |
} | |
span{ | |
display: block; | |
} | |
} | |
.down{ | |
.page-subtitle{ | |
margin-top: 0px; | |
font-size: 20px; | |
} | |
} | |
.main-nav{ | |
.nav; | |
.navbar-nav; | |
padding-top: 50px; | |
padding-bottom: 50px; | |
font-size: 18px; | |
font-weight: 300; | |
li{ | |
border-right: @brand-orange 1px solid; | |
&:last-child{ | |
border-right: none; | |
} | |
a{ | |
padding-top: 0; | |
padding-bottom: 0; | |
} | |
} | |
} | |
.down{ | |
.main-nav{ | |
padding-top: 30px; | |
padding-bottom: 30px; | |
} | |
} | |
.down-arrow{ | |
position: absolute; | |
bottom: 0; | |
left: 50%; | |
margin-left: -28px; | |
display: block; | |
height: 31px; | |
width: 59px; | |
&.white{ | |
background: url(../img/down-arrows/down_arrow_white.png) no-repeat; | |
} | |
&.blue{ | |
background: url(../img/down-arrows/down_arrow_blue.png) no-repeat; | |
} | |
} | |
.play-btn{ | |
display: block; | |
height: 83px; | |
width: 83px; | |
background: url(../img/play-btns/arrow_white.png) no-repeat; | |
background-size: 100%; | |
&.orange{ | |
background: url(../img/play-btns/arrow_orange.png) no-repeat; | |
} | |
} | |
.main{ | |
margin-top: 143px; | |
} | |
/* =================================== | |
Hero | |
=================================== */ | |
.hero{ | |
position: relative; | |
display: block; | |
height: 560px; | |
width: 100%; | |
overflow: hidden; | |
background: @brand-white; | |
} | |
.hero-inner{ | |
position: absolute; | |
left: 50%; | |
display: block; | |
height: 577px; | |
width: 1280px; | |
margin-left: -640px; | |
background-size: 100%; | |
background-position: 50% 50%; | |
background-repeat: no-repeat; | |
} | |
.hero-lead{ | |
position: relative; | |
width: 100%; | |
letter-spacing: 2px; | |
text-align: center; | |
color: @brand-white; | |
@media (min-width: @screen-sm-min){ | |
position: absolute; | |
top: 30px; | |
left: 20%; | |
max-width: 500px; | |
text-align: left; | |
} | |
h1{ | |
font-size: 25px; | |
line-height: 1.2; | |
@media (min-width: @screen-sm-min){ | |
font-size: 40px; | |
line-height: 1.4; | |
} | |
} | |
} | |
.hero-caption{ | |
position: absolute; | |
bottom: 5%; | |
left: 50%; | |
display: block; | |
height: auto; | |
width: 400px; | |
margin-left: -200px; | |
padding: 20px; | |
color: @brand-white; | |
text-align: center; | |
background: fade(@brand-black, 50%); | |
h3{ | |
margin-top: 0; | |
font-weight: 300; | |
} | |
} | |
.hero-play-btn{ | |
position: absolute; | |
bottom: 30%; | |
left: 50%; | |
margin-left: -42px; | |
} | |
/* =================================== | |
Contact | |
=================================== */ | |
.contact-bar{ | |
position: relative; | |
display: block; | |
height: auto; | |
width: 100%; | |
padding: 5px 0; | |
background: url(../img/bar-blue.jpg) center center; | |
border-bottom: 2px solid @brand-white; | |
.social{ | |
position: absolute; | |
right: 0; | |
top: 10px; | |
} | |
} | |
.connection-img{ | |
display: inline-block; | |
height: auto; | |
width: 70px; | |
padding: 10px 0; | |
vertical-align: top; | |
} | |
.contact-titles{ | |
display: inline-block; | |
padding: 10px; | |
} | |
.contact-title{ | |
margin-top: 0; | |
margin-bottom: 5px; | |
color: @brand-white; | |
font-size: 24px; | |
line-height: 1; | |
@media (min-width: @screen-sm-min){ | |
font-size: 30px; | |
} | |
} | |
.contact-subtitle{ | |
color: @brand-orange; | |
margin-top: 0; | |
margin-bottom: 5px; | |
line-height: 1; | |
font-size: 18px; | |
@media (min-width: @screen-sm-min){ | |
font-size: 24px; | |
} | |
} | |
.contact-social{ | |
.pull-right; | |
} | |
.search-group{ | |
max-width: 350px; | |
margin-left: auto; | |
margin-right: auto; | |
padding-top: 25px; | |
} | |
.btn-arrow{ | |
height: 34px; | |
width: 45px; | |
background: @brand-white url(../img/go-arrow.png) no-repeat; | |
background-position: 50% 50%; | |
background-size: 50%; | |
border-left: 3px solid #666666; | |
&.blue{ | |
background: @brand-white url(../img/search-arrows/search_arrow2.jpg) no-repeat; | |
} | |
} | |
/* =================================== | |
Diversity | |
=================================== */ | |
.diversity-image{ | |
height: 680px; | |
} | |
.diversity-inner{ | |
height: 800px; | |
width: 100%; | |
margin-left: -50%; | |
} | |
.diversity-main{ | |
background: @brand-white url(../img/big-graphics/graphic1.png) no-repeat; | |
background-position: center right; | |
padding-top: 60px; | |
} | |
.diversity-play-btn{ | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.diversity-content{ | |
width: 360px; | |
margin-left: auto; | |
margin-right: auto; | |
line-height: 2.1; | |
} | |
.diveristy-lead{ | |
-webkit-margin-before: ; | |
-webkit-margin-after: ; | |
-webkit-margin-start: 0; | |
-webkit-margin-end: 0; | |
-webkit-padding-start: 0; | |
position: absolute; | |
top: 200px; | |
left: 50%; | |
display: block; | |
height: auto; | |
width: 50%; | |
list-style: none; | |
color: @brand-white; | |
font-size: 18px; | |
li{ | |
padding: 15px; | |
&:nth-child(2){ | |
padding-left: 50px; | |
} | |
&:nth-child(3){ | |
padding-left: 70px; | |
} | |
&:nth-child(4){ | |
padding-left: 90px; | |
} | |
&:nth-child(5){ | |
padding-left: 110px; | |
} | |
} | |
} | |
/* =================================== | |
Direction | |
=================================== */ | |
.direction-inner{ | |
height: 840px; | |
width: 1280px; | |
@media (min-width: @screen-sm-min){ | |
width: 100%; | |
} | |
margin-left: -50%; | |
} | |
.direction-main{ | |
background: @brand-white; | |
.col-sm-6{ | |
padding-top: 60px; | |
&:first-child{ | |
padding-top: 120px; | |
} | |
} | |
h1{ | |
text-align: left; | |
} | |
} | |
.direction-caption{ | |
position: absolute; | |
bottom: 5%; | |
left: 50%; | |
display: block; | |
height: auto; | |
width: 360px; | |
margin-left: -180px; | |
padding: 15px; | |
color: @brand-white; | |
text-align: center; | |
background: fade(@brand-black, 50%); | |
h2{ | |
margin-top: 0; | |
font-weight: 400; | |
} | |
h3{ | |
margin-top: 0; | |
font-weight: 300; | |
} | |
} | |
/* =================================== | |
Explore | |
=================================== */ | |
.explore-main{ | |
height: 480px; | |
background: @brand-white url(../img/big-graphics/graphic3.png) no-repeat; | |
background-position: 10% 20%; | |
.title{ | |
margin-top: 10px; | |
font-size: 34px; | |
text-align: left; | |
line-height: 1.1; | |
} | |
.subtitle{ | |
margin-top: 10px; | |
margin-bottom: 25px; | |
font-size: 34px; | |
text-align: left; | |
line-height: 1.1; | |
margin-left: 40px; | |
} | |
.video-title{ | |
margin-left: -200px; | |
margin-top: 0; | |
color: @brand-orange; | |
font-size: 52px; | |
font-weight: 400; | |
line-height: 1; | |
vertical-align: top; | |
} | |
.col-sm-6{ | |
} | |
} | |
.explore-image{ | |
height: 650px; | |
} | |
.explore-inner{ | |
height: 750px; | |
width: 100%; | |
margin-left: -50%; | |
} | |
.content-explore{ | |
margin-left: 40px; | |
} | |
.explore-play{ | |
display: inline-block; | |
} | |
/* =================================== | |
Footer | |
=================================== */ | |
.footer-image-top{ | |
height: 400px; | |
border-bottom: 5px solid @brand-orange; | |
.footer-inner{ | |
height: 400px; | |
width: 1280px; | |
margin-left: -640px; | |
} | |
} | |
.footer-image-bottom{ | |
height: 400px; | |
.footer-inner{ | |
height: 400px; | |
width: 1280px; | |
margin-left: -640px; | |
} | |
} | |
/* Pre Footer */ | |
.pre-footer{ | |
position: absolute; | |
bottom: 30px; | |
width: 100%; | |
color: @brand-white; | |
text-align: center; | |
.col-sm-6{ | |
padding-top: 20px; | |
padding-bottom: 20px; | |
&:last-child{ | |
border-left: 1px solid @brand-white; | |
} | |
} | |
.social-header{ | |
display: block; | |
height: auto; | |
width: 380px; | |
margin-left: auto; | |
margin-right: auto; | |
text-shadow: 0px 0px 30px @brand-black; | |
} | |
.search-header{ | |
display: block; | |
height: auto; | |
width: 330px; | |
margin-left: auto; | |
margin-right: auto; | |
text-shadow: 0px 0px 30px @brand-black; | |
} | |
.social{ | |
li{ | |
margin-right: 20px; | |
} | |
} | |
} | |
.main-footer{ | |
color: @brand-white; | |
background: @brand-blue; | |
} | |
.footer-container{ | |
height: 160px; | |
position: relative; | |
} | |
.footer-nav{ | |
position: absolute; | |
bottom: 40px; | |
right: 0; | |
li{ | |
display: inline; | |
border-right: 1px solid @brand-white; | |
&:first-child{ | |
border-right: none; | |
} | |
&:last-child{ | |
border-right: none; | |
} | |
a{ | |
padding: 5px 10px; | |
color: @brand-white; | |
text-decoration: none; | |
} | |
} | |
} | |
.copyright{ | |
margin-right: 40px; | |
text-align: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment