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;
|
2017-08-29 16:58:25 +02:00
|
|
|
padding-bottom: 0;
|
|
|
|
height: calc(100vh - #{$edge-height-sm});
|
|
|
|
min-height: 580px;
|
2017-08-25 00:16:33 +02:00
|
|
|
margin-bottom: $edge-height-sm;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@media ($screen-sm) {
|
2017-08-29 16:58:25 +02:00
|
|
|
height: calc(100vh - #{$edge-height});
|
2017-08-25 00:16:33 +02:00
|
|
|
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
|
|
|
|
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-29 16:58:25 +02:00
|
|
|
color: rgba($brand-05, .8);
|
2017-08-24 13:47:28 +02:00
|
|
|
|
|
|
|
&:after {
|
2017-08-29 16:58:25 +02:00
|
|
|
background: rgba($brand-05, .8);
|
2017-08-24 15:48:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&.active {
|
2017-08-29 16:58:25 +02:00
|
|
|
color: $brand-05;
|
2017-08-24 15:48:46 +02:00
|
|
|
|
|
|
|
&:after {
|
2017-08-29 16:58:25 +02:00
|
|
|
background: $brand-05;
|
2017-08-24 15:48:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2017-08-29 16:58:25 +02:00
|
|
|
fill: $brand-05;
|
2017-08-24 15:48:46 +02:00
|
|
|
}
|
2017-08-24 13:47:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.logo {
|
2017-08-29 16:58:25 +02:00
|
|
|
fill: rgba($brand-05, .95);
|
2017-08-24 13:47:28 +02:00
|
|
|
}
|
2017-08-10 23:42:59 +02:00
|
|
|
}
|
2017-08-29 16:58:25 +02:00
|
|
|
|
|
|
|
.hero__title {
|
|
|
|
color: $brand-05;
|
|
|
|
font-size: $font-size-h1 * 1.2;
|
|
|
|
margin-bottom: $spacer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hero__description {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: $spacer * 2;
|
|
|
|
color: $brand-02;
|
|
|
|
line-height: $line-height;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Le star base
|
|
|
|
//
|
|
|
|
.starbase {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
border-bottom: 4.5rem solid $brand-02;
|
|
|
|
align-self: flex-end;
|
|
|
|
|
|
|
|
.row {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-end;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.starbase__item--stones {
|
|
|
|
margin-bottom: -1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.starbase__item--bicycle {
|
|
|
|
margin-bottom: -3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.starbase__item--towers {
|
|
|
|
margin-bottom: -4.5rem;
|
|
|
|
}
|