Skip to content

Instantly share code, notes, and snippets.

@imliam
Created July 5, 2018 12:37
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 imliam/e3854276a5e4fd83c38c35c398de5d46 to your computer and use it in GitHub Desktop.
Save imliam/e3854276a5e4fd83c38c35c398de5d46 to your computer and use it in GitHub Desktop.
Use the Operator Mono Lig typeface on any website.
/** General websites **/
code { font-family: "Operator Mono Lig" !important; font-weight: 200; }
pre > code { font-family: "Operator Mono Lig" !important; font-size: 1.2em !important; font-weight: 200; }
/** GitHub **/
.blob-code-inner, .blob-num, .highlight pre { font-family: "Operator Mono Lig" !important; font-weight: 200; }
.pl-c, .pl-e { font-style: italic; }
.pl-c { color: #4CAF50; }
/** Prism JS **/
pre > code .package, pre > code .scope { font-style: italic; }
/** Highlight JS **/
.hljs-doctag, .hljs-title { font-style: italic; }
.hljs-params { font-style: italic; }
.hljs-params .hljs-variable { font-style: normal; }
.hljs-function .hljs-title { font-style: normal; }
.hljs-attribute, .hljs-attr { font-style: italic; }
/** Stack Exchange **/
.typ { font-style: italic; }
/** CodeMirror editors **/
.CodeMirror-line, .CodeMirror-linenumber { font-family: "Operator Mono Lig" !important; font-weight: 200; }
.cm-qualifier { font-style: italic; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment