contents.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /*
  2. Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
  3. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  4. */
  5. body
  6. {
  7. /* Font */
  8. /* Emoji fonts are added to visualise them nicely in Internet Explorer. */
  9. font-family: sans-serif, Arial, Verdana, "Trebuchet MS", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  10. font-size: 12px;
  11. /* Text color */
  12. color: #333;
  13. /* Remove the background color to make it transparent. */
  14. background-color: #fff;
  15. margin: 20px;
  16. }
  17. .cke_editable
  18. {
  19. font-size: 13px;
  20. line-height: 1.6;
  21. /* Fix for missing scrollbars with RTL texts. (#10488) */
  22. word-wrap: break-word;
  23. }
  24. blockquote
  25. {
  26. font-style: italic;
  27. font-family: Georgia, Times, "Times New Roman", serif;
  28. padding: 2px 0;
  29. border-style: solid;
  30. border-color: #ccc;
  31. border-width: 0;
  32. }
  33. .cke_contents_ltr blockquote
  34. {
  35. padding-left: 20px;
  36. padding-right: 8px;
  37. border-left-width: 5px;
  38. }
  39. .cke_contents_rtl blockquote
  40. {
  41. padding-left: 8px;
  42. padding-right: 20px;
  43. border-right-width: 5px;
  44. }
  45. a
  46. {
  47. color: #0782C1;
  48. }
  49. ol,ul,dl
  50. {
  51. /* IE7: reset rtl list margin. (#7334) */
  52. *margin-right: 0px;
  53. /* Preserved spaces for list items with text direction different than the list. (#6249,#8049)*/
  54. padding: 0 40px;
  55. }
  56. h1,h2,h3,h4,h5,h6
  57. {
  58. font-weight: normal;
  59. line-height: 1.2;
  60. }
  61. hr
  62. {
  63. border: 0px;
  64. border-top: 1px solid #ccc;
  65. }
  66. img.right
  67. {
  68. border: 1px solid #ccc;
  69. float: right;
  70. margin-left: 15px;
  71. padding: 5px;
  72. }
  73. img.left
  74. {
  75. border: 1px solid #ccc;
  76. float: left;
  77. margin-right: 15px;
  78. padding: 5px;
  79. }
  80. pre
  81. {
  82. white-space: pre-wrap; /* CSS 2.1 */
  83. word-wrap: break-word; /* IE7 */
  84. -moz-tab-size: 4;
  85. tab-size: 4;
  86. }
  87. .marker
  88. {
  89. background-color: Yellow;
  90. }
  91. span[lang]
  92. {
  93. font-style: italic;
  94. }
  95. figure
  96. {
  97. text-align: center;
  98. outline: solid 1px #ccc;
  99. background: rgba(0,0,0,0.05);
  100. padding: 10px;
  101. margin: 10px 20px;
  102. display: inline-block;
  103. }
  104. figure > figcaption
  105. {
  106. text-align: center;
  107. display: block; /* For IE8 */
  108. }
  109. a > img {
  110. padding: 1px;
  111. margin: 1px;
  112. border: none;
  113. outline: 1px solid #0782C1;
  114. }
  115. /* Widget Styles */
  116. .code-featured
  117. {
  118. border: 5px solid red;
  119. }
  120. .math-featured
  121. {
  122. padding: 20px;
  123. box-shadow: 0 0 2px rgba(200, 0, 0, 1);
  124. background-color: rgba(255, 0, 0, 0.05);
  125. margin: 10px;
  126. }
  127. .image-clean
  128. {
  129. border: 0;
  130. background: none;
  131. padding: 0;
  132. }
  133. .image-clean > figcaption
  134. {
  135. font-size: .9em;
  136. text-align: right;
  137. }
  138. .image-grayscale
  139. {
  140. background-color: white;
  141. color: #666;
  142. }
  143. .image-grayscale img, img.image-grayscale
  144. {
  145. filter: grayscale(100%);
  146. }
  147. .embed-240p
  148. {
  149. max-width: 426px;
  150. max-height: 240px;
  151. margin:0 auto;
  152. }
  153. .embed-360p
  154. {
  155. max-width: 640px;
  156. max-height: 360px;
  157. margin:0 auto;
  158. }
  159. .embed-480p
  160. {
  161. max-width: 854px;
  162. max-height: 480px;
  163. margin:0 auto;
  164. }
  165. .embed-720p
  166. {
  167. max-width: 1280px;
  168. max-height: 720px;
  169. margin:0 auto;
  170. }
  171. .embed-1080p
  172. {
  173. max-width: 1920px;
  174. max-height: 1080px;
  175. margin:0 auto;
  176. }