Skip to content

Instantly share code, notes, and snippets.

@purcell
Last active October 22, 2020 22:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save purcell/c93cba28eb0104d6aefb42ecac994b20 to your computer and use it in GitHub Desktop.
Save purcell/c93cba28eb0104d6aefb42ecac994b20 to your computer and use it in GitHub Desktop.
User styles for coding fonts on sites with lots of code
@-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;
}
}
@purcell
Copy link
Author

purcell commented Jul 22, 2017

I use these styles with the "Stylish" browser extension for Firefox and Chrome.

@redguardtoo
Copy link

Can you upload a screenshot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment