/* ==UserStyle== @name your-code-font @author Karl_255 @namespace github.com/Karl255 @version 1.1.0 @description Enforce your favorite monospace (I hope) code font across the web. @homepageURL https://github.com/Karl255/UserCSS-Styles @supportURL https://github.com/Karl255/UserCSS-Styles/issues @updateURL https://raw.githubusercontent.com/Karl255/UserCSS-Styles/master/your-code-font/your-code-font.user.css @license unlicense @preprocessor default @var text code-font "Code font" monospace ==/UserStyle== */ /* these can appear on any website */ pre, code, .code, .bold_code, /* found in erlang docs */ .hljs, .CodeMirror, .sourceblock > * > * { font-family: var(--code-font) !important; } @-moz-document domain("github.com") { .blob-code-inner, .blob-num { font-family: var(--code-font) !important; } } @-moz-document domain("gitlab.com") { :root { --font-family-monospace: var(--code-font) !important; } }