Skip to content

Commit 8d9f338

Browse files
committed
Remove gradient effect from book cover images
1 parent 907e98c commit 8d9f338

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/scss/phy/books.scss

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,26 +89,14 @@ svg.book-page-icon {
8989
text-decoration: underline;
9090
}
9191
}
92-
92+
9393
.book-image-container {
9494
position: relative;
9595
width: max-content;
9696
height: max-content;
9797
box-shadow: 0px 6px 12px rgba(0,0,0,0.2);
9898
transition: scale 0.2s ease-out;
9999

100-
&::after {
101-
background-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.0666667) 4%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 100%);
102-
content: '';
103-
position: absolute;
104-
top: 0;
105-
left: 0;
106-
right: 0;
107-
bottom: 0;
108-
z-index: 20;
109-
border-radius: 3px;
110-
}
111-
112100
> img {
113101
max-height: 215px;
114102
border-radius: 3px;

0 commit comments

Comments
 (0)