Start moving styling to 'external' style
Move style to style tag

Limit inline styling to minimum
Improve display

* minimal length of short rev is 1 not 0
Fix rev when getting doc
Cleanup