Added wicked tag on application.html.erb so that css should apply on generated pdf.