coremedia stylesheet refactoring