Skip to content

Instantly share code, notes, and snippets.

@maxfenton
Forked from tealtan/instructions.md
Last active August 29, 2015 14:25
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 maxfenton/95b116549d6fbfb834fe to your computer and use it in GitHub Desktop.
Save maxfenton/95b116549d6fbfb834fe to your computer and use it in GitHub Desktop.
Custom CSS for twitter-in-a-browser.

Custom Twitter Stylesheet

Craig Mod does a bigger overhaul with Twitter for Minimalists, but this will only do the following:

  • Hides promoted tweets and trends
  • Hides the useless “Expand” link that appears under every tweet
  • Tones down the blue conversation line to a barely-visible gray
  • Hides all numbers

You can add this CSS in Safari with this extension. The URL to target is twitter.com/*.

.DashboardProfileCard-statList, .js-mini-profile-stats, .js-tweet-stats-container, .ProfileNav-item--following, .ProfileNav-item--followers, .ProfileTweet-actionCount, .ProfileHeaderCard-joinDateText {
visibility: hidden;
}
.ProfileTweet--high .ProfileTweet-text {
font-size: 16px ;
font-weight: 400 ;
line-height: 22px ;
}
.highline {
font-family: "Helvetica" ;
}
.permalink .cards-media-container {
display: block ;
}
.promoted-tweet, .wtf-module, .trends, .expand-action-wrapper, .tweet-actions, .cards-media-container, .ScrollBump, .ProfilePhotoRail, .ProfileWTFAndTrends, .Footer {
display: none ;
}
.tweet:hover .tweet-actions {
display: inline ;
}
.vellip, .vellip::before, .vellip::after, .conversation-module > li::after, .conversation-module > li::before {
background-color: #eee ;
}
div.card2.js-media-container {
display: none;
}
body {
background-image: none ;
background-color: #777;
}
.tweet-stats-container {
display: none;
}
@maxfenton
Copy link
Author

This version removes all photos from the stream, as well as auto-playing videos.

@maxfenton
Copy link
Author

instructions.md is by @tealtan — I forked (and edited) the CSS from him.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment