@page {
  margin: 1in 0.6in 0.6in;
  orphans: 4;
  widows: 3;
}

body {
  font-family: Georgia;
  font-size: 13px;
  line-height: 1.5;
}

footer, header, #toc, #block-tabs, .edit-button {
  display: none;
}

h2, h3, h4 {
  break-after: avoid-page;
  page-break-after: avoid;
  page-break-inside: avoid;
}

h2::after {
  content: "Dries Buytaert - dries@buytaert.net - https://dri.es";
  display: block;
  padding-top: 1.2em;
  font-size: 60%;
}

p, li, pre, figure, blockquote, div {
  page-break-inside: avoid;
}

p a[href]:after {
  content: " [" attr(href) "]";
  color: #444;
}

th {
  color: #000 !important;
  border-bottom: 2px solid black;
}

td {
  border-bottom: 1px dotted black;
}
