You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
1.6 KiB

  1. //
  2. // Basic print styles
  3. // --------------------------------------------------
  4. // Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css
  5. @media print {
  6. * {
  7. text-shadow: none !important;
  8. color: #000 !important; // Black prints faster: h5bp.com/s
  9. background: transparent !important;
  10. box-shadow: none !important;
  11. }
  12. a,
  13. a:visited {
  14. text-decoration: underline;
  15. }
  16. a[href]:after {
  17. content: " (" attr(href) ")";
  18. }
  19. abbr[title]:after {
  20. content: " (" attr(title) ")";
  21. }
  22. // Don't show links for images, or javascript/internal links
  23. a[href^="javascript:"]:after,
  24. a[href^="#"]:after {
  25. content: "";
  26. }
  27. pre,
  28. blockquote {
  29. border: 1px solid #999;
  30. page-break-inside: avoid;
  31. }
  32. thead {
  33. display: table-header-group; // h5bp.com/t
  34. }
  35. tr,
  36. img {
  37. page-break-inside: avoid;
  38. }
  39. img {
  40. max-width: 100% !important;
  41. }
  42. p,
  43. h2,
  44. h3 {
  45. orphans: 3;
  46. widows: 3;
  47. }
  48. h2,
  49. h3 {
  50. page-break-after: avoid;
  51. }
  52. // Chrome (OSX) fix for https://github.com/twbs/bootstrap/issues/11245
  53. // Once fixed, we can just straight up remove this.
  54. select {
  55. background: #fff !important;
  56. }
  57. // Bootstrap components
  58. .navbar {
  59. display: none;
  60. }
  61. .table {
  62. td,
  63. th {
  64. background-color: #fff !important;
  65. }
  66. }
  67. .btn,
  68. .dropup > .btn {
  69. > .caret {
  70. border-top-color: #000 !important;
  71. }
  72. }
  73. .label {
  74. border: 1px solid #000;
  75. }
  76. .table {
  77. border-collapse: collapse !important;
  78. }
  79. .table-bordered {
  80. th,
  81. td {
  82. border: 1px solid #ddd !important;
  83. }
  84. }
  85. }