content.css 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* This file is bundled with the code from the following third party libraries */
  2. /**
  3. * http://prismjs.com/
  4. * Dracula Theme originally by Zeno Rocha [@zenorocha]
  5. * https://draculatheme.com/
  6. *
  7. * Ported for PrismJS by Albert Vallverdu [@byverdu]
  8. */
  9. body {
  10. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  11. line-height: 1.4;
  12. margin: 1rem auto;
  13. max-width: 900px;
  14. }
  15. table {
  16. border-collapse: collapse;
  17. }
  18. /* Apply a default padding if legacy cellpadding attribute is missing */
  19. table:not([cellpadding]) th,
  20. table:not([cellpadding]) td {
  21. padding: 0.4rem;
  22. }
  23. /* Set default table styles if a table has a positive border attribute
  24. and no inline css */
  25. table[border]:not([border="0"]):not([style*="border-width"]) th,
  26. table[border]:not([border="0"]):not([style*="border-width"]) td {
  27. border-width: 1px;
  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-style"]) th,
  32. table[border]:not([border="0"]):not([style*="border-style"]) td {
  33. border-style: solid;
  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-color"]) th,
  38. table[border]:not([border="0"]):not([style*="border-color"]) td {
  39. border-color: #ccc;
  40. }
  41. figure {
  42. display: table;
  43. margin: 1rem auto;
  44. }
  45. figure figcaption {
  46. color: #999;
  47. display: block;
  48. margin-top: 0.25rem;
  49. text-align: center;
  50. }
  51. hr {
  52. border-color: #ccc;
  53. border-style: solid;
  54. border-width: 1px 0 0 0;
  55. }
  56. code {
  57. background-color: #e8e8e8;
  58. border-radius: 3px;
  59. padding: 0.1rem 0.2rem;
  60. }
  61. .mce-content-body:not([dir=rtl]) blockquote {
  62. border-left: 2px solid #ccc;
  63. margin-left: 1.5rem;
  64. padding-left: 1rem;
  65. }
  66. .mce-content-body[dir=rtl] blockquote {
  67. border-right: 2px solid #ccc;
  68. margin-right: 1.5rem;
  69. padding-right: 1rem;
  70. }