cleaned up CSS, poached the template CSS for the palette boxes