layout-structure.less: Add sidebar shadow

This commit is contained in:
Florian Strohmaier 2020-08-03 17:03:19 +02:00 committed by Johannes Meyer
parent 2b323c9008
commit 22dc22b535
1 changed files with 12 additions and 0 deletions

View File

@ -31,6 +31,18 @@ body {
flex-direction: column;
position: relative;
z-index: 2;
&:after {
content: "";
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 1em;
background: linear-gradient(to left, rgba(0,0,0,.1), rgba(0,0,0,0));
z-index: 0;
}
}
#main {