Hacker News new | past | comments | ask | show | jobs | submit login

I can't read the text on this site. Does anyone know a way to permanently disable "font-weight: <=300" for all websites in firefox without resorting to anything as heavy as Stylish, or will I need to write my own extension? There's a minimum font size preference, but not a minimum weight.



I'm not sure you could do exactly that even with Stylish as there's no way in CSS to match elements based on their style - you could define a global font-weight just by adding this to "chrome/userContent.css" in your profile directory, but that would override every font-weight on every element:

* { font-weight: 400 !important; }


The text has pretty bad contrast.


Creator here. What browser/OS are you using? You can always add a `font-weight: 500 !important` to the <body> tag.


Ubuntu 16.04 + Firefox 57, Ubuntu 16.04 + Chromium 62.0.3202.89, macOS Sierra + Firefox 57. Inaccessible to me on all - the font is too thin for me to read. I can't scale the font size up high enough either as the layout breaks. I used the `font-weight` hack initially, but after I clicked a couple of internal links that reset the override, I gave up.


Something like this should work with the font-weight override.

https://superuser.com/questions/318912/how-to-override-the-c...




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: