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