Last active
October 22, 2020 22:55
-
-
Save purcell/c93cba28eb0104d6aefb42ecac994b20 to your computer and use it in GitHub Desktop.
User styles for coding fonts on sites with lots of code
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
@-moz-document domain("github.com"), domain("gist.github.com") { | |
tt, code, pre, .file-data pre, textarea, .blob-line-code, .blob-code, .blob-code-inner, .diff-line-code { | |
font-family: "Iosevka Fixed SS08", "Iosevka Fixed", "Iosevka Term", "Iosevka", "Input Mono Condensed", "PragmataPro", "Ubuntu Mono", "Menlo"; | |
font-weight: 400; | |
} | |
} | |
@-moz-document domain("gitlab.com") { | |
tt, code, pre, textarea, .code, .file-content.code pre code { | |
font-family: "Iosevka Fixed SS08", "Iosevka Fixed", "Iosevka Term", "Iosevka", "Input Mono Condensed", "PragmataPro", "Ubuntu Mono", "Menlo"; | |
font-weight: 400; | |
} | |
} | |
@-moz-document domain("bitbucket.org") { | |
tt, code, pre, textarea { | |
font-family: "Iosevka Fixed SS08", "Iosevka Fixed", "Iosevka Term", "Iosevka", "Input Mono Condensed", "PragmataPro", "Ubuntu Mono", "Menlo"; | |
font-weight: 400; | |
} | |
} | |
@-moz-document domain("travis-ci.org") { | |
tt, code, pre, .log-body pre { | |
font-family: "Iosevka Fixed SS08", "Iosevka Fixed", "Iosevka Term", "Iosevka", "Input Mono Condensed", "PragmataPro", "Ubuntu Mono", "Menlo"; | |
font-weight: 400; | |
} | |
} | |
@-moz-document domain("www.stackage.org"), domain("hackage.haskell.org") { | |
tt, code, pre, pre * { | |
font-family: "Iosevka Fixed SS08", "Iosevka Fixed", "Iosevka Term", "Iosevka", "Input Mono Condensed", "PragmataPro", "Ubuntu Mono", "Menlo"; | |
font-weight: 400; | |
} | |
} |
Can you upload a screenshot?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use these styles with the "Stylish" browser extension for Firefox and Chrome.