Skip to content

Instantly share code, notes, and snippets.

@chriskrycho
Created January 30, 2018 16:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriskrycho/1f206d068ae02a8b4933d48ae30bf878 to your computer and use it in GitHub Desktop.
Save chriskrycho/1f206d068ae02a8b4933d48ae30bf878 to your computer and use it in GitHub Desktop.
Better typography on GitHub
.markdown-body {
font-family: Avenir Next
}
pre,
code,
tt,
kbd:not(.badmono),
pre,
samp,
.blob-code,
.file-data pre,
.line-data,
#gist-form .file .input textarea,
.blob-code-inner {
font-family: Hack Code !important;
-webkit-font-smoothing: antialiased;
}
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
font-family: 'Source Serif Pro'; /* `Merriweather` is also great!
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment