Chrome config: make web inspector fonts bigger

This commit is contained in:
yan 2012-01-22 20:40:44 -08:00
parent a3e05b6ebe
commit 29f8403ed9
2 changed files with 26 additions and 0 deletions

20
chrome/Custom.css Normal file
View File

@ -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;
}

6
chrome/install.sh Executable file
View File

@ -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