adds styles in line with color palette to the site
DRYs out some of the annotations code, fixes a typo in the document helper.