title: Make Sphinx singlehtml printer friendly
body: <p>I have some documentation that has a requirement that is must be printable. We've been using the sphinx latexpdf targets to do this, but we find ourselves spending a lot of time messing around with latex parameters and trying to get formatting right, especially with table objects. It's much easier to maintain the necessary styles in CSS, and the HTML looks great out of the box. So, I'm trying to find a way to get the singlehtml file to print nicely.</p>
  <p>I know that there are ways to make an HTML file printer friendly, but I can't seem to get it to work with Sphinx. For example, I tried to add a page break before each 1st level title. I added the CSS for h1, but it isn't printing with the page break.</p>
  <p>I also need to get headers and footers on each page to display certain security markings. I know there are several methods for doing this in HTML, between CSS and table objects, I can make it work in a raw HTML file. I'm just trying to get sphinx to generate the right html objects. Can I put all sphinx content into a &quot;body&quot; table cell? (referencing the &quot;Ultimate&quot; method here: <a href="https://medium.com/@Idan_Co/the-ultimate-print-html-template-with-header-footer-568f415f6d2a" rel="nofollow noreferrer">https://medium.com/@Idan_Co/the-ultimate-print-html-template-with-header-footer-568f415f6d2a</a>)</p>
  <p>Has anyone been able to modify the way that the sphinx documentation prints? Are there any examples of how to do the operations mentioned above in Sphinx?</p>
  <p>Thank you.</p>