test for header and hero image

This commit is contained in:
Tancre
2020-09-17 17:21:49 +02:00
parent 8a629f6015
commit 575743cfa8
50 changed files with 168 additions and 24 deletions

View File

@ -0,0 +1,61 @@
.large-hero {
border-bottom: 10px solid white;
text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
position: relative;
&__image{
display: block;
}
&__text-content {
padding-top: 88px;
position: absolute;
top: 50%;
left: 0px;
width: 100%;
transform: translateY(-50%);
text-align: center;
@include atMedium(){
padding-top: 60px;
}
}
&__title {
font-family: "CocogooseBold";
color: white;
font-size: 2.4rem;
margin: 0;
@include atSmall(){
font-size: 4.8rem;
}
}
&__subtitle {
font-family: "CocogooseNormal";
color: white;
font-size: 1.5rem;
margin: 0;
@include atSmall(){
font-size: 2.9rem;
}
}
&__description {
color: #FFF;
font-weight: 00;
font-size: 1.1rem;
max-width: 50rem;
margin-left: auto;
margin-right: auto;
@include atSmall(){
font-size: 1.875rem;
}
}
}

View File

@ -2,7 +2,7 @@
padding-top: 10px;
@include atMedium(){
padding-top: 0;
padding: 31px 0px;
}
&--pull-right{
@ -40,8 +40,8 @@
}
a{
color: #000;
font-weight: 300;
color: #fff;
font-weight: 400;
text-decoration: none;
display: block;
padding: 5px 8px;
@ -50,7 +50,7 @@
@include atMedium(){
background:transparent;
font-size: 1rem;
font-size: 1.10rem;
padding: 12px 0;
&.is-current-link {

View File

@ -1,5 +1,4 @@
.site-header{
padding: 10px 0;
position: absolute;
width: 100%;
z-index: 2;
@ -7,7 +6,7 @@
@include atMedium(){
position: fixed;
background-color: #cdf691;
background-color: rgba(#000, 0.4);
}
&__btn-container{
@ -42,6 +41,8 @@
transition: transform .3s ease-out;
@include atMedium(){
position: relative;
float: left;
left: auto;
transform: translateX(0);
}

View File

@ -2,7 +2,7 @@
overflow: hidden;
padding-left: 18px;
padding-right: 18px;
max-width: 1236px;
max-width: 1300px;
margin-left: auto;
margin-right: auto;