mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-06-06 19:18:46 +00:00
Add nsfw mask for status media
This commit is contained in:
parent
4a83c22261
commit
2506615f42
2 changed files with 36 additions and 4 deletions
|
@ -97,6 +97,7 @@
|
|||
max-height: 180px;
|
||||
max-width: 220px;
|
||||
width: auto;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
|
@ -280,4 +281,27 @@
|
|||
|
||||
.img-link {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.status-nsfw-overlay {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: black;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.img-link:hover .status-nsfw-overlay {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.status-video-container {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.status-video-container:hover .status-nsfw-overlay {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue