Skip to content

Instantly share code, notes, and snippets.

@trey
Forked from shauninman/custom.css
Last active February 27, 2021 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trey/878aeb29b17d180f548e7df595fd161c to your computer and use it in GitHub Desktop.
Save trey/878aeb29b17d180f548e7df595fd161c to your computer and use it in GitHub Desktop.
Make Twitter dot com nicer.
/* bye-bye brands */
/* https://twitter.com/shauninman/status/1338535791643996160 */
div[aria-label~="Timeline"] div[role="group"] + div {
background-color: black;
position: absolute !important;
top: -24px !important;
left: -64px !important;
margin-top: 0 !important;
width: calc(100% + 64px);
height: calc(100% + 24px);
}
div[aria-label="Timeline: Trending now"],
aside[aria-label="Who to follow"],
div[data-testid="placementTracking"],
div[data-testid="UserCell"],
div[aria-label~="Timeline"] div[role="group"] + div * {
display: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment