Sane fonts userstyle

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 4942
Joined: 2015-12-09, 15:45
Contact:

Sane fonts userstyle

Unread post by moonbat » 2021-07-26, 08:10

Most websites these days have the retarded mobile focused layout with gigantic fonts and acres of whitespace. This script, meant to work with Stylem, attempts to fix this by reducing the font size so you don't wear out your mousewheel from scrolling. Simply add new domains to it as shown. I've had to add a few separate fixes for a couple of sites.

Code: Select all

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain(msn.com), domain(nytimes.com), domain(spiked-online.com), domain(theregister.com), domain(ubuntupit.com), domain(noemamag.com), domain(theatlantic.com), domain(yahoo.com), domain(areomagazine.com), domain(michaelrectenwald.com), domain(fastcompany.com), domain(forbiddenstories.org) {
	html, body, div, p, #content {
     font-size: 14px;
    }
/* theatlantic*/	
	p[class ^="ArticleParagraph"] {
     font-size: 18px;
    }
/* yahoo*/	
	.caas p {
		font-size: 14px;
	}
/*areomagazine*/
	p[class *="dropcap"] {
     font-size: 14px;
    }
	
}
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Locked