1 // scss-lint:disable QualifyingElement
3 // Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
5 // ==========================================================================
7 // Inlined to avoid the additional HTTP request:
8 // http://www.phpied.com/delay-loading-your-print-css/
9 // ==========================================================================
11 @if $enable-print-styles {
18 blockquote::first-letter,
22 blockquote::first-line,
24 // Bootstrap specific; comment out `color` and `background`
25 //color: #000 !important; // Black prints faster:
26 // http://www.sanbeiji.com/archives/953
27 text-shadow: none !important;
28 //background: transparent !important;
29 box-shadow: none !important;
34 text-decoration: underline;
37 // Bootstrap specific; comment the following selector out
39 // content: " (" attr(href) ")";
43 content: " (" attr(title) ")";
46 // Bootstrap specific; comment the following selector out
48 // Don't show links that are fragment identifiers,
49 // or use the `javascript:` pseudo protocol
52 //a[href^="#"]::after,
53 //a[href^="javascript:"]::after {
58 white-space: pre-wrap !important;
62 border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px
63 page-break-inside: avoid;
68 // http://css-discuss.incutio.com/wiki/Printing_Tables
72 display: table-header-group;
77 page-break-inside: avoid;
89 page-break-after: avoid;
92 // Bootstrap specific changes start
94 // Bootstrap components
99 border: $border-width solid #000;
103 border-collapse: collapse !important;
107 background-color: #fff !important;
113 border: 1px solid #ddd !important;
117 // Bootstrap specific changes end