Created
August 2, 2023 08:29
-
-
Save ifvictr/712d136e5ea5c85684886fb0748634a2 to your computer and use it in GitHub Desktop.
A userstyle that restores the old Twitter logo.
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
h1[role="heading"] [aria-label="Twitter"] svg { | |
display: none !important; | |
} | |
h1[role="heading"] [aria-label="Twitter"]:after { | |
color: rgb(29, 155, 240); | |
content: "[CHIRPBIRDICON]"; | |
font-family: "TwitterChirp"; | |
font-size: 28px; | |
left: 9px; | |
position: absolute; | |
top: 9px; | |
} | |
/* TODO: Find a better way to select by theme */ | |
body:not([style="background-color: #FFFFFF;"]):not([style="background-color: rgb(255, 255, 255);"]) h1[role="heading"] [aria-label="Twitter"]:after { | |
color: rgb(255, 255, 255); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment