Skip to content

Instantly share code, notes, and snippets.

@pahnin
Last active August 29, 2015 13:56
Show Gist options
  • Save pahnin/cf6b1f4fb54c9c0c05ce to your computer and use it in GitHub Desktop.
Save pahnin/cf6b1f4fb54c9c0c05ce to your computer and use it in GitHub Desktop.
Twitter color change, twitter recenlty(Feb 4, 2014) brought in a color and design change which has been annoying! So if you want the old-nav-bar-ish look just run the code in your browser after your page is loaded.
$('.global-nav .container').css({"max-width": "900px"});
$('.global-nav-inner').css({"background": "#3d3d3d"});
$('.nav > li > a, .nav > li > button').css({ "color": "rgb(187, 187, 187)"});
/* If you are not sure how to run this code, copy the three lines above and
- if you are on firefox
-- press control + shift +k
--- paste code and press enter
--- Voilà!
-- or you can press shift + f4
--- paste code in scratchpad
--- press control + r
- if you are on chrome
-- press control + shift + j
--- paste code and press enter
--- Voilà!
If you want smaller tweet sent pop-up run the code below.
*/
$('#message-drawer .message').css({ "background": "none repeat scroll 0% 0% rgb(255, 255, 255)", "padding": "6px" });
/* Below code decreases the font-size of stats on twitter making them less creeepy. */
$('.stats a strong').css({"font-size":"14px"});
@pahnin
Copy link
Author

pahnin commented Feb 6, 2014

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