To set your favourite font to be on GitHub you need:
- Refined GitHub extension
- Go to options of this extension. For Chrome: click on 3 dots on installed extension on
Extensions
list and selectOptions
- Paste following CSS into
Custom CSS
text-area
pre,
code,
.blob-code,
.blob-code-marker,
.input-monospace,
.markdown-body code {
font-family: MonoLisa;
}
- You can change fonts/colours for other parts of GitHub using
Custom CSS
option
Top comments (1)
If you're using a chromium browser, another solution would be an extension named Github Code Font Changer.