adding css and pdf.