I was surprised by this behavior, but the * selector applies to everything, so you should also look for an application for the parent elements (e.g. body and html tags).
You can fix this by adding body to the selector, for example:
body *:not(.nocolor) { color: red; }
source share