spoilerを画像にだけ適用するように変更

This commit is contained in:
eai04191
2020-01-13 11:23:20 +09:00
parent 9f565798c0
commit 5e9fa05be5
3 changed files with 24 additions and 14 deletions

View File

@@ -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%);
}
}