Last active
May 17, 2020 22:45
-
-
Save peey/bdef27c804124e3d4e905035d92cd82c to your computer and use it in GitHub Desktop.
Additions atop https://userstyles.org/styles/173595/better-twitter-redesign
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
/* don't make right sidebar sticky */ | |
[data-testid=sidebarColumn] > div > div:nth-child(2) { | |
position: absolute; | |
} | |
/* dull out the empty space. Hardcoded colors for white theme. */ | |
[data-testid='primaryColumn'] { | |
background:#e6ecf0; | |
} | |
/* brighten the primary content. Hardcoded colors for white theme. */ | |
[data-testid='primaryColumn'] > div > div > div { | |
background: white; | |
padding-left: 2em; | |
padding-right: 2em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
You should go to the userstyles.org link and install the styles from there. I haven't made those styles.
These are just my additions on top of that, so you need to have them first. Also note that my additions in this gist may not work with black twitter themes because I've hardcoded colors for the white theme.