22 lines
387 B
SCSS
22 lines
387 B
SCSS
|
header {
|
||
|
position: relative;
|
||
|
padding: 0.375em 0 0.375em 1.5em;
|
||
|
text-transform: uppercase;
|
||
|
line-height: 1;
|
||
|
font-size: 1.25em;
|
||
|
font-weight: bold;
|
||
|
|
||
|
&::before {
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
transform: skewX(-16.5deg);
|
||
|
background-color: $pd-red;
|
||
|
width: 3px;
|
||
|
content: "";
|
||
|
transform-origin: bottom;
|
||
|
}
|
||
|
}
|