You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

176 lines
3.0 KiB

  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. /* Font */
  7. font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
  8. font-size: 12px;
  9. /* Text color */
  10. color: #333;
  11. /* Remove the background color to make it transparent */
  12. background-color: #fff;
  13. margin: 20px;
  14. }
  15. .cke_editable {
  16. font-size: 13px;
  17. line-height: 1.6;
  18. /* Fix for missing scrollbars with RTL texts. (#10488) */
  19. word-wrap: break-word;
  20. }
  21. blockquote {
  22. font-style: italic;
  23. font-family: Georgia, Times, "Times New Roman", serif;
  24. padding: 2px 0;
  25. border-style: solid;
  26. border-color: #ccc;
  27. border-width: 0;
  28. }
  29. .cke_contents_ltr blockquote {
  30. padding-left: 20px;
  31. padding-right: 8px;
  32. border-left-width: 5px;
  33. }
  34. .cke_contents_rtl blockquote {
  35. padding-left: 8px;
  36. padding-right: 20px;
  37. border-right-width: 5px;
  38. }
  39. a {
  40. color: #0782C1;
  41. }
  42. ol, ul, dl {
  43. /* IE7: reset rtl list margin. (#7334) */
  44. *margin-right: 0px;
  45. /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
  46. padding: 0 40px;
  47. }
  48. h1, h2, h3, h4, h5, h6 {
  49. font-weight: normal;
  50. line-height: 1.2;
  51. }
  52. hr {
  53. border: 0px;
  54. border-top: 1px solid #ccc;
  55. }
  56. img.right {
  57. border: 1px solid #ccc;
  58. float: right;
  59. margin-left: 15px;
  60. padding: 5px;
  61. }
  62. img.left {
  63. border: 1px solid #ccc;
  64. float: left;
  65. margin-right: 15px;
  66. padding: 5px;
  67. }
  68. pre {
  69. white-space: pre-wrap; /* CSS 2.1 */
  70. word-wrap: break-word; /* IE7 */
  71. -moz-tab-size: 4;
  72. tab-size: 4;
  73. }
  74. .marker {
  75. background-color: Yellow;
  76. }
  77. span[lang] {
  78. font-style: italic;
  79. }
  80. figure {
  81. text-align: center;
  82. border: solid 1px #ccc;
  83. border-radius: 2px;
  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. }