contents.css 2.7 KB

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