Skip to content

Instantly share code, notes, and snippets.

@pbausch
Last active July 23, 2019 23:20
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 pbausch/0a95240829f32d649797ae906f7b6ad0 to your computer and use it in GitHub Desktop.
Save pbausch/0a95240829f32d649797ae906f7b6ad0 to your computer and use it in GitHub Desktop.
Remove things from Twitter with Stylus
div[data-testid="sidebarColumn"], header[role="banner"], h2[role="heading"] { display: none; }
div[data-testid="primaryColumn"], .r-1ye8kvj, .r-9x6qib { max-width: 600px; }
main[role="main"], html, body { background-color: #eee; }
main[role="main"] > div { width: inherit; max-width: 100%; margin: auto; }
.r-gtdqiz { position: inherit; }
/* avatars */
div[data-testid="tweet"] > :first-child { display: none; }
/* action buttons */
div[aria-label~="Reply"], div[aria-label~="Retweet"], div[aria-label="Share Tweet"] { display: none; }
.r-1mdbhws { max-width: 40px; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment