Skip to content

Instantly share code, notes, and snippets.

@jkuchar
Last active June 16, 2017 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkuchar/8a33962434d7fa61036d21c21ba02f9b to your computer and use it in GitHub Desktop.
Save jkuchar/8a33962434d7fa61036d21c21ba02f9b to your computer and use it in GitHub Desktop.
Fira Code Font in GitLab
/* Use Fira Code */
/* in merge requests */
.diff-file .diff-content table,
.diff-file .diff-content table .line_holder td, /* to properly override line-height and font-size */
.file-content.code .line-numbers a, /* to align line numbers with lines of source */
/* in file view */
.file-content.code pre code
{
font-family: "Fira Code", "Menlo", "Liberation Mono", "Consolas", "DejaVu Sans Mono", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace;
line-height: 23px;
font-size: 13px;
}
/* fix too bold => */
.code.white .o {
font-weight: normal;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment