mirror of
https://github.com/ipdb/website.git
synced 2024-11-14 09:14:48 +01:00
33 lines
620 B
SCSS
33 lines
620 B
SCSS
$edge-height: $spacer * 5;
|
|
|
|
.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: 0;
|
|
}
|
|
|
|
.header__subtitle {
|
|
font-size: $font-size-h3;
|
|
color: $brand-02;
|
|
margin: 0;
|
|
}
|