Refactor style sheet generation
Add cross-browser static styles in theme parser