diff options
author | r <r@freesoftwareextremist.com> | 2019-12-22 04:25:56 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2019-12-22 04:25:56 +0000 |
commit | 2506615f4228de4189202123d414e8f22b2c1c1b (patch) | |
tree | 29714502bc9a778dd53a4c7e389839177f5309e6 /static | |
parent | 4a83c22261e4e35de7366c9b815ef72d3555e5d9 (diff) | |
download | bloat-2506615f4228de4189202123d414e8f22b2c1c1b.tar.gz bloat-2506615f4228de4189202123d414e8f22b2c1c1b.zip |
Add nsfw mask for status media
Diffstat (limited to 'static')
-rw-r--r-- | static/main.css | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/static/main.css b/static/main.css index 89bb9cd..2dcb4a6 100644 --- a/static/main.css +++ b/static/main.css @@ -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; } |