* { background: transparent !important; color: #444; text-shadow: none; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  /*a:after { content: " (" attr(href) ")"; } Handy, but overwhelming. Do this manually for targeted areas */
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  img { page-break-inside: avoid; }

  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
  
  h1 {font-size:18px;font-weight:bold;}
  h2 {font-size:14px;font-weight:bold;}
  h3 {font-size:12px;font-weight:bold;}
  h4 {font-size:11px;font-weight:bold;}
  h5,h6 {font-size:11px;font-weight:bold;color:#666;}