alpes-maritimes-2018: move trapesoid effect inside its container (#29411)
This commit is contained in:
parent
18ab87cabc
commit
feccb16025
|
@ -7,8 +7,7 @@ body {
|
|||
@mixin trapesoid($border-color: $secondary-color, $width: 1em, $background-color: #fff) {
|
||||
position: relative;
|
||||
padding: 0.25em 0.25em 0.25em 1.75em;
|
||||
border-left: 1.25em hidden $background-color;
|
||||
border-style: hidden;
|
||||
border-left: 1.25em solid $background-color;
|
||||
border-right: 0;
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
|
@ -19,11 +18,11 @@ body {
|
|||
&::before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 10px;
|
||||
width: 15px;
|
||||
background: $background-color;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -0.65em;
|
||||
left: -0.75em;
|
||||
bottom: 0;
|
||||
transform: skew(-25deg);
|
||||
border-left: $width solid $border-color;
|
||||
|
|
Loading…
Reference in New Issue