Last active
April 6, 2023 17:41
-
-
Save bpmarkowitz/32914a08ac2adb3a5f9c137972aff6b1 to your computer and use it in GitHub Desktop.
Custom Safari Stylesheet to hide the Twitter Trends + the DM Drawer
This file contains hidden or 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
/* Twitter Custom CSS */ | |
/* By Ben Markowitz */ | |
/* bpmarkowitz.com */ | |
/* hide trending topics */ | |
[aria-label="Trending"] > div > div{ | |
display: none !important; | |
} | |
/* show the search box & add some padding */ | |
[aria-label="Trending"] > div > div:first-child{ | |
margin-top: 18px !important; | |
display: block !important; | |
} | |
/* hide the DMs drawer */ | |
[data-testid="DMDrawer"] { | |
display: none !important; | |
} | |
/* Hide dumb doge icon */ | |
[aria-label="Twitter"] > div > svg { | |
display: none !important; | |
} | |
/* Show Twitter Logo */ | |
[aria-label="Twitter"] > div { | |
background:url(https://abs.twimg.com/errors/[email protected]); | |
background-size: 30px; | |
background-position: center; | |
background-repeat: no-repeat; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment