Fixes #734 No stylesheets showing up

Also fixes the indention issues
Merge pull request #792 from JN-Jones/fix-734

Fixes #734 No stylesheets showing up