content.css 1.6 KB

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