1
0

print.css 757 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #sidebar,
  2. #menu-bar,
  3. .nav-chapters,
  4. .mobile-nav-chapters {
  5. display: none;
  6. }
  7. #page-wrapper.page-wrapper {
  8. transform: none;
  9. margin-left: 0px;
  10. overflow-y: initial;
  11. }
  12. #content {
  13. max-width: none;
  14. margin: 0;
  15. padding: 0;
  16. }
  17. .page {
  18. overflow-y: initial;
  19. }
  20. code {
  21. background-color: #666666;
  22. border-radius: 5px;
  23. /* Force background to be printed in Chrome */
  24. -webkit-print-color-adjust: exact;
  25. }
  26. pre > .buttons {
  27. z-index: 2;
  28. }
  29. a, a:visited, a:active, a:hover {
  30. color: #4183c4;
  31. text-decoration: none;
  32. }
  33. h1, h2, h3, h4, h5, h6 {
  34. page-break-inside: avoid;
  35. page-break-after: avoid;
  36. }
  37. pre, code {
  38. page-break-inside: avoid;
  39. white-space: pre-wrap;
  40. }
  41. .fa {
  42. display: none !important;
  43. }