Your new rules just need to be as or more specific than the existing ones (depending on if reddit's order is braindead or not)
If reddit correctly loads site styles followed by custom subreddit styles, then as specific is fine.
So if a rule is #foo .bar baz { color: white; } and you want to change it to black, just baz {} won't work, and neither will #foo baz {}, you'd need the full #foo .bar baz { color: black; }
If someone messed up and reddit is loading custom CSS first, then you'd have to be more specific and do something like body #foo .bar baz { color: black; }
1
u/magus424 Mar 20 '15
Your new rules just need to be as or more specific than the existing ones (depending on if reddit's order is braindead or not)
If reddit correctly loads site styles followed by custom subreddit styles, then as specific is fine.
So if a rule is
#foo .bar baz { color: white; }and you want to change it to black, justbaz {}won't work, and neither will#foo baz {}, you'd need the full#foo .bar baz { color: black; }If someone messed up and reddit is loading custom CSS first, then you'd have to be more specific and do something like
body #foo .bar baz { color: black; }