Created
February 18, 2018 20:54
-
-
Save sportebois/b367b7aadac8bc3c14bba21b32164741 to your computer and use it in GitHub Desktop.
Firacode in Medium posts (Stylish rule)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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