info@53: // info@53: // Basic print styles info@53: // -------------------------------------------------- info@53: // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css info@53: info@53: @media print { info@53: info@53: * { info@53: text-shadow: none !important; info@53: color: #000 !important; // Black prints faster: h5bp.com/s info@53: background: transparent !important; info@53: box-shadow: none !important; info@53: } info@53: info@53: a, info@53: a:visited { info@53: text-decoration: underline; info@53: } info@53: info@53: a[href]:after { info@53: content: " (" attr(href) ")"; info@53: } info@53: info@53: abbr[title]:after { info@53: content: " (" attr(title) ")"; info@53: } info@53: info@53: // Don't show links for images, or javascript/internal links info@53: a[href^="javascript:"]:after, info@53: a[href^="#"]:after { info@53: content: ""; info@53: } info@53: info@53: pre, info@53: blockquote { info@53: border: 1px solid #999; info@53: page-break-inside: avoid; info@53: } info@53: info@53: thead { info@53: display: table-header-group; // h5bp.com/t info@53: } info@53: info@53: tr, info@53: img { info@53: page-break-inside: avoid; info@53: } info@53: info@53: img { info@53: max-width: 100% !important; info@53: } info@53: info@53: @page { info@53: margin: 2cm .5cm; info@53: } info@53: info@53: p, info@53: h2, info@53: h3 { info@53: orphans: 3; info@53: widows: 3; info@53: } info@53: info@53: h2, info@53: h3 { info@53: page-break-after: avoid; info@53: } info@53: info@53: // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245 info@53: // Once fixed, we can just straight up remove this. info@53: select { info@53: background: #fff !important; info@53: } info@53: info@53: // Bootstrap components info@53: .navbar { info@53: display: none; info@53: } info@53: .table { info@53: td, info@53: th { info@53: background-color: #fff !important; info@53: } info@53: } info@53: .btn, info@53: .dropup > .btn { info@53: > .caret { info@53: border-top-color: #000 !important; info@53: } info@53: } info@53: .label { info@53: border: 1px solid #000; info@53: } info@53: info@53: .table { info@53: border-collapse: collapse !important; info@53: } info@53: .table-bordered { info@53: th, info@53: td { info@53: border: 1px solid #ddd !important; info@53: } info@53: } info@53: info@53: }