content.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @media screen {
  2. html {
  3. background: #f4f4f4;
  4. min-height: 100%;
  5. }
  6. }
  7. body {
  8. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  9. }
  10. @media screen {
  11. body {
  12. background-color: #fff;
  13. box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  14. box-sizing: border-box;
  15. margin: 1rem auto 0;
  16. max-width: 820px;
  17. min-height: calc(100vh - 1rem);
  18. padding: 4rem 6rem 6rem 6rem;
  19. }
  20. }
  21. table {
  22. border-collapse: collapse;
  23. }
  24. /* Apply a default padding if legacy cellpadding attribute is missing */
  25. table:not([cellpadding]) th,
  26. table:not([cellpadding]) td {
  27. padding: 0.4rem;
  28. }
  29. /* Set default table styles if a table has a positive border attribute
  30. and no inline css */
  31. table[border]:not([border="0"]):not([style*="border-width"]) th,
  32. table[border]:not([border="0"]):not([style*="border-width"]) td {
  33. border-width: 1px;
  34. }
  35. /* Set default table styles if a table has a positive border attribute
  36. and no inline css */
  37. table[border]:not([border="0"]):not([style*="border-style"]) th,
  38. table[border]:not([border="0"]):not([style*="border-style"]) td {
  39. border-style: solid;
  40. }
  41. /* Set default table styles if a table has a positive border attribute
  42. and no inline css */
  43. table[border]:not([border="0"]):not([style*="border-color"]) th,
  44. table[border]:not([border="0"]):not([style*="border-color"]) td {
  45. border-color: #ccc;
  46. }
  47. figure figcaption {
  48. color: #999;
  49. margin-top: 0.25rem;
  50. text-align: center;
  51. }
  52. hr {
  53. border-color: #ccc;
  54. border-style: solid;
  55. border-width: 1px 0 0 0;
  56. }
  57. .mce-content-body:not([dir=rtl]) blockquote {
  58. border-left: 2px solid #ccc;
  59. margin-left: 1.5rem;
  60. padding-left: 1rem;
  61. }
  62. .mce-content-body[dir=rtl] blockquote {
  63. border-right: 2px solid #ccc;
  64. margin-right: 1.5rem;
  65. padding-right: 1rem;
  66. }