front page and ri page styling