rte_contents_styles.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. /****************************************************************************************
  2. # Default css file for content edited with CKEditor
  3. #
  4. # Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
  5. # For licensing, see LICENSE.md or http://ckeditor.com/license
  6. #
  7. # Defines a few class selectors that can be simply taken as examples by anyone who needs to configure the RTE.
  8. # This css file is referenced by property RTE.default.contentCSS in TSconfig.
  9. # ***************************************************************************************/
  10. body
  11. {
  12. /* Font */
  13. font-family: sans-serif, Arial, Verdana, "Trebuchet MS";
  14. font-size: 12px;
  15. /* Text color */
  16. color: #333;
  17. /* Remove the background color to make it transparent */
  18. background-color: #fff;
  19. margin: 20px;
  20. }
  21. .cke_editable
  22. {
  23. font-size: 13px;
  24. line-height: 1.6;
  25. /* Fix for missing scrollbars with RTL texts. (#10488) */
  26. word-wrap: break-word;
  27. }
  28. blockquote
  29. {
  30. font-style: italic;
  31. font-family: Georgia, Times, "Times New Roman", serif;
  32. padding: 2px 0;
  33. border-style: solid;
  34. border-color: #ccc;
  35. border-width: 0;
  36. }
  37. .cke_contents_ltr blockquote
  38. {
  39. padding-left: 20px;
  40. padding-right: 8px;
  41. border-left-width: 5px;
  42. }
  43. .cke_contents_rtl blockquote
  44. {
  45. padding-left: 8px;
  46. padding-right: 20px;
  47. border-right-width: 5px;
  48. }
  49. a
  50. {
  51. color: #0782C1;
  52. }
  53. ol,ul,dl
  54. {
  55. /* IE7: reset rtl list margin. (#7334) */
  56. *margin-right: 0px;
  57. /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
  58. padding: 0 40px;
  59. }
  60. h1,h2,h3,h4,h5,h6
  61. {
  62. font-weight: normal;
  63. line-height: 1.2;
  64. }
  65. hr
  66. {
  67. border: 0px;
  68. border-top: 1px solid #ccc;
  69. }
  70. img.right
  71. {
  72. border: 1px solid #ccc;
  73. float: right;
  74. margin-left: 15px;
  75. padding: 5px;
  76. }
  77. img.left
  78. {
  79. border: 1px solid #ccc;
  80. float: left;
  81. margin-right: 15px;
  82. padding: 5px;
  83. }
  84. pre
  85. {
  86. white-space: pre-wrap; /* CSS 2.1 */
  87. word-wrap: break-word; /* IE7 */
  88. -moz-tab-size: 4;
  89. tab-size: 4;
  90. }
  91. table {
  92. border-collapse: collapse;
  93. background-color: transparent;
  94. width: 100%;
  95. max-width: 100%;
  96. margin-bottom: 1rem;
  97. padding-left: 100px;
  98. }
  99. table th,
  100. table td {
  101. padding: 0.25rem;
  102. vertical-align: top;
  103. }
  104. table thead th {
  105. vertical-align: bottom;
  106. border-bottom: 2px solid #eceeef;
  107. }
  108. .marker
  109. {
  110. background-color: Yellow;
  111. }
  112. span[lang]
  113. {
  114. font-style: italic;
  115. }
  116. figure
  117. {
  118. text-align: center;
  119. border: solid 1px #ccc;
  120. border-radius: 2px;
  121. background: rgba(0,0,0,0.05);
  122. padding: 10px;
  123. margin: 10px 20px;
  124. display: inline-block;
  125. }
  126. figure > figcaption
  127. {
  128. text-align: center;
  129. display: block; /* For IE8 */
  130. }
  131. a > img {
  132. padding: 1px;
  133. margin: 1px;
  134. border: none;
  135. outline: 1px solid #0782C1;
  136. }
  137. /* Widget Styles */
  138. .code-featured
  139. {
  140. border: 5px solid red;
  141. }
  142. .math-featured
  143. {
  144. padding: 20px;
  145. box-shadow: 0 0 2px rgba(200, 0, 0, 1);
  146. background-color: rgba(255, 0, 0, 0.05);
  147. margin: 10px;
  148. }
  149. .image-clean
  150. {
  151. border: 0;
  152. background: none;
  153. padding: 0;
  154. }
  155. .image-clean > figcaption
  156. {
  157. font-size: .9em;
  158. text-align: right;
  159. }
  160. .image-grayscale
  161. {
  162. background-color: white;
  163. color: #666;
  164. }
  165. .image-grayscale img, img.image-grayscale
  166. {
  167. filter: grayscale(100%);
  168. }
  169. .embed-240p
  170. {
  171. max-width: 426px;
  172. max-height: 240px;
  173. margin:0 auto;
  174. }
  175. .embed-360p
  176. {
  177. max-width: 640px;
  178. max-height: 360px;
  179. margin:0 auto;
  180. }
  181. .embed-480p
  182. {
  183. max-width: 854px;
  184. max-height: 480px;
  185. margin:0 auto;
  186. }
  187. .embed-720p
  188. {
  189. max-width: 1280px;
  190. max-height: 720px;
  191. margin:0 auto;
  192. }
  193. .embed-1080p
  194. {
  195. max-width: 1920px;
  196. max-height: 1080px;
  197. margin:0 auto;
  198. }
  199. /** justify **/
  200. .text-left {
  201. text-align: left;
  202. }
  203. .text-center {
  204. text-align: center;
  205. }
  206. .text-right {
  207. text-align: right;
  208. }
  209. .text-justify {
  210. text-align: justify;
  211. }
  212. .mrm-abi-content-linklist {
  213. background-color: #E0BBE4;
  214. }
  215. .mrm-abi-content-mb-1 {
  216. margin-bottom: 1em;
  217. }
  218. .mrm-abi-content-linklist.external-anchors-only {
  219. background-color: #957DAD;
  220. }
  221. .notice{
  222. background-color: #ff00ff;
  223. }
  224. .fact-sheet-headline{
  225. background-color: #73f5d7;
  226. padding: 3px;
  227. border-radius: 3px;
  228. font-weight: bold;
  229. }
  230. .left-padded-text:before{
  231. content: '▩';
  232. font-weight: bold;
  233. color: #eee;
  234. }