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/
 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.4;
  margin: 1rem auto;
  max-width: 900px;
}
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 {
  display: table;
  margin: 1rem auto;
}
figure figcaption {
  color: #999;
  display: block;
  margin-top: 0.25rem;
  text-align: center;
}
hr {
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 0 0 0;
}
code {
  background-color: #e8e8e8;
  border-radius: 3px;
  padding: 0.1rem 0.2rem;
}
.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/writer/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. body {
  8. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  9. line-height: 1.4;
  10. margin: 1rem auto;
  11. max-width: 900px;
  12. }
  13. table {
  14. border-collapse: collapse;
  15. }
  16. /* Apply a default padding if legacy cellpadding attribute is missing */
  17. table:not([cellpadding]) th,
  18. table:not([cellpadding]) td {
  19. padding: 0.4rem;
  20. }
  21. /* Set default table styles if a table has a positive border attribute
  22. and no inline css */
  23. table[border]:not([border="0"]):not([style*="border-width"]) th,
  24. table[border]:not([border="0"]):not([style*="border-width"]) td {
  25. border-width: 1px;
  26. }
  27. /* Set default table styles if a table has a positive border attribute
  28. and no inline css */
  29. table[border]:not([border="0"]):not([style*="border-style"]) th,
  30. table[border]:not([border="0"]):not([style*="border-style"]) td {
  31. border-style: solid;
  32. }
  33. /* Set default table styles if a table has a positive border attribute
  34. and no inline css */
  35. table[border]:not([border="0"]):not([style*="border-color"]) th,
  36. table[border]:not([border="0"]):not([style*="border-color"]) td {
  37. border-color: #ccc;
  38. }
  39. figure {
  40. display: table;
  41. margin: 1rem auto;
  42. }
  43. figure figcaption {
  44. color: #999;
  45. display: block;
  46. margin-top: 0.25rem;
  47. text-align: center;
  48. }
  49. hr {
  50. border-color: #ccc;
  51. border-style: solid;
  52. border-width: 1px 0 0 0;
  53. }
  54. code {
  55. background-color: #e8e8e8;
  56. border-radius: 3px;
  57. padding: 0.1rem 0.2rem;
  58. }
  59. .mce-content-body:not([dir=rtl]) blockquote {
  60. border-left: 2px solid #ccc;
  61. margin-left: 1.5rem;
  62. padding-left: 1rem;
  63. }
  64. .mce-content-body[dir=rtl] blockquote {
  65. border-right: 2px solid #ccc;
  66. margin-right: 1.5rem;
  67. padding-right: 1rem;
  68. }