Forked from passcod/alt-tag.tweetdeck.userstyle.css
Last active
October 5, 2020 18:22
-
-
Save resir014/52c749be17bd31cb0c12267eef949946 to your computer and use it in GitHub Desktop.
ALT indicator for Tweetdeck - with cleaner styling (see https://twitter.com/passcod/status/1313156656465735680)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Public Domain (or CC0) */ | |
a.media-image[title]::after, | |
a.media-item[title]::after { | |
content: 'ALT'; | |
position: absolute; | |
bottom: 0.2em; | |
background: rgba(0, 0, 0, 0.6); | |
padding: 0.2em 0.3em; | |
font-size: 0.75em; | |
font-weight: 700; | |
color: white; | |
letter-spacing: 0.05em; | |
line-height: 1; | |
left: 0.2em; | |
border-radius: 0.2em; | |
} | |
a.media-image[title=""]::after, | |
a.media-item[title=""]::after { | |
content: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment