added css and updated html structure

added styles for posts on main page