Skip to content

Instantly share code, notes, and snippets.

@meyerweb
Created October 4, 2017 19:14
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 meyerweb/0793ea3709593bb4ad0bccf71e566d6e to your computer and use it in GitHub Desktop.
Save meyerweb/0793ea3709593bb4ad0bccf71e566d6e to your computer and use it in GitHub Desktop.
/* styles for collapsing media in tweets and showing an arrow to indicate their existence
but only at the top level */
li.stream-item .has-content .AdaptiveMedia,
li.stream-item .has-cards .card2 {
display: none;
}
li.stream-item .has-content:after,
li.stream-item .has-cards:after,
li.stream-item .js-pinned .user-pinned:after {
display: block;
position: absolute;
bottom: .65em;
right: 10px;
color: #CCD6DD;
font-size: 1.25rem;
content: '\279a';
}
li.stream-item:hover .has-content:after,
li.stream-item:hover .has-cards:after,
li.stream-item:hover .js-pinned .user-pinned:after {
color: #069;
}
/* indents followup tweets in a conversation chain in the main timeline */
ol.conversation-module li:not(.conversation-root) {padding-left: 1.5em;}
/* So long, Moments tab */
li.moments.js-moments-tab {display: none !important;}
@meyerweb
Copy link
Author

meyerweb commented Oct 4, 2017

New version of twitter-stylish.css, since I’ve converted to Stylus (a fork of Stylish).

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