Page 1 of 1

Sane fonts userstyle

Posted: 2021-07-26, 08:10
by moonbat
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;
    }
	
}