more styling, card view added on main.html