Thai refactor css for layout