[qutebrowser] Add separate handler for stuff that doesn't want to be monospaced
This commit is contained in:
parent
fc07f3f68a
commit
f34f5ae151
|
@ -0,0 +1,18 @@
|
|||
// ==UserScript==
|
||||
// @name MonoAsFuck
|
||||
// @namespace https://github.com/bascht
|
||||
// @description Adjust a few non-mono pages that I like to read
|
||||
// @match http://68k.news/*
|
||||
// @match https://unfeeder.com/*
|
||||
// @run-at document-start
|
||||
// @version 1
|
||||
// @author Bascht
|
||||
// ==/UserScript==
|
||||
|
||||
(function IIFE() {
|
||||
'use strict';
|
||||
|
||||
document.addEventListener('readystatechange', function onReadyStateChange() {
|
||||
document.body.classList.add("mono-as-fuck");
|
||||
});
|
||||
})();
|
|
@ -1,6 +1,7 @@
|
|||
a.result__a, div.result__extras, div.result__snippet, /* DuckDuckGo */
|
||||
body.env-production.page-responsive, body.env-production.page-responsive *, /* GitHub */
|
||||
body.gl-platform-linux, body.gl-platform-linux * /* GitLab */
|
||||
body.gl-platform-linux, body.gl-platform-linux *, /* GitLab */
|
||||
body.mono-as-fuck /* Slay all other other serif devils. */
|
||||
{
|
||||
font-family: "JetBrains Mono" !important;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue