adds style to the document form page