semi-finished the css layout