content.css 2.1 KB

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