spoilerを画像にだけ適用するように変更
This commit is contained in:
1 parent
9f565798c0
commit
5e9fa05be5
3 files changed
+24
-14
No files matched your search
+14
-9
@@ -31,15 +31,25 @@
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.card-spoiler-overlay {
|
||||
.card-spoiler-wrap {
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.card-spoiler img{
|
||||
z-index: 1;
|
||||
filter: blur(15px) grayscale(100%);
|
||||
}
|
||||
|
||||
.card-img-spoiler-overlay {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.warning-text {
|
||||
padding: 10px;
|
||||
@@ -48,9 +58,4 @@
|
||||
border-radius: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-spoiler {
|
||||
z-index: 1;
|
||||
filter: blur(15px) grayscale(100%);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user