Fix some hardcode url in templates. Add css to weasyprint._write_pdf()