add css and adjust layout