Created
March 29, 2012 20:51
-
-
Save robey/2243676 to your computer and use it in GitHub Desktop.
small "user extension" for chrome to fix github's display of inline code
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
// ==UserScript== | |
// @name Fix github | |
// @namespace http://www.lag.net/fix-github/ | |
// @version 1.0 | |
// @description Fix the CSS for inline code segments of a markdown page on github. | |
// | |
// @include http://github.com/* | |
// @include https://github.com/* | |
// @include http://wiki.github.com/* | |
// @include http://help.github.com/* | |
// @include http://support.github.com/* | |
// | |
// ==/UserScript== | |
GM_addStyle(".markdown-body code { " + | |
" font: 12px monospace; " + | |
" background-color: transparent; " + | |
// " color: green; " + // i like this but most people will not. i am color blind. :) | |
" border: none; " + | |
" padding: 0px; " + | |
"}"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment