print.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. @media print {
  2. * {
  3. background-color: transparent;
  4. color: #000; /* Black prints faster: h5bp.com/s */
  5. box-shadow: none;
  6. text-shadow: none;
  7. }
  8. body {
  9. padding-top: 0;
  10. }
  11. a,
  12. a:visited {
  13. text-decoration: underline;
  14. }
  15. pre,
  16. blockquote {
  17. border: 1px solid #999;
  18. page-break-inside: avoid;
  19. }
  20. thead {
  21. display: table-header-group; /* h5bp.com/t */
  22. }
  23. tr,
  24. img {
  25. page-break-inside: avoid;
  26. }
  27. img {
  28. max-width: 100%;
  29. }
  30. p,
  31. h2,
  32. h3 {
  33. orphans: 3;
  34. widows: 3;
  35. }
  36. h2,
  37. h3 {
  38. page-break-after: avoid;
  39. }
  40. a,
  41. .link {
  42. color: #000;
  43. text-decoration: underline;
  44. }
  45. .button,
  46. .button--primary {
  47. background: none;
  48. }
  49. .messages {
  50. border-width: 1px;
  51. border-color: #999;
  52. }
  53. .is-collapse-enabled .tabs {
  54. max-height: 999em;
  55. }
  56. .is-horizontal .tabs__tab {
  57. margin: 0 4px;
  58. border-radius: 4px 4px 0 0;
  59. }
  60. .dropbutton-multiple .dropbutton .secondary-action {
  61. display: block;
  62. }
  63. .js .dropbutton-widget,
  64. .js td .dropbutton-widget /* Splitbuttons */ {
  65. position: relative;
  66. }
  67. .js .dropbutton .dropbutton-toggle {
  68. display: none;
  69. }
  70. .js .dropbutton-multiple .dropbutton-widget {
  71. background: none;
  72. border-radius: 4px;
  73. }
  74. .form-autocomplete,
  75. .form-text,
  76. .form-tel,
  77. .form-email,
  78. .form-url,
  79. .form-search,
  80. .form-number,
  81. .form-color,
  82. .form-file,
  83. .form-textarea,
  84. .form-select {
  85. border-width: 1px;
  86. }
  87. }