contents.css 2.8 KB

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