Scope styles to resources.