pulled inline css out into css file;closes#1242