ckeditor-contents.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. /*
  2. Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  3. For licensing, see LICENSE.md or http://ckeditor.com/license
  4. */
  5. body
  6. {
  7. /* Font */
  8. font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
  9. font-size: 13px;
  10. /* Text color */
  11. color: #333;
  12. /* Remove the background color to make it transparent */
  13. background-color: #fff;
  14. margin: 0;
  15. padding: 20px;
  16. position: absolute;
  17. top: 0;
  18. bottom: 0;
  19. left: 0;
  20. right: 0;
  21. }
  22. /* Remove margin-top for the first element */
  23. body > *:first-child {
  24. margin-top: 0;
  25. }
  26. /* If the magic line is the first element, remove margin-top for the next one */
  27. body > .non-realtime:first-child + * {
  28. margin-top: 0;
  29. }
  30. .cke_editable
  31. {
  32. font-size: 16px;
  33. line-height: 1.6;
  34. /* Fix for missing scrollbars with RTL texts. (#10488) */
  35. word-wrap: break-word;
  36. }
  37. blockquote
  38. {
  39. font-style: italic;
  40. font-family: Georgia, Times, "Times New Roman", serif;
  41. padding: 2px 0;
  42. border-style: solid;
  43. border-color: #ccc;
  44. border-width: 0;
  45. }
  46. .cke_contents_ltr blockquote
  47. {
  48. padding-left: 20px;
  49. padding-right: 8px;
  50. border-left-width: 5px;
  51. }
  52. .cke_contents_rtl blockquote
  53. {
  54. padding-left: 8px;
  55. padding-right: 20px;
  56. border-right-width: 5px;
  57. }
  58. a
  59. {
  60. color: #0782C1;
  61. }
  62. ol,ul,dl
  63. {
  64. /* IE7: reset rtl list margin. (#7334) */
  65. *margin-right: 0px;
  66. /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
  67. padding: 0 40px;
  68. }
  69. h1,h2,h3,h4,h5,h6
  70. {
  71. font-weight: normal;
  72. line-height: 1.2;
  73. }
  74. hr
  75. {
  76. border: 0px;
  77. border-top: 1px solid #ccc;
  78. }
  79. img.right
  80. {
  81. border: 1px solid #ccc;
  82. float: right;
  83. margin-left: 15px;
  84. padding: 5px;
  85. }
  86. img.left
  87. {
  88. border: 1px solid #ccc;
  89. float: left;
  90. margin-right: 15px;
  91. padding: 5px;
  92. }
  93. pre
  94. {
  95. white-space: pre-wrap; /* CSS 2.1 */
  96. word-wrap: break-word; /* IE7 */
  97. -moz-tab-size: 4;
  98. tab-size: 4;
  99. }
  100. .marker
  101. {
  102. background-color: Yellow;
  103. }
  104. span[lang]
  105. {
  106. font-style: italic;
  107. }
  108. figure
  109. {
  110. text-align: center;
  111. border: solid 1px #ccc;
  112. border-radius: 2px;
  113. background: rgba(0,0,0,0.05);
  114. padding: 10px;
  115. margin: 10px 20px;
  116. display: inline-block;
  117. }
  118. figure > figcaption
  119. {
  120. text-align: center;
  121. display: block; /* For IE8 */
  122. }
  123. a > img {
  124. padding: 1px;
  125. margin: 1px;
  126. border: none;
  127. outline: 1px solid #0782C1;
  128. }
  129. .cp-cursor-position {
  130. cursor: default;
  131. background-color: red;
  132. background-clip: padding-box;
  133. padding: 0 1px;
  134. border: 2px solid red;
  135. border-right-color: transparent !important;
  136. border-left-color: transparent !important;
  137. margin-left: -3px;
  138. margin-right: -3px;
  139. }
  140. .cp-cursor-position[data-type="start"] {
  141. border-left: none;
  142. border-right-width: 4px;
  143. margin-right: -5px;
  144. margin-left: -1px;
  145. }
  146. .cp-cursor-position[data-type="end"] {
  147. border-right: none;
  148. border-left-width: 4px;
  149. margin-left: -5px;
  150. margin-right: -1px;
  151. }
  152. .cp-cursor-avatar {
  153. display: flex;
  154. align-items: center;
  155. }
  156. .cp-cursor-avatar media-tag {
  157. min-height: 32px;
  158. max-height: 32px;
  159. min-width: 32px;
  160. max-width: 32px;
  161. margin-right: 10px;
  162. }
  163. .cp-cursor-avatar media-tag img {
  164. border-radius: 4px;
  165. max-height: 100%;
  166. max-width: 100%;
  167. }
  168. .cp-link-clicked {
  169. position: absolute;
  170. background: white;
  171. border: 1px solid #333;
  172. border-radius: 5px;
  173. padding: 3px 8px;
  174. display: inline-block;
  175. max-width: 200px;
  176. overflow: hidden;
  177. white-space: nowrap;
  178. text-overflow: ellipsis;
  179. }
  180. .cp-link-clicked a {
  181. cursor: pointer;
  182. }