Fix homepage styles and error page layouts