title: how to load Css in pdf using wicked_pdf
body: <p>For my rails 4 app i want to convert html and Css into a pdf file.
  i use the wkhtmltopdf and wicked_pdf gem
  if i use the wicked helper it doesn't show the css but it render only the text</p>
  
  <p>in my controller i have:</p>
  
  <pre><code>respond_to do |format|
        format.html
        format.pdf do
          render :pdf =&gt; "#{@card.name}",
              :template =&gt; 'cards/show.html.slim',
              :page_size =&gt; "A4",
              :disposition =&gt; 'attachment'
  </code></pre>
  
  <p>And in the show.html.slim</p>
  
  <pre><code>    = link_to "Download PDF", :action =&gt; "show", :format =&gt; :pdf
  </code></pre>
  
  <p>aplication.html.erb</p>
  
  <pre><code>&lt;%= wicked_pdf_stylesheet_link_tag "pdf" -%&gt;
  &lt;%= wicked_pdf_stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" =&gt; true %&gt;
  &lt;%= wicked_pdf_javascript_include_tag "application", "data-turbolinks-track" =&gt; true %&gt;
  &lt;link rel="stylesheet" href="//code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css"&gt;
  &lt;script src="//code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;
  &lt;script src="//code.jquery.com/ui/1.11.2/jquery-ui.js"&gt;&lt;/script&gt;
  </code></pre>