content.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. html {
  8. height: 100%;
  9. }
  10. body {
  11. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  12. height: calc(100% - 2rem);
  13. line-height: 1.4;
  14. margin: 1rem;
  15. }
  16. table {
  17. border-collapse: collapse;
  18. }
  19. table th,
  20. table td {
  21. border: 1px solid #ccc;
  22. padding: 0.4rem;
  23. }
  24. figure {
  25. display: table;
  26. margin: 1rem auto;
  27. }
  28. figure figcaption {
  29. color: #999;
  30. display: block;
  31. margin-top: 0.25rem;
  32. text-align: center;
  33. }
  34. hr {
  35. border-color: #ccc;
  36. border-style: solid;
  37. border-width: 1px 0 0 0;
  38. }
  39. code {
  40. background-color: #e8e8e8;
  41. border-radius: 3px;
  42. padding: 0.1rem 0.2rem;
  43. }
  44. .mce-content-body:not([dir=rtl]) blockquote {
  45. border-left: 2px solid #ccc;
  46. margin-left: 1.5rem;
  47. padding-left: 1rem;
  48. }
  49. .mce-content-body[dir=rtl] blockquote {
  50. border-right: 2px solid #ccc;
  51. margin-right: 1.5rem;
  52. padding-right: 1rem;
  53. }