193 lines
3.3 KiB
CSS
193 lines
3.3 KiB
CSS
.hero {
|
|
@neat-row;
|
|
background: $darkerGrey;
|
|
background-image: linear-gradient(-180deg, #323B3B 0%, $darkerGrey 20%);
|
|
color: $blueGrey;
|
|
overflow: hidden;
|
|
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) {
|
|
padding-top: calc($xl * 1.5);
|
|
}
|
|
|
|
&.landing {
|
|
@media screen and (min-width: $tablet) {
|
|
padding-bottom: $xxl;
|
|
}
|
|
}
|
|
|
|
.hero-copy {
|
|
margin: $medium auto $xl auto;
|
|
|
|
@media screen and (min-width: $desktop) {
|
|
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;
|
|
}
|
|
}
|
|
|
|
strong {
|
|
display: block;
|
|
}
|
|
|
|
h1 {
|
|
color: white;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
h2 {
|
|
color: white;
|
|
}
|
|
|
|
h3 {
|
|
color: $green;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.hero-features {
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
@neat-span-columns 5;
|
|
}
|
|
|
|
.feature {
|
|
margin-top: $medium;
|
|
}
|
|
|
|
}
|
|
|
|
.hero-graphic {
|
|
margin: $large auto $large auto;
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
@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);
|
|
}
|
|
}
|
|
|
|
/*COMMUNITY PAGE*/
|
|
|
|
&.community {
|
|
.hero-copy {
|
|
text-align: left;
|
|
@media screen and (min-width: $tablet) {
|
|
@neat-span-columns 5;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ctas {
|
|
margin-bottom: $small;
|
|
|
|
@media screen and (min-width: $mobile) {
|
|
text-align: left;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
@media screen and (min-width: $tablet) {
|
|
@neat-span-columns 5;
|
|
@neat-shift 1;
|
|
display: inline-block;
|
|
position: fixed;
|
|
right: $medium;
|
|
max-height: calc(100vh - ($xl * 1.5) - $medium);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
@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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
|
|
strong {
|
|
display: inline-block;
|
|
}
|
|
|
|
h2:not(:first-child) {
|
|
font-weight: $light;
|
|
}
|
|
|
|
.cal-cta {
|
|
margin-top: $micro;
|
|
|
|
a {
|
|
color: $green;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
}
|