News for hackers. Stuff that matters.
Re:Simple user styles for popular websites by bbrizzi on Wednesday February 27, 2013 @08:20AM (#5292164)
You need to add an "!important" attribute at least for the "display:none;" properties for them to work. Too lazy to make a pull request, sorry ;)
Re:Simple user styles for popular websites by mrpollo on Wednesday February 27, 2013 @04:12PM (#5294954)
I guess it depends on what you are using to add the styles to the site, you can insert a style tag or you can do an extension, for chrome I used Stylebot, for both my styles work fine, if you are planning on adding the styles via link tag the css engine is going to parse them and add them to the bottom of the stack thus having less priority hence the need for the !important attribute on some rules that aren't specific enough.
Re:Simple user styles for popular websites by bbrizzi on Thursday February 28, 2013 @05:56AM (#5298102)
Was using Stylish extension on Firefox. It does seem natural that custom user styles take precedence over "built-in" styles, but it seems like it's not always the case =/
Re:Simple user styles for popular websites by mrpollo on Friday March 01, 2013 @01:05PM (#5305848)
Haven't heard of Stylish, I'll take a look, maybe its inserting a link tag to the html.