mirror of
https://github.com/ipdb/website.git
synced 2024-11-12 00:04:48 +01:00
33 lines
630 B
SCSS
33 lines
630 B
SCSS
$edge-height: $spacer * 4;
|
|
|
|
.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;
|
|
}
|