diff --git a/src/public/stylesheets/print.css b/src/public/stylesheets/print.css index 2ff884440..3667e2c60 100644 --- a/src/public/stylesheets/print.css +++ b/src/public/stylesheets/print.css @@ -213,4 +213,18 @@ span[style] { .note-detail-printable .footnote-reference a, .footnote-back-link a { text-decoration: none; - } \ No newline at end of file + } + +/* + * Widows and orphans + */ +p, +blockquote { + widows: 4; + orphans: 4; +} + +pre > code { + widows: 6; + orphans: 6; +} \ No newline at end of file