content.css 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /**
  2. * Copyright (c) Tiny Technologies, Inc. All rights reserved.
  3. * Licensed under the LGPL or a commercial license.
  4. * For LGPL see License.txt in the project root for license information.
  5. * For commercial licenses see https://www.tiny.cloud/
  6. */
  7. body {
  8. background-color: #2f3742;
  9. color: #dfe0e4;
  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. a {
  15. color: #4099ff;
  16. }
  17. table {
  18. border-collapse: collapse;
  19. }
  20. /* Apply a default padding if legacy cellpadding attribute is missing */
  21. table:not([cellpadding]) th,
  22. table:not([cellpadding]) td {
  23. padding: 0.4rem;
  24. }
  25. /* Set default table styles if a table has a positive border attribute
  26. and no inline css */
  27. table[border]:not([border="0"]):not([style*="border-width"]) th,
  28. table[border]:not([border="0"]):not([style*="border-width"]) td {
  29. border-width: 1px;
  30. }
  31. /* Set default table styles if a table has a positive border attribute
  32. and no inline css */
  33. table[border]:not([border="0"]):not([style*="border-style"]) th,
  34. table[border]:not([border="0"]):not([style*="border-style"]) td {
  35. border-style: solid;
  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-color"]) th,
  40. table[border]:not([border="0"]):not([style*="border-color"]) td {
  41. border-color: #6d737b;
  42. }
  43. figure {
  44. display: table;
  45. margin: 1rem auto;
  46. }
  47. figure figcaption {
  48. color: #8a8f97;
  49. display: block;
  50. margin-top: 0.25rem;
  51. text-align: center;
  52. }
  53. hr {
  54. border-color: #6d737b;
  55. border-style: solid;
  56. border-width: 1px 0 0 0;
  57. }
  58. code {
  59. background-color: #6d737b;
  60. border-radius: 3px;
  61. padding: 0.1rem 0.2rem;
  62. }
  63. .mce-content-body:not([dir=rtl]) blockquote {
  64. border-left: 2px solid #6d737b;
  65. margin-left: 1.5rem;
  66. padding-left: 1rem;
  67. }
  68. .mce-content-body[dir=rtl] blockquote {
  69. border-right: 2px solid #6d737b;
  70. margin-right: 1.5rem;
  71. padding-right: 1rem;
  72. }