website/styl/lib/_header.styl

35 lines
664 B
Stylus
Raw Normal View History

2021-03-28 20:00:20 +02:00
.header-wrapper *:before {
2021-01-11 15:58:17 +01:00
box-sizing: border-box;
}
.header-homepage {
2021-05-15 15:04:22 +02:00
background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url(/API/getFile.php?filename=img/bannerHomeCrop.webp);
2021-01-11 15:58:17 +01:00
background-size: cover;
position: relative;
color: #fff;
z-index: 0;
padding-top: 160px;
2021-03-28 20:19:18 +02:00
padding-bottom: 360px;
h1 {
width: 100%;
text-align: center;
font-size: 3.3em;
font-weight: 600;
}
2021-01-11 15:58:17 +01:00
}
2021-03-28 20:00:20 +02:00
2021-01-11 15:58:17 +01:00
.header-separator-bottom {
position: absolute;
bottom: -1px;
left: 0;
width: 100%;
svg { display: block;
width: calc(100% + 1.3px);
2021-03-28 20:00:20 +02:00
height: 90px;
fill: $back-color;
2021-01-11 15:58:17 +01:00
}
}
2021-03-28 20:00:20 +02:00
2021-01-11 15:58:17 +01:00
.header-wrapper {
position: relative;
2021-03-28 20:19:18 +02:00
}