Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ |
| 2 | |
| 3 | // ========================================================================== |
| 4 | // Print styles. |
| 5 | // Inlined to avoid the additional HTTP request: h5bp.com/r |
| 6 | // ========================================================================== |
| 7 | |
| 8 | @media print { |
| 9 | *, |
| 10 | *:before, |
| 11 | *:after { |
| 12 | background: transparent !important; |
| 13 | color: #000 !important; // Black prints faster: h5bp.com/s |
| 14 | box-shadow: none !important; |
| 15 | text-shadow: none !important; |
| 16 | } |
| 17 | |
| 18 | a, |
| 19 | a:visited { |
| 20 | text-decoration: underline; |
| 21 | } |
| 22 | |
| 23 | a[href]:after { |
| 24 | content: " (" attr(href) ")"; |
| 25 | } |
| 26 | |
| 27 | abbr[title]:after { |
| 28 | content: " (" attr(title) ")"; |
| 29 | } |
| 30 | |
| 31 | // Don't show links that are fragment identifiers, |
| 32 | // or use the `javascript:` pseudo protocol |
| 33 | a[href^="#"]:after, |
| 34 | a[href^="javascript:"]:after { |
| 35 | content: ""; |
| 36 | } |
| 37 | |
| 38 | pre, |
| 39 | blockquote { |
| 40 | border: 1px solid #999; |
| 41 | page-break-inside: avoid; |
| 42 | } |
| 43 | |
| 44 | thead { |
| 45 | display: table-header-group; // h5bp.com/t |
| 46 | } |
| 47 | |
| 48 | tr, |
| 49 | img { |
| 50 | page-break-inside: avoid; |
| 51 | } |
| 52 | |
| 53 | img { |
| 54 | max-width: 100% !important; |
| 55 | } |
| 56 | |
| 57 | p, |
| 58 | h2, |
| 59 | h3 { |
| 60 | orphans: 3; |
| 61 | widows: 3; |
| 62 | } |
| 63 | |
| 64 | h2, |
| 65 | h3 { |
| 66 | page-break-after: avoid; |
| 67 | } |
| 68 | |
| 69 | // Bootstrap specific changes start |
| 70 | |
| 71 | // Bootstrap components |
| 72 | .navbar { |
| 73 | display: none; |
| 74 | } |
| 75 | .btn, |
| 76 | .dropup > .btn { |
| 77 | > .caret { |
| 78 | border-top-color: #000 !important; |
| 79 | } |
| 80 | } |
| 81 | .label { |
| 82 | border: 1px solid #000; |
| 83 | } |
| 84 | |
| 85 | .table { |
| 86 | border-collapse: collapse !important; |
| 87 | |
| 88 | td, |
| 89 | th { |
| 90 | background-color: #fff !important; |
| 91 | } |
| 92 | } |
| 93 | .table-bordered { |
| 94 | th, |
| 95 | td { |
| 96 | border: 1px solid #ddd !important; |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | // Bootstrap specific changes end |
| 101 | } |