96 lines
2.2 KiB
SCSS
Raw Normal View History

$hero-padding: ($unit * 10) ($unit * 6) ($unit * 5);
2015-02-25 07:15:46 -08:00
.hero {
position: relative;
padding: $hero-padding;
height: $unit * 8;
2015-02-25 07:15:46 -08:00
2015-03-04 07:13:59 -08:00
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
height: auto;
2015-03-04 21:54:44 -08:00
padding-top: 40px;
2015-03-04 07:13:59 -08:00
}
2015-02-25 07:15:46 -08:00
&.is-large {
2015-02-26 06:45:32 -08:00
height: 478px;
padding-top: ($unit * 2);
2015-02-25 07:15:46 -08:00
text-align: center;
2015-03-04 07:13:59 -08:00
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
height: auto;
}
2015-02-25 07:15:46 -08:00
}
2015-02-26 06:45:32 -08:00
.hero-title {
text-transform: uppercase;
margin: 0;
2015-02-26 06:45:32 -08:00
opacity: .87;
2015-03-04 07:13:59 -08:00
2015-05-01 06:04:23 -07:00
&.is-standard-case {
text-transform: none;
}
2015-03-04 07:13:59 -08:00
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
margin: ($unit * 6) 0px 0px 0px;
}
2015-02-26 06:45:32 -08:00
}
.hero-subtitle {
margin: 0;
opacity: 1;
2015-03-04 07:13:59 -08:00
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
margin: 0px;
}
2015-02-26 06:45:32 -08:00
}
2015-02-25 07:15:46 -08:00
// LARGE SHEILD LOGO
.hero-logo {
position: relative;
2015-02-25 07:15:46 -08:00
padding-top: 224px;
opacity: 1;
width: $unit * 70;
2015-02-26 06:45:32 -08:00
margin: ($unit * 3) auto ($unit * 5) auto;
font-weight: 400;
2015-03-04 07:13:59 -08:00
&:after {
content: '';
background: url('/resources/images/logos/angular2/shield-with-beta.png') top center no-repeat;
background-size: contain;
position: absolute;
left: 0;
top: 0;
right: 0;
height: 224px;
2015-03-05 05:57:37 -08:00
}
2015-03-04 07:13:59 -08:00
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
width: auto;
font-size: 20px;
line-height: 28px;
margin: ($unit * 2) auto;
padding-top: 208px;
}
2015-02-25 07:15:46 -08:00
}
2015-02-26 06:45:32 -08:00
// CTA BUTTONS
.button {
margin: 0px $unit;
2015-03-04 21:39:57 -08:00
@media handheld and (max-width: $phone-breakpoint),
screen and (max-device-width: $phone-breakpoint),
screen and (max-width: $tablet-breakpoint) {
margin: ($unit * 2) 0px;
display: block;
}
2015-02-26 06:45:32 -08:00
}
2015-02-25 07:15:46 -08:00
}