Skip to content

Instantly share code, notes, and snippets.

@tealtan
Last active December 30, 2016 15:07
Show Gist options
  • Save tealtan/6371700 to your computer and use it in GitHub Desktop.
Save tealtan/6371700 to your computer and use it in GitHub Desktop.
Custom Twitter stylesheet

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/*.

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

Added this to hide the inline stats:
span.Icon.Icon--analytics { display: none; }

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