Quickfixes and boxshadow

This commit is contained in:
2020-08-27 15:47:37 +02:00
parent 552123c0cf
commit 1b053523d1
6 changed files with 126 additions and 87 deletions

View File

@@ -1,11 +1,11 @@
@mixin RV-BoxShadow($color) {
@mixin RV-BoxShadow--simple($-color) {
box-shadow: 0 0 10px $-color;
}
@mixin RV-BoxShadow($-color) {
position:relative;
float:left;
width:40%;
margin:2em 10px 4em;
background:#fff;
box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
&:before, &:after {
content:"";
@@ -14,7 +14,7 @@
}
&--simple {
box-shadow: 0 0 20px $color;
@include RV-BoxShadow--simple($-color);
}
&--raised {