From 95e43bce69f2d743f87e06b12116ef4ed49507f3 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 21 Apr 2021 06:57:21 +0200 Subject: Improved blobfox preview, added bunhd preview --- assets/css/components/_project.scss | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'assets/css/components/_project.scss') diff --git a/assets/css/components/_project.scss b/assets/css/components/_project.scss index 943bf68..388d4b9 100644 --- a/assets/css/components/_project.scss +++ b/assets/css/components/_project.scss @@ -15,12 +15,7 @@ background-color: prop(--colors --bg); } - &::after { - content: ''; - background-image: linear-gradient(340deg, rgba(#000, .85) 5em, transparent 100%); - } - - @include multi('element' 'picture', '&::after') { + @include multi('element' 'picture') { display: block; position: absolute; z-index: 10; @@ -38,7 +33,7 @@ right: 1em; bottom: 1em; min-width: 15em; - box-shadow: 0 .3em 1em rgba(#000, .5); + box-shadow: 0 .3em 1em rgba(#000, .35); } @include media('<=sm') { @@ -47,7 +42,7 @@ } @include element('card') { - left: 1em; + width: calc(100% - 2em); min-width: 0; } } -- cgit v1.2.3-54-g00ecf