Skip to content

Instantly share code, notes, and snippets.

@equal-l2
Last active April 7, 2024 09:00
Show Gist options
  • Save equal-l2/1e20466ccec692eaed30b39756a66fa2 to your computer and use it in GitHub Desktop.
Save equal-l2/1e20466ccec692eaed30b39756a66fa2 to your computer and use it in GitHub Desktop.
Make X/Twitter spoilers looks better
/* Based on https://github.com/noriokun4649/SensitiveImageLover/blob/8173587fae62ecf57d5ca8304dcc6e768d94c9e2/override.css */
/* Remove blur, but make darker to distinguish */
div .r-yfv4eo {
filter: brightness(70%);
}
/* Remove background color for the warning in tweet */
/* as the shadow is already applied in the filter above */
div .r-drfeu3 {
background-color: transparent
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment