content.css 1.7 KB

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