193 lines
3.3 KiB
CSS
Raw Normal View History

.hero {
@neat-row;
background: $darkerGrey;
2017-12-06 23:09:33 +01:00
background-image: linear-gradient(-180deg, #323B3B 0%, $darkerGrey 20%);
color: $blueGrey;
overflow: hidden;
2017-12-06 23:09:33 +01:00
padding: calc($xl * 2.25) 0 0 0;
position: relative;
@media screen and (min-width: $mobile) {
padding-top: calc($xl * 1.5);
}
@media screen and (min-width: $tablet) {
2017-12-06 23:09:33 +01:00
padding-top: calc($xl * 1.5);
}
2017-12-06 23:09:33 +01:00
&.landing {
@media screen and (min-width: $tablet) {
2017-12-06 23:09:33 +01:00
padding-bottom: $xxl;
}
}
2017-12-06 23:09:33 +01:00
.hero-copy {
margin: $medium auto $xl auto;
@media screen and (min-width: $desktop) {
2017-12-06 23:09:33 +01:00
text-align: center;
}
}
.subhead {
display: inline-block;
margin: $micro auto;
font-size: 18px;
line-height: 26px;
@media screen and (min-width: $desktop) {
font-size: 20px;
}
}
2017-12-06 23:09:33 +01:00
strong {
display: block;
}
2017-12-06 23:09:33 +01:00
h1 {
color: white;
margin-bottom: 0;
}
2017-12-06 23:09:33 +01:00
h2 {
color: white;
}
2017-12-06 23:09:33 +01:00
h3 {
color: $green;
font-size: 20px;
}
2017-12-06 23:09:33 +01:00
.hero-features {
2017-12-06 23:09:33 +01:00
@media screen and (min-width: $tablet) {
@neat-span-columns 5;
}
2017-12-06 23:09:33 +01:00
.feature {
margin-top: $medium;
}
2017-12-06 23:09:33 +01:00
}
.hero-graphic {
2017-12-06 23:09:33 +01:00
margin: $large auto $large auto;
@media screen and (min-width: $tablet) {
2017-12-06 23:09:33 +01:00
@neat-span-columns 6;
float: right;
margin-bottom: 0;
}
img {
border-radius: $largeBorderRadius;
box-shadow: 0 10px 30px 0 rgba(0,0,0,0.15), 0 3px 9px 0 rgba(0,0,0,0.30);
}
}
2017-12-06 23:09:33 +01:00
/*COMMUNITY PAGE*/
2017-12-06 23:09:33 +01:00
&.community {
.hero-copy {
text-align: left;
@media screen and (min-width: $tablet) {
@neat-span-columns 5;
}
}
}
2017-12-06 23:09:33 +01:00
.ctas {
margin-bottom: $small;
2017-12-06 23:09:33 +01:00
@media screen and (min-width: $mobile) {
text-align: left;
}
2017-12-06 23:09:33 +01:00
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
a {
color: $green;
font-weight: $semibold;
}
}
.calendar-cta {
text-align: center;
background: $darkerGrey;
background-image: linear-gradient(-17deg, $darkerGrey 17%, $darkGrey 94%);
border-radius: $largeBorderRadius;
box-shadow: 0 $micro $small rgba(0,0,0,0.1);
padding: $medium;
box-sizing: border-box;
@media screen and (min-width: $tablet) {
max-width: 446px;
}
2017-12-06 23:09:33 +01:00
@media screen and (min-width: $tablet) {
@neat-span-columns 5;
@neat-shift 1;
display: inline-block;
position: fixed;
right: $medium;
2018-02-01 12:53:07 -07:00
max-height: calc(100vh - ($xl * 1.5) - $medium);
overflow-y: auto;
2017-12-06 23:09:33 +01:00
}
@media screen and (min-width: 1280px) {
right: initial;
left: calc(50% - $large);
}
.calendar {
border-radius: $largeBorderRadius;
overflow: hidden;
box-shadow: 0 $micro $small rgba(0,0,0,0.5);
margin: $small auto;
max-width: 250px;
.month {
background: $green;
color: $grey;
font-weight: $black;
text-transform: uppercase;
letter-spacing: 4px;
font-size: $tiny;
padding: $tiny;
}
2017-12-06 23:09:33 +01:00
.day {
font-size: $xl;
font-weight: $black;
color: white;
border: 1px solid $grey;
border-top: none;
border-bottom-left-radius: $largeBorderRadius;
border-bottom-right-radius: $largeBorderRadius;
}
2017-12-06 23:09:33 +01:00
}
2017-12-06 23:09:33 +01:00
strong {
display: inline-block;
}
2017-12-06 23:09:33 +01:00
h2:not(:first-child) {
font-weight: $light;
}
2017-12-06 23:09:33 +01:00
.cal-cta {
margin-top: $micro;
2017-12-06 23:09:33 +01:00
a {
color: $green;
}
}
}
2017-12-06 23:09:33 +01:00
}