print.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*!
  2. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  3. *
  4. * CASCADE FRAMEWORK 1.0
  5. *
  6. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  7. *
  8. *
  9. * Copyright 2013, John Slegers
  10. * Released under the MIT license
  11. * http://jslegers.github.com/cascadeframework/license.html
  12. *
  13. *
  14. * This means you can use Cascade Framework for any project,
  15. * whether commercial or not.
  16. *
  17. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  18. *
  19. *
  20. * Cascade Framework also contains the following goodies,
  21. * which all have the same or similar 'permissive licenses :
  22. *
  23. *
  24. * Includes polyfills by Joshua Bell
  25. * http://www.calormen.com/polyfill/
  26. * Released in public domain
  27. *
  28. *
  29. * Includes Google ExplorerCanvas
  30. * https://code.google.com/p/explorercanvas/
  31. * Released under the Apache 2.0 license
  32. *
  33. *
  34. * Includes Google Prettify
  35. * https://code.google.com/p/google-code-prettify/
  36. * Released under the Apache 2.0 license
  37. *
  38. *
  39. * Includes Yepnope
  40. * http://yepnopejs.com/
  41. * Released under the WTFPL license
  42. *
  43. *
  44. * Includes Modernizr
  45. * http://modernizr.com/
  46. * Released under the MIT license
  47. *
  48. *
  49. * Includes lodash
  50. * http://lodash.com/
  51. * Released under the MIT license
  52. *
  53. *
  54. * Includes jQuery
  55. * http://jquery.com/
  56. * Released under the MIT license
  57. *
  58. *
  59. * Includes jQuery Easing plugin
  60. * http://gsgd.co.uk/sandbox/jquery/easing/
  61. * Released under the BSD license
  62. *
  63. *
  64. * Includes jQuery Flot plugin
  65. * http://www.flotcharts.org/
  66. * Released under the MIT license
  67. *
  68. *
  69. * Includes the Font Awesome webfont
  70. * http://fortawesome.github.com/Font-Awesome/
  71. * Released under the SIL Open Font License
  72. *
  73. *
  74. *
  75. *
  76. *
  77. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  78. *
  79. * Cascade Framework was inspired by many articles and projects
  80. *
  81. * Especially these authors are worth mentioning :
  82. *
  83. * Nicolle Sullivan
  84. * Jonathan Snook
  85. * Chris Coyier
  86. * Eric Meyer
  87. * Nicolas Gallagher
  88. * Paul Irish
  89. * Mark Otto
  90. * Jacob Thornton
  91. *
  92. *
  93. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  94. * Date: 2013-03-15
  95. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  96. */
  97. @media print {
  98. * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; }
  99. a, a:visited { text-decoration: underline; }
  100. a[href]:after { content: " (" attr(href) ")"; }
  101. abbr[title]:after { content: " (" attr(title) ")"; }
  102. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
  103. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  104. thead { display: table-header-group; }
  105. tr, img { page-break-inside: avoid; }
  106. img { max-width: 100% !important; }
  107. @page { margin: 0.5cm; }
  108. p, h2, h3 { orphans: 3; widows: 3; }
  109. h2, h3 { page-break-after: avoid; }
  110. }