[qutebrowser] Add separate handler for stuff that doesn't want to be monospaced

This commit is contained in:
Sebastian Schulze 2022-01-13 23:52:11 +01:00
parent fc07f3f68a
commit f34f5ae151
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
2 changed files with 20 additions and 1 deletions

View File

@ -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");
});
})();

View File

@ -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;
}