content.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 auto;
  15. max-width: 900px;
  16. }
  17. table {
  18. border-collapse: collapse;
  19. }
  20. table th,
  21. table td {
  22. border: 1px solid #ccc;
  23. padding: 0.4rem;
  24. }
  25. figure {
  26. display: table;
  27. margin: 1rem auto;
  28. }
  29. figure figcaption {
  30. color: #999;
  31. display: block;
  32. margin-top: 0.25rem;
  33. text-align: center;
  34. }
  35. hr {
  36. border-color: #ccc;
  37. border-style: solid;
  38. border-width: 1px 0 0 0;
  39. }
  40. code {
  41. background-color: #e8e8e8;
  42. border-radius: 3px;
  43. padding: 0.1rem 0.2rem;
  44. }
  45. .mce-content-body:not([dir=rtl]) blockquote {
  46. border-left: 2px solid #ccc;
  47. margin-left: 1.5rem;
  48. padding-left: 1rem;
  49. }
  50. .mce-content-body[dir=rtl] blockquote {
  51. border-right: 2px solid #ccc;
  52. margin-right: 1.5rem;
  53. padding-right: 1rem;
  54. }