Last active
April 20, 2020 19:51
-
-
Save dviedma/3bd0a101352f3b9d5a7b51397c9035c1 to your computer and use it in GitHub Desktop.
This file contains 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
$nav-height: 70px; | |
.homepage-hero { | |
display: flex; | |
flex-direction: column; | |
margin-top: 70px; | |
margin-bottom: 5px; | |
@include breakpoint(tablet){ | |
margin-top: 50px; | |
} | |
} | |
.homepage-hero__content { | |
display: flex; | |
flex-direction: column; | |
position: relative; | |
justify-content: center; | |
&__picture { | |
z-index: -1; | |
} | |
&__link { | |
position: absolute; | |
left: 0; | |
top: 0; | |
width: 100%; | |
height: 100%; | |
cursor: pointer; | |
z-index: 3; | |
} | |
&__video { | |
z-index: -1; | |
width: 100%; | |
height: 100%; | |
} | |
&__button { | |
align-self: center; | |
display: flex; | |
z-index: 100; | |
flex-wrap: wrap; | |
justify-content: center; | |
width: 100%; | |
align-content: space-around; | |
align-items: center; | |
@include breakpoint(mobileOnly){ | |
flex-wrap: initial; | |
flex-direction: column; | |
} | |
} | |
} | |
.homepage-hero__content__header { | |
display: flex; | |
flex-direction: column; | |
padding: 10px 20px; | |
&__pre { | |
text-align: center; | |
color: var(--prehader-color-mobile ) | |
} | |
&__title { | |
margin-top: 0; | |
margin-bottom: 40px; | |
text-align: center; | |
color: var(--headline-color-mobile); | |
} | |
&__cta { | |
padding: 15px 20px; | |
text-align: center; | |
border: 0; | |
border-radius: 5px; | |
margin-bottom: 30px; | |
color: var(--cta-color-mobile); | |
background: var(--cta-background-color-mobile); | |
} | |
&__button{ | |
&__cta { | |
border: 0; | |
color: var(--cta-hero1-color); | |
background: var(--cta-hero1-background-color); | |
justify-content: center; | |
padding: 15px 35px; | |
text-align: center; | |
border-radius: 5px; | |
display: flex; | |
margin: 10px 5px; | |
align-self: center; | |
@include breakpoint(tablet){ | |
margin: 10px 25px; | |
} | |
&:last-child{ | |
color: var(--cta-hero2-color); | |
background: var(--cta-hero2-background-color); | |
} | |
} | |
} | |
} | |
// etc... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment