// ============= // EDGE PRINT // ============= @if $include-print and not $user-mode { /* --------------------- EDGE Print - HTML5 Boilerplate --------------------- */ @include print { * { @if $override-color { color: #000 !important; } box-shadow: none !important; text-shadow: none !important; } a, a:visited { @if $override-color { color: #000 !important; } text-decoration: underline; } a[href]::after { content: " (" attr(href) ")"; } abbr[title]::after { content: " (" attr(title) ")"; } // Don't show links for images, or javascript/internal links .ir a::after, a[href^="javascript:"]::after, a[href^="#"]::after, .button::after { content: ""; } pre, blockquote { page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } @page { margin: 0.5cm; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } // set the page size h-row { min-width: $row-max-width + $column-gutter; h-row { min-width: 0; } } } }