update default css and fix error in index template