angular-cn/public/resources/css/module/_hero.scss

96 lines
2.2 KiB
SCSS
Raw Normal View History

$hero-padding: ($unit * 10) ($unit * 6) ($unit * 5);
2015-02-25 10:15:46 -05:00
.hero {
position: relative;
padding: $hero-padding;
height: $unit * 8;
2015-02-25 10:15:46 -05:00
2015-03-04 10:13:59 -05: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-05 00:54:44 -05:00
padding-top: 40px;
2015-03-04 10:13:59 -05:00
}
2015-02-25 10:15:46 -05:00
&.is-large {
2015-02-26 09:45:32 -05:00
height: 478px;
padding-top: ($unit * 2);
2015-02-25 10:15:46 -05:00
text-align: center;
2015-03-04 10:13:59 -05: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 10:15:46 -05:00
}
2015-02-26 09:45:32 -05:00
.hero-title {
text-transform: uppercase;
margin: 0;
2015-02-26 09:45:32 -05:00
opacity: .87;
2015-03-04 10:13:59 -05:00
2015-05-01 09:04:23 -04:00
&.is-standard-case {
text-transform: none;
}
2015-03-04 10:13:59 -05: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 09:45:32 -05:00
}
.hero-subtitle {
margin: 0;
opacity: 1;
2015-03-04 10:13:59 -05: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 09:45:32 -05:00
}
2015-02-25 10:15:46 -05:00
// LARGE SHEILD LOGO
.hero-logo {
position: relative;
2015-02-25 10:15:46 -05:00
padding-top: 224px;
opacity: 1;
width: $unit * 70;
2015-02-26 09:45:32 -05:00
margin: ($unit * 3) auto ($unit * 5) auto;
font-weight: 400;
2015-03-04 10:13:59 -05: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 08:57:37 -05:00
}
2015-03-04 10:13:59 -05: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 10:15:46 -05:00
}
2015-02-26 09:45:32 -05:00
// CTA BUTTONS
.button {
margin: 0px $unit;
2015-03-05 00:39:57 -05: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 09:45:32 -05:00
}
2015-02-25 10:15:46 -05:00
}