Print stylesheet

Clean pages on paper: hide the menus, show link addresses.

CSS · Print stylesheetIntermediate
@media print {
  nav, aside, footer, .no-print, button { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  h1, h2, h3 { break-after: avoid; }
  img, table, pre { break-inside: avoid; }
  @page { margin: 2cm; }
}
printmedia printlinkshide