Last active
June 12, 2020 13:45
-
-
Save Stockmarr/932b5c36839f81eb5df0f0ea5f0a746a to your computer and use it in GitHub Desktop.
Twitter niceification for use with Joof.app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* hide trending now */ | |
div[aria-label="Timeline: Trending now"], div.css-1dbjc4n.r-1u4rsef.r-9cbz99.r-t23y2h.r-1phboty.r-rs99b7.r-ku1wi2.r-1udh08x, | |
/* hide promoted tweets (this aparently also hid videos in general, working on a fix...) | |
div[data-testid="placementTracking"], */ | |
/* hide who to follow in the sidebar */ | |
aside[aria-label="Who to follow"], div.css-1dbjc4n.r-1u4rsef.r-9cbz99.r-t23y2h.r-1phboty.r-rs99b7.r-ku1wi2.r-1bro5k0.r-1udh08x, | |
/* hide the footer because you don't really need access to the privacy policy 24/7 */ | |
nav[aria-label="Footer"] | |
/* abra cadabra... */ | |
{ display: none; } | |
/* add some more white space just because */ | |
article[role="article"].css-1dbjc4n.r-1loqt21.r-1udh08x.r-o7ynqc.r-1j63xyz { padding-top: 10px; padding-bottom: 10px; } | |
/* TWEET NOW button be gone */ | |
a[aria-label="Tweet"] { display: none; } | |
/* Add some spacing to the header/search and position the relevant people accordingly */ | |
h1[role="heading"] { padding-top: 15px; } | |
form[aria-label="Search Twitter"] { margin-top: 50px; } | |
aside[role="Relevant people"] { margin-top: 50px; } | |
div.css-1dbjc4n.r-14lw9ot.r-1tlfku8.r-t23y2h.r-1phboty.r-rs99b7.r-ku1wi2.r-1udh08x { margin-top: 40px; } | |
/* That one thick line under your own tweet just got smaller baby! */ | |
div.r-1or9b2r.css-1dbjc4n.r-e84r5y { height: 1px; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment