0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-14 21:32:41 +00:00

Shadows now being drawn as a :after element. Beauty

This commit is contained in:
Scott Tolksdorf
2017-03-26 15:10:36 -04:00
parent f99bcabad0
commit d5f04ca2b6
10 changed files with 95 additions and 25 deletions

View File

@@ -7,13 +7,32 @@
&:before{
content : '';
position : absolute;
z-index : -1;
z-index : -2;
box-sizing : border-box;
border-style : solid;
border-image-repeat : round;
}
}
.pseudoShadow(){
position : relative;
&:after{
content : '';
position : absolute;
z-index : -1;
box-sizing : border-box;
top : 4px;
right : 0px;
bottom : 10px;
left : 0px;
border-style : solid;
border-image-repeat : round;
border-image-slice : 13 13;
border-image-source : @shadowBorder;
border-image-width : 11px;
}
}
.useSansSerif(){
font-family : ScalySans;