Re: Mechanism Disclaimer

Hi Laura,

I think that is due to the cascade, I assume Stylish appends a CSS file to the page, therefore any inline style still takes precedence.

That is why I was saying that a script or extension based solution is needed. I just knocked up this test page based on the previous ones for linearisation:
https://alastairc.ac/tests/layouts/pixels-fonts.html


That has inline font-family styles with !important on the “Panels of content” section, which blocks Stylish. (I tried the ‘Comic Sans everywhere’ style in Firefox.)

But, if you select the “Make Comic Sans” link in the “Secondary content area”, everything becomes Comic sans.
That is because it essentially adds or replaces inline styles for font-family, which take precedence.

Also, I’ve created a github repo for these bookmarklets (open licensed), and Wayne has said he can help with recruiting someone to test with and possibly work on them… I’ll try to.
https://github.com/alastc/adaptation-scripts


Cheers,

-Alastair

Received on Friday, 20 January 2017 10:27:57 UTC