content.css 991 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*global*/
  2. html, body {
  3. padding: 0 !important; margin: 0 !important;
  4. width: auto !important; max-width: 100% !important;
  5. }
  6. /*github theme*/
  7. .markdown-body {
  8. overflow: auto;
  9. min-width: 888px;
  10. max-width: 888px;
  11. background-color: #fff;
  12. border: 1px solid #ddd;
  13. padding: 45px;
  14. margin: 20px auto;
  15. }
  16. .markdown-body #html>*:first-child {
  17. margin-top: 0 !important;
  18. }
  19. .markdown-body #html>*:last-child {
  20. margin-bottom: 0 !important;
  21. }
  22. .markdown-body img {
  23. background-color: transparent;
  24. }
  25. /*all other themes*/
  26. .markdown-theme {
  27. max-width: 100% !important;
  28. padding: 20px !important;
  29. margin: auto !important;
  30. }
  31. @media (max-width: 767px) {
  32. .markdown-theme { width: auto !important; }
  33. }
  34. @media (min-width: 768px) and (max-width: 992px) {
  35. .markdown-theme { width: 713px !important; }
  36. }
  37. @media (min-width: 992px) and (max-width: 1200px) {
  38. .markdown-theme { width: 937px !important; }
  39. }
  40. @media (min-width: 1200px) {
  41. .markdown-theme { width: 1145px !important; }
  42. }