midify css style and change layout