Extract inlined styles

Fixes #2 
Updated! :)