2021-10-13 22:51:28 +03:00
|
|
|
.post-nsfw .post-content .media {
|
2021-01-07 19:19:36 +03:00
|
|
|
filter: saturate(0.8) blur(15px);
|
2020-06-07 19:04:43 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-nsfw .post-content .attachment {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2021-10-13 22:51:28 +03:00
|
|
|
.post-nsfw .post-content .attachment:active .media {
|
2020-06-07 19:04:43 +03:00
|
|
|
filter: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.post-nsfw .post-content .attachment::after {
|
|
|
|
position: absolute;
|
|
|
|
top: calc(50% - 16px);
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
padding: 8px 0;
|
|
|
|
background-color: hsla(0, 0%, 0%, .5);
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
content: attr(data-localized-nsfw-text);
|
|
|
|
}
|
|
|
|
|
2021-01-07 19:19:36 +03:00
|
|
|
.post-nsfw .post-content .attachment:active::after {
|
2020-06-07 19:04:43 +03:00
|
|
|
display: none;
|
|
|
|
}
|