Refactor css to only serve selectors to pages that need it