Skip to content

Instantly share code, notes, and snippets.

@thwarted
Created September 18, 2012 05:44
Show Gist options
  • Select an option

  • Save thwarted/3741472 to your computer and use it in GitHub Desktop.

Select an option

Save thwarted/3741472 to your computer and use it in GitHub Desktop.
remove courier new as the forced font choice in gmail, use the user setting for monospaced font
/* force gmail fixed width font to NOT be courier
*/
div.gs font[face="courier new, monospace"] {
font-family: monospace !important;
}
/* this matches inside gmail's edit iframe
the CSS rule can not span documents inside iframes
*/
html body.editable font[face="courier new, monospace"] {
font-family: monospace !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment