2017-08-25 00:16:33 +02:00
|
|
|
$edge-height-sm: $spacer * 2;
|
|
|
|
$edge-height: $spacer * 4;
|
|
|
|
|
2017-08-10 23:42:59 +02:00
|
|
|
.hero {
|
2017-08-25 00:16:33 +02:00
|
|
|
background: $brand-07;
|
2017-08-24 15:48:46 +02:00
|
|
|
padding-top: $spacer * 2;
|
|
|
|
padding-bottom: $spacer * 2;
|
2017-08-25 00:16:33 +02:00
|
|
|
min-height: calc(100vh - #{$edge-height-sm});
|
|
|
|
margin-bottom: $edge-height-sm;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
|
|
|
min-height: calc(100vh - #{$edge-height});
|
|
|
|
margin-bottom: $edge-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
width: 100%;
|
|
|
|
height: $edge-height-sm;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
background: #b3d0da;
|
|
|
|
bottom: -($edge-height-sm);
|
|
|
|
clip-path: polygon(0 0, 100% 0, 100% 20%, 0% 100%);
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
|
|
|
height: $edge-height;
|
|
|
|
bottom: -($edge-height);
|
|
|
|
}
|
|
|
|
}
|
2017-08-10 23:42:59 +02:00
|
|
|
|
|
|
|
&,
|
|
|
|
.hero__title,
|
|
|
|
.hero__action {
|
|
|
|
color: #fff;
|
|
|
|
}
|
2017-08-24 13:47:28 +02:00
|
|
|
|
|
|
|
.menu--main {
|
2017-08-25 00:16:33 +02:00
|
|
|
background: $brand-03;
|
2017-08-24 13:47:28 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
2017-08-25 00:16:33 +02:00
|
|
|
|
|
|
|
&:after {
|
|
|
|
content: '';
|
|
|
|
width: 100%;
|
|
|
|
height: $edge-height-sm;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
background: $brand-03;
|
|
|
|
bottom: -($edge-height-sm);
|
|
|
|
clip-path: polygon(100% 0, 0 0, 0 100%);
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
|
|
|
height: $edge-height;
|
|
|
|
bottom: -($edge-height);
|
|
|
|
}
|
|
|
|
}
|
2017-08-24 13:47:28 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu__link {
|
2017-08-24 15:48:46 +02:00
|
|
|
color: rgba(#fff, .8);
|
2017-08-24 13:47:28 +02:00
|
|
|
|
|
|
|
&:after {
|
2017-08-24 15:48:46 +02:00
|
|
|
background: rgba(#fff, .8);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&.active {
|
|
|
|
color: #fff;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
background: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
fill: #fff;
|
|
|
|
}
|
2017-08-24 13:47:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2017-08-24 15:48:46 +02:00
|
|
|
fill: rgba(#fff, .95);
|
2017-08-24 13:47:28 +02:00
|
|
|
}
|
2017-08-10 23:42:59 +02:00
|
|
|
}
|