diff --git a/chrome/Custom.css b/chrome/Custom.css new file mode 100644 index 0000000..ce588e3 --- /dev/null +++ b/chrome/Custom.css @@ -0,0 +1,20 @@ +body.platform-mac .monospace, body.platform-mac .source-code { + font-family: Monaco, monospace; +} + +/* Keep .platform-mac to make the rule more specific than the general one above. */ +body.platform-mac.platform-mac-snowleopard .monospace, +body.platform-mac.platform-mac-snowleopard .source-code { + font-size: 13px !important; + font-family: Menlo, monospace; +} + +body.platform-windows .monospace, body.platform-windows .source-code { + font-size: 14px !important; + font-family: Consolas, Lucida Console, monospace; +} + +body.platform-linux .monospace, body.platform-linux .source-code { + font-size: 13px !important; + font-family: dejavu sans mono, monospace; +} diff --git a/chrome/install.sh b/chrome/install.sh new file mode 100755 index 0000000..df62d64 --- /dev/null +++ b/chrome/install.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Fix chrome web inspector fonts to be readable. +# http://blog.dotsmart.net/2011/09/30/change-font-size-in-chrome-devtools/ + +# Use: +cp ~/.dotfiles/chrome/Custom.css ~/Library/Application\ Support/Google/Chrome/Default/Custom.css