styling front and search pages