refactors main css and inlines it into index.html