content.css

  1. 7.x modules/content/css/content.css
  2. 7.x modules/tinymce/lib/tinymce/js/tinymce/skins/content/writer/content.css
  3. 7.x modules/tinymce/lib/tinymce/js/tinymce/skins/content/dark/content.css
  4. 7.x modules/tinymce/lib/tinymce/js/tinymce/skins/content/document/content.css
  5. 7.x modules/tinymce/lib/tinymce/js/tinymce/skins/content/default/content.css
  6. 7.x modules/tinymce/lib/tinymce/js/tinymce/skins/ui/oxide/content.css
  7. 7.x modules/tinymce/lib/tinymce/js/tinymce/skins/ui/oxide-dark/content.css
  8. 6.x modules/content/css/content.css
  9. 4.x modules/content/css/content.css
  10. 4.x modules/tinymce/inc/tiny_mce/plugins/spellchecker/css/content.css
  11. 4.x modules/tinymce/inc/tiny_mce/themes/simple/skins/default/content.css
  12. 4.x modules/tinymce/inc/tiny_mce/themes/simple/skins/o2k7/content.css
  13. 4.x modules/tinymce/inc/tiny_mce/themes/advanced/skins/default/content.css
  14. 4.x modules/tinymce/inc/tiny_mce/themes/advanced/skins/highcontrast/content.css
  15. 4.x modules/tinymce/inc/tiny_mce/themes/advanced/skins/o2k7/content.css
  16. 5.x modules/content/css/content.css
  17. 5.x modules/tinymce/inc/tiny_mce/plugins/spellchecker/css/content.css
  18. 5.x modules/tinymce/inc/tiny_mce/themes/advanced/skins/o2k7/content.css
  19. 5.x modules/tinymce/inc/tiny_mce/themes/advanced/skins/highcontrast/content.css
  20. 5.x modules/tinymce/inc/tiny_mce/themes/advanced/skins/default/content.css
  21. 5.x modules/tinymce/inc/tiny_mce/themes/simple/skins/o2k7/content.css
  22. 5.x modules/tinymce/inc/tiny_mce/themes/simple/skins/default/content.css
/**
 * Copyright (c) Tiny Technologies, Inc. All rights reserved.
 * Licensed under the LGPL or a commercial license.
 * For LGPL see License.txt in the project root for license information.
 * For commercial licenses see https://www.tiny.cloud/
 */
@media screen {
  html {
    background: #f4f4f4;
    min-height: 100%;
  }
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
@media screen {
  body {
    background-color: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    margin: 1rem auto 0;
    max-width: 820px;
    min-height: calc(100vh - 1rem);
    padding: 4rem 6rem 6rem 6rem;
  }
}
table {
  border-collapse: collapse;
}
/* Apply a default padding if legacy cellpadding attribute is missing */
table:not([cellpadding]) th,
table:not([cellpadding]) td {
  padding: 0.4rem;
}
/* Set default table styles if a table has a positive border attribute
   and no inline css */
table[border]:not([border="0"]):not([style*="border-width"]) th,
table[border]:not([border="0"]):not([style*="border-width"]) td {
  border-width: 1px;
}
/* Set default table styles if a table has a positive border attribute
   and no inline css */
table[border]:not([border="0"]):not([style*="border-style"]) th,
table[border]:not([border="0"]):not([style*="border-style"]) td {
  border-style: solid;
}
/* Set default table styles if a table has a positive border attribute
   and no inline css */
table[border]:not([border="0"]):not([style*="border-color"]) th,
table[border]:not([border="0"]):not([style*="border-color"]) td {
  border-color: #ccc;
}
figure figcaption {
  color: #999;
  margin-top: 0.25rem;
  text-align: center;
}
hr {
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 0 0 0;
}
.mce-content-body:not([dir=rtl]) blockquote {
  border-left: 2px solid #ccc;
  margin-left: 1.5rem;
  padding-left: 1rem;
}
.mce-content-body[dir=rtl] blockquote {
  border-right: 2px solid #ccc;
  margin-right: 1.5rem;
  padding-right: 1rem;
}

File

modules/tinymce/lib/tinymce/js/tinymce/skins/content/document/content.css
View source
  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. }