From 266ac7ac0f72f7f4d45b5b2d65c6c3999b429263 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 27 Apr 2022 16:53:23 +0200 Subject: [PATCH] fix(stylus): add docs.microsoft.com Signed-off-by: Matej Focko --- files/stylus.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/files/stylus.json b/files/stylus.json index 04285d9..9081a6d 100644 --- a/files/stylus.json +++ b/files/stylus.json @@ -133,7 +133,8 @@ "hackerrank.com", "en.cppreference.com", "sentry.io", - "app.element.io" + "app.element.io", + "docs.microsoft.com" ], "regexps": [ "https://(www\\.)fi\\.muni\\.cz/pb071/.*", @@ -211,7 +212,7 @@ "regexps": [".*fi\\.muni\\.cz/~xfocko/.*"] } ], - "sourceCode": "/* ==UserStyle==\n@name pre,code,kbd,var,samp\n@namespace git.mfocko.xyz/mfocko/dotfiles\n@version 1.0.0\n@description Replaces default monospace font on majority of websites\n@author mfocko \n@var select monospace-font \"Font\" [\n \"monospace*\",\n \"BlexMono Nerd Font\",\n \"CaskaydiaCovePL Nerd Font\",\n \"FiraCode Nerd Font\",\n \"Hack Nerd Font\",\n \"Hasklug Nerd Font\",\n \"Inconsolata Nerd Font\",\n \"InputMono Nerd Font\",\n \"InputMonoNarrow Nerd Font\",\n \"InputMonoCondensed Nerd Font\",\n \"InputMonoCompressed Nerd Font\",\n \"Iosevka Term\",\n \"Iosevka Term Extended\",\n \"Iosevka Term Slab\",\n \"Iosevka Term Slab Extended\",\n \"JetBrainsMono Nerd Font\",\n \"RecMonoLinear Nerd Font\",\n \"RobotoMono Nerd Font\",\n \"SauceCodePro Nerd Font\",\n \"SFMono Nerd Font\",\n \"VictorMono Nerd Font\"\n]\n==/UserStyle== */\n@-moz-document domain(\"codewars.com\"),\ndomain(\"kurzy.kpi.fei.tuke.sk\"),\ndomain(\"doc.rust-lang.org\"),\nregexp(\"https://(www\\\\.)fi\\\\.muni\\\\.cz/pb071/.*\"),\nregexp(\".*fi\\\\.muni\\\\.cz/~xfocko/.*\"),\ndomain(\"softwarefactory-project.io\"),\ndomain(\"stackoverflow.com\"),\ndomain(\"pagure.io\"),\ndomain(\"src.fedoraproject.org\"),\ndomain(\"docs.oracle.com\"),\ndomain(\"docs.rs\"),\ndomain(\"livebook.manning.com\"),\ndomain(\"adventofcode.com\"),\ndomain(\"wiki.gentoo.org\"),\ndomain(\"is.muni.cz\"),\ndomain(\"codeforces.com\"),\ndomain(\"leetcode.com\"),\ndomain(\"hackerrank.com\"),\ndomain(\"en.cppreference.com\"),\ndomain(\"sentry.io\"),\ndomain(\"app.element.io\") {\n pre,\n code,\n kbd,\n var,\n samp,\n tt,\n textarea {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"codewars.com\") {\n .CodeMirror,\n .result-type--result,\n .result-type--log .result-type__value {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document regexp(\".*fi\\\\.muni\\\\.cz/~kontr/logs/.*\") {\n * {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"en.cppreference.com\") {\n .mw-geshi,\n .t-lc,\n #wpTextbox1,\n .t-dsc-member-div > div:nth-child(1) {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"hackerrank.com\") {\n *[ style *='monospace'] {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"play.rust-lang.org\") {\n .ace_editor,\n div#output-stdout,\n div#output-stderr {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"docs.oracle.com\") {\n .contentContainer .description dl dd,\n .contentContainer .details dl dd,\n .serializedFormContainer dl dd {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"lounge.mfocko.xyz\"),\ndomain(\"lounge.fi.muni.cz\") {\n body,\n code,\n pre,\n #chat .msg[data-type=\"monospace_block\"] .text,\n .irc-monospace,\n textarea#user-specified-css-input {\n font-family: var(--monospace-font);\n }\n}\n\n@-moz-document domain(\"adventofcode.com\") {\n body {\n font-family: var(--monospace-font);\n }\n}\n\n@-moz-document domain(\"pagure.io\"),\ndomain(\"src.fedoraproject.org\") {\n .d2h-diff-table {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"leetcode.com\") {\n .css-1ubm0bb-Value,\n .container__MmrB .testcase-editor__3Tbb,\n .testcase-table-re,\n .testcase-table-wa,\n .ace_editor,\n .css-2usu9f-Error {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"sentry.io\") {\n .traceback ol.context > li,\n .css-w0gxse .e1qdl66w1,\n .css-1igmgpv .e1qdl66w1 {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"app.element.io\") {\n body,\n .mx_EventTile_content .markdown-body code,\n .mx_EventTile_content .markdown-body pre {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"overleaf.com\") {\n .ace_editor {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document regexp(\".*fi\\\\.muni\\\\.cz/~xfocko/.*\") {\n * {\n font-feature-settings: 'liga', 'calt';\n }\n}", + "sourceCode": "/* ==UserStyle==\n@name pre,code,kbd,var,samp\n@namespace git.mfocko.xyz/mfocko/dotfiles\n@version 1.0.0\n@description Replaces default monospace font on majority of websites\n@author mfocko \n@var select monospace-font \"Font\" [\n \"monospace*\",\n \"BlexMono Nerd Font\",\n \"CaskaydiaCovePL Nerd Font\",\n \"FiraCode Nerd Font\",\n \"Hack Nerd Font\",\n \"Hasklug Nerd Font\",\n \"Inconsolata Nerd Font\",\n \"InputMono Nerd Font\",\n \"InputMonoNarrow Nerd Font\",\n \"InputMonoCondensed Nerd Font\",\n \"InputMonoCompressed Nerd Font\",\n \"Iosevka Term\",\n \"Iosevka Term Extended\",\n \"Iosevka Term Slab\",\n \"Iosevka Term Slab Extended\",\n \"JetBrainsMono Nerd Font\",\n \"RecMonoLinear Nerd Font\",\n \"RobotoMono Nerd Font\",\n \"SauceCodePro Nerd Font\",\n \"SFMono Nerd Font\",\n \"VictorMono Nerd Font\"\n]\n==/UserStyle== */\n@-moz-document domain(\"codewars.com\"),\ndomain(\"kurzy.kpi.fei.tuke.sk\"),\ndomain(\"doc.rust-lang.org\"),\nregexp(\"https://(www\\\\.)fi\\\\.muni\\\\.cz/pb071/.*\"),\nregexp(\".*fi\\\\.muni\\\\.cz/~xfocko/.*\"),\ndomain(\"softwarefactory-project.io\"),\ndomain(\"stackoverflow.com\"),\ndomain(\"pagure.io\"),\ndomain(\"src.fedoraproject.org\"),\ndomain(\"docs.oracle.com\"),\ndomain(\"docs.rs\"),\ndomain(\"livebook.manning.com\"),\ndomain(\"adventofcode.com\"),\ndomain(\"wiki.gentoo.org\"),\ndomain(\"is.muni.cz\"),\ndomain(\"codeforces.com\"),\ndomain(\"leetcode.com\"),\ndomain(\"hackerrank.com\"),\ndomain(\"en.cppreference.com\"),\ndomain(\"sentry.io\"),\ndomain(\"app.element.io\"),\ndomain(\"docs.microsoft.com\") {\n pre,\n code,\n kbd,\n var,\n samp,\n tt,\n textarea {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"codewars.com\") {\n .CodeMirror,\n .result-type--result,\n .result-type--log .result-type__value {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document regexp(\".*fi\\\\.muni\\\\.cz/~kontr/logs/.*\") {\n * {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"en.cppreference.com\") {\n .mw-geshi,\n .t-lc,\n #wpTextbox1,\n .t-dsc-member-div > div:nth-child(1) {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"hackerrank.com\") {\n *[ style *='monospace'] {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"play.rust-lang.org\") {\n .ace_editor,\n div#output-stdout,\n div#output-stderr {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"docs.oracle.com\") {\n .contentContainer .description dl dd,\n .contentContainer .details dl dd,\n .serializedFormContainer dl dd {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"lounge.mfocko.xyz\"),\ndomain(\"lounge.fi.muni.cz\") {\n body,\n code,\n pre,\n #chat .msg[data-type=\"monospace_block\"] .text,\n .irc-monospace,\n textarea#user-specified-css-input {\n font-family: var(--monospace-font);\n }\n}\n\n@-moz-document domain(\"adventofcode.com\") {\n body {\n font-family: var(--monospace-font);\n }\n}\n\n@-moz-document domain(\"pagure.io\"),\ndomain(\"src.fedoraproject.org\") {\n .d2h-diff-table {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"leetcode.com\") {\n .css-1ubm0bb-Value,\n .container__MmrB .testcase-editor__3Tbb,\n .testcase-table-re,\n .testcase-table-wa,\n .ace_editor,\n .css-2usu9f-Error {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"sentry.io\") {\n .traceback ol.context > li,\n .css-w0gxse .e1qdl66w1,\n .css-1igmgpv .e1qdl66w1 {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"app.element.io\") {\n body,\n .mx_EventTile_content .markdown-body code,\n .mx_EventTile_content .markdown-body pre {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document domain(\"overleaf.com\") {\n .ace_editor {\n font-family: var(--monospace-font) !important;\n }\n}\n\n@-moz-document regexp(\".*fi\\\\.muni\\\\.cz/~xfocko/.*\") {\n * {\n font-feature-settings: 'liga', 'calt';\n }\n}", "usercssData": { "name": "pre,code,kbd,var,samp", "namespace": "git.mfocko.xyz/mfocko/dotfiles",