print.css 757 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. }