content.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. @media screen {
  10. html {
  11. background: #f4f4f4;
  12. min-height: 100%;
  13. }
  14. }
  15. body {
  16. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  17. }
  18. @media screen {
  19. body {
  20. background-color: #fff;
  21. box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  22. box-sizing: border-box;
  23. margin: 1rem auto 0;
  24. max-width: 820px;
  25. min-height: calc(100vh - 1rem);
  26. padding: 4rem 6rem 6rem 6rem;
  27. }
  28. }
  29. table {
  30. border-collapse: collapse;
  31. }
  32. /* Apply a default padding if legacy cellpadding attribute is missing */
  33. table:not([cellpadding]) th,
  34. table:not([cellpadding]) td {
  35. padding: 0.4rem;
  36. }
  37. /* Set default table styles if a table has a positive border attribute
  38. and no inline css */
  39. table[border]:not([border="0"]):not([style*="border-width"]) th,
  40. table[border]:not([border="0"]):not([style*="border-width"]) td {
  41. border-width: 1px;
  42. }
  43. /* Set default table styles if a table has a positive border attribute
  44. and no inline css */
  45. table[border]:not([border="0"]):not([style*="border-style"]) th,
  46. table[border]:not([border="0"]):not([style*="border-style"]) td {
  47. border-style: solid;
  48. }
  49. /* Set default table styles if a table has a positive border attribute
  50. and no inline css */
  51. table[border]:not([border="0"]):not([style*="border-color"]) th,
  52. table[border]:not([border="0"]):not([style*="border-color"]) td {
  53. border-color: #ccc;
  54. }
  55. figure figcaption {
  56. color: #999;
  57. margin-top: 0.25rem;
  58. text-align: center;
  59. }
  60. hr {
  61. border-color: #ccc;
  62. border-style: solid;
  63. border-width: 1px 0 0 0;
  64. }
  65. .mce-content-body:not([dir=rtl]) blockquote {
  66. border-left: 2px solid #ccc;
  67. margin-left: 1.5rem;
  68. padding-left: 1rem;
  69. }
  70. .mce-content-body[dir=rtl] blockquote {
  71. border-right: 2px solid #ccc;
  72. margin-right: 1.5rem;
  73. padding-right: 1rem;
  74. }