summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/css/components/_library.scss5
1 files changed, 2 insertions, 3 deletions
diff --git a/assets/css/components/_library.scss b/assets/css/components/_library.scss
index 5fcafae4..a7e2de78 100644
--- a/assets/css/components/_library.scss
+++ b/assets/css/components/_library.scss
@@ -14,11 +14,11 @@
}
width: calc(100% / var(--number-in-line) - var(--gap));
- position: relative;
&.badbook {
opacity: 0.5;
z-index: 0;
- &::before {
+ a { position: relative; }
+ a::before {
position: absolute;
z-index: 1;
content: "";
@@ -26,7 +26,6 @@
left: 25%;
height: 50%;
width: 50%;
-
background-image: url('/img/thumbs-down.png');
background-size: 100%;
background-position: center;