Improve html style

This is the code by @gw0 from #105 merging recent changes and removing the .*_base blocks.

@gw0 feel free to mergeb back and resume.