Break CSS out into stylesheet. Add viewframe