Support global css styles

Place a `<style></style>` in the html head and it will be used in the header, body & footer
I also improved the documentation.