content.css 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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;
  13. }
  14. table {
  15. border-collapse: collapse;
  16. }
  17. /* Apply a default padding if legacy cellpadding attribute is missing */
  18. table:not([cellpadding]) th,
  19. table:not([cellpadding]) td {
  20. padding: 0.4rem;
  21. }
  22. /* Set default table styles if a table has a positive border attribute
  23. and no inline css */
  24. table[border]:not([border="0"]):not([style*="border-width"]) th,
  25. table[border]:not([border="0"]):not([style*="border-width"]) td {
  26. border-width: 1px;
  27. }
  28. /* Set default table styles if a table has a positive border attribute
  29. and no inline css */
  30. table[border]:not([border="0"]):not([style*="border-style"]) th,
  31. table[border]:not([border="0"]):not([style*="border-style"]) td {
  32. border-style: solid;
  33. }
  34. /* Set default table styles if a table has a positive border attribute
  35. and no inline css */
  36. table[border]:not([border="0"]):not([style*="border-color"]) th,
  37. table[border]:not([border="0"]):not([style*="border-color"]) td {
  38. border-color: #ccc;
  39. }
  40. figure {
  41. display: table;
  42. margin: 1rem auto;
  43. }
  44. figure figcaption {
  45. color: #999;
  46. display: block;
  47. margin-top: 0.25rem;
  48. text-align: center;
  49. }
  50. hr {
  51. border-color: #ccc;
  52. border-style: solid;
  53. border-width: 1px 0 0 0;
  54. }
  55. code {
  56. background-color: #e8e8e8;
  57. border-radius: 3px;
  58. padding: 0.1rem 0.2rem;
  59. }
  60. .mce-content-body:not([dir=rtl]) blockquote {
  61. border-left: 2px solid #ccc;
  62. margin-left: 1.5rem;
  63. padding-left: 1rem;
  64. }
  65. .mce-content-body[dir=rtl] blockquote {
  66. border-right: 2px solid #ccc;
  67. margin-right: 1.5rem;
  68. padding-right: 1rem;
  69. }