added css style for html and htmlzip output
use try-with-resources with htmlzip and pdf