content.css 2.2 KB

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