splitting apart styling to allow use in content script extensions