1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-22 17:40:03 +01:00
website/_src/_assets/scss/_header.scss

31 lines
602 B
SCSS

.header {
background: $brand-05;
padding-top: $spacer * 2;
padding-bottom: $spacer;
position: relative;
margin-bottom: $edge-height;
&:after {
content: '';
width: 100%;
height: $edge-height;
display: block;
position: absolute;
left: 0;
bottom: -($edge-height);
clip-path: polygon(100% 0, 0 0, 0 100%);
background: $brand-05;
}
}
.header__title {
font-size: $font-size-h1;
margin-bottom: $spacer / 2;
}
.header__subtitle {
font-size: $font-size-h3;
color: $brand-02;
margin: 0;
}