contents.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /*
  2. Copyright (c) 2003-2017, 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: 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. border: solid 1px #ccc;
  98. border-radius: 2px;
  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. }