Chrome config: make web inspector fonts bigger
This commit is contained in:
parent
a3e05b6ebe
commit
29f8403ed9
20
chrome/Custom.css
Normal file
20
chrome/Custom.css
Normal 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
6
chrome/install.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user