Skip to content

Instantly share code, notes, and snippets.

@sportebois
Created February 18, 2018 20:54
Show Gist options
  • Save sportebois/b367b7aadac8bc3c14bba21b32164741 to your computer and use it in GitHub Desktop.
Save sportebois/b367b7aadac8bc3c14bba21b32164741 to your computer and use it in GitHub Desktop.
Firacode in Medium posts (Stylish rule)
/* Medium */
@import url(https://cdn.rawgit.com/tonsky/FiraCode/1.204/distr/fira_code.css);
.graf--pre, .markup--blockquote-code, .markup--li-code, .markup--p-code {
font-family: 'Fira Code';
}
/* Applies to url matching the regexp .*\bmedium\b\.?[^/]*\/*.* This matches many medium subdomains. For custom domains, you have to expand this rule */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment