Only have aura
This commit is contained in:
+19
-5
@@ -14,6 +14,23 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.cover-container::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: radial-gradient(circle, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.cover-container:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.book-title-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -45,6 +62,7 @@
|
||||
transform: translateX(-50%);
|
||||
display: none;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.info-btn {
|
||||
@@ -55,10 +73,6 @@
|
||||
bottom: 25%;
|
||||
}
|
||||
|
||||
.cover-container:hover .book-cover {
|
||||
filter: blur(2px);
|
||||
}
|
||||
|
||||
.cover-container:hover .info-btn,
|
||||
.cover-container:hover .read-btn {
|
||||
display: block;
|
||||
@@ -69,7 +83,7 @@
|
||||
top: 8px;
|
||||
right: 8px;
|
||||
display: none;
|
||||
z-index: 1;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.cover-container:hover .select-checkbox {
|
||||
|
||||
Reference in New Issue
Block a user