纽威
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.

747 lines
27 KiB

3 years ago
  1. /*!
  2. * Simditor v2.3.5
  3. * http://simditor.tower.im/
  4. * 2015-11-19
  5. */
  6. @font-face {
  7. font-family: 'Simditor';
  8. src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABp8AA4AAAAAKmwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAaYAAAABoAAAAcdO8GE09TLzIAAAG0AAAARQAAAGAQ+ZFXY21hcAAAAkgAAABRAAABWuA2Gx9jdnQgAAAEgAAAAAoAAAAKAwQAxGZwZ20AAAKcAAABsQAAAmUPtC+nZ2x5ZgAABNgAABPeAAAgZG/p6QxoZWFkAAABRAAAADAAAAA2BvuCgGhoZWEAAAF0AAAAHgAAACQH9QTlaG10eAAAAfwAAABKAAAAlHv7AItsb2NhAAAEjAAAAEwAAABMi4qTXm1heHAAAAGUAAAAIAAAACABRwHNbmFtZQAAGLgAAAEFAAAB12vS/ulwb3N0AAAZwAAAAJ4AAAFsyCrvunByZXAAAARQAAAALgAAAC6w8isUeNpjYGRgYADiKAkPy3h+m68M8swfgCIMF0/IVyDo/84sFswJQC4HAxNIFAAZwAnyeNpjYGRgYE5gmMAQzWLBwPD/O5AEiqAAVQBa6wPkAAAAAQAAACUAoAAKAAAAAAACAAEAAgAWAAABAAEpAAAAAHjaY2BhnsA4gYGVgYGpn+kgAwNDL4RmfMxgxMgCFGVgZWaAAUYBBjTQwMDwQY454X8BQzRzAsMEIJcRSVaBgREAQ9oK6QAAAHjaY8xhUGQAAsYABgbmDwjMYsEgxCzBwMDkAOQnALEEgx1UjhNMr4BjTqBakDxC/wqIPsYMqJoEKIbpk0C1C4zXM3DA5AEzchbtAAB42mNgYGBmgGAZBkYGEAgB8hjBfBYGCyDNxcDBwASEDAy8DAof5P7/B6sCsRmAbOb/3/8/FWCD6oUCRjaIkWA2SCcLAyoAqmZlGN4AALmUC0kAAAB42l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tiotqg/xavsPwVwesV2K2Cl/ly0tv5m+Nbkjur+2+/7oX3J1hmBPMc5rMcJ/LTyd/77O8O9A6F5NSO04195WQ+hpmymxFwMCDybv/ymxm6EW2o/U5c+g/m28xHURrwSg9J2A0n5mmTq1J0gqZeiYPXQUOHmZdkeY9cVJ94Qi1CR37iiU30Y7+Cv0av4c9F0L2EBtEcWkTENMiMo3vJJmmD6OAuVwEILZGs3Z7IqkKRTNokK1uz4EAl29oDOp2cAMXJTZJVqPpm1afj+kChYlJIKSnnIv3R4qCjbWEGtF0ojU5SbaclIGQ12k+n6QqJUJVXdFCTG9SVA43XzUauVm3UzUoYAEUC7eaom4RA5WHeBPWKbIpqnBoHIFEjhqktgCHkc+z3qVyXq7TtjF6156NX3+4OMLwh9MVGPrhn7u6bzQd+7Ar7hq87cLq0N+lnmKasspMnM/trJQXf2tUIbTKzV98yuyunv6/pYVhmf9zcfnhPKp4+ox3a2j88qgd0r9fDjw8N4giTLrtu7Js5MCBRXHcjz6XbQK6HURiV0RSaR9ejD+BB1KpT3xq3iatCxmXC2hTHAeNlm0QNMmyTsk32GeSQTVIGydvkZoNsN8n7bKqSbZXWzM3UpWau8hQx+W2DsEtkrkIYmzCytQPUMW8TvtLaMU8n7Zj2FNvq/A7QV8IkXruleilbpaFiXrYMX5FE6J7WCVAgwyoqgJYWy+ym2tihtEOl4V1OSFCfllE4lb+KEvOK5RsCCPOqbTc3WHB0KvsB2LwB4NaVtkcMhuhEVrV4DVhIIUCNq8TdtIajYCS9TbIP4lqTlFVSapJDyrlYojCUoWtSKsk2SV4hg2AIDV5L10zNCSSpfMOJQXy+Pom1dK4KCFmrplNAmxWdBhrerHHaBrNJVnRM19fSbgoG2uZBZRP9QH3r87X+5Ph7s4m+SHlMqgT2v8wOhKfi0WA5tnNwNBceZ3ax+73Cyn5qF8wXBO/y6+fHsSsy
  9. font-weight: normal;
  10. font-style: normal;
  11. }
  12. .simditor-icon {
  13. display: inline-block;
  14. font: normal normal normal 14px/1 'Simditor';
  15. font-size: inherit;
  16. text-rendering: auto;
  17. -webkit-font-smoothing: antialiased;
  18. -moz-osx-font-smoothing: grayscale;
  19. transform: translate(0, 0);
  20. }
  21. .simditor-icon-code:before {
  22. content: '\f000';
  23. }
  24. .simditor-icon-bold:before {
  25. content: '\f001';
  26. }
  27. .simditor-icon-italic:before {
  28. content: '\f002';
  29. }
  30. .simditor-icon-underline:before {
  31. content: '\f003';
  32. }
  33. .simditor-icon-times:before {
  34. content: '\f004';
  35. }
  36. .simditor-icon-strikethrough:before {
  37. content: '\f005';
  38. }
  39. .simditor-icon-list-ol:before {
  40. content: '\f006';
  41. }
  42. .simditor-icon-list-ul:before {
  43. content: '\f007';
  44. }
  45. .simditor-icon-quote-left:before {
  46. content: '\f008';
  47. }
  48. .simditor-icon-table:before {
  49. content: '\f009';
  50. }
  51. .simditor-icon-link:before {
  52. content: '\f00a';
  53. }
  54. .simditor-icon-picture-o:before {
  55. content: '\f00b';
  56. }
  57. .simditor-icon-minus:before {
  58. content: '\f00c';
  59. }
  60. .simditor-icon-indent:before {
  61. content: '\f00d';
  62. }
  63. .simditor-icon-outdent:before {
  64. content: '\f00e';
  65. }
  66. .simditor-icon-unlink:before {
  67. content: '\f00f';
  68. }
  69. .simditor-icon-caret-down:before {
  70. content: '\f010';
  71. }
  72. .simditor-icon-caret-right:before {
  73. content: '\f011';
  74. }
  75. .simditor-icon-upload:before {
  76. content: '\f012';
  77. }
  78. .simditor-icon-undo:before {
  79. content: '\f013';
  80. }
  81. .simditor-icon-smile-o:before {
  82. content: '\f014';
  83. }
  84. .simditor-icon-tint:before {
  85. content: '\f015';
  86. }
  87. .simditor-icon-font:before {
  88. content: '\f016';
  89. }
  90. .simditor-icon-html5:before {
  91. content: '\f017';
  92. }
  93. .simditor-icon-mark:before {
  94. content: '\f018';
  95. }
  96. .simditor-icon-align-center:before {
  97. content: '\f019';
  98. }
  99. .simditor-icon-align-left:before {
  100. content: '\f01a';
  101. }
  102. .simditor-icon-align-right:before {
  103. content: '\f01b';
  104. }
  105. .simditor-icon-font-minus:before {
  106. content: '\f01c';
  107. }
  108. .simditor-icon-markdown:before {
  109. content: '\f01d';
  110. }
  111. .simditor-icon-checklist:before {
  112. content: '\f01e';
  113. }
  114. .simditor {
  115. position: relative;
  116. border: 1px solid #ddd;
  117. }
  118. .simditor .simditor-wrapper {
  119. position: relative;
  120. background: #ffffff;
  121. }
  122. .simditor .simditor-wrapper > textarea {
  123. display: none !important;
  124. width: 100%;
  125. box-sizing: border-box;
  126. font-family: monaco;
  127. font-size: 16px;
  128. line-height: 1.6;
  129. border: none;
  130. padding: 22px 15px 40px;
  131. min-height: 300px;
  132. outline: none;
  133. background: transparent;
  134. resize: none;
  135. }
  136. .simditor .simditor-wrapper .simditor-placeholder {
  137. display: none;
  138. position: absolute;
  139. left: 0;
  140. z-index: 0;
  141. padding: 22px 15px;
  142. font-size: 16px;
  143. font-family: arial, sans-serif;
  144. line-height: 1.5;
  145. color: #999999;
  146. background: transparent;
  147. }
  148. .simditor .simditor-wrapper.toolbar-floating .simditor-toolbar {
  149. position: fixed;
  150. top: 0;
  151. z-index: 10;
  152. box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  153. }
  154. .simditor .simditor-wrapper .simditor-image-loading {
  155. width: 100%;
  156. height: 100%;
  157. position: absolute;
  158. top: 0;
  159. left: 0;
  160. z-index: 2;
  161. }
  162. .simditor .simditor-wrapper .simditor-image-loading .progress {
  163. width: 100%;
  164. height: 100%;
  165. background: rgba(0, 0, 0, 0.4);
  166. position: absolute;
  167. bottom: 0;
  168. left: 0;
  169. }
  170. .simditor .simditor-body {
  171. padding: 22px 15px 40px;
  172. min-height: 300px;
  173. outline: none;
  174. cursor: text;
  175. position: relative;
  176. z-index: 1;
  177. background: transparent;
  178. }
  179. .simditor .simditor-body a.selected {
  180. background: #b3d4fd;
  181. }
  182. .simditor .simditor-body a.simditor-mention {
  183. cursor: pointer;
  184. }
  185. .simditor .simditor-body .simditor-table {
  186. position: relative;
  187. }
  188. .simditor .simditor-body .simditor-table.resizing {
  189. cursor: col-resize;
  190. }
  191. .simditor .simditor-body .simditor-table .simditor-resize-handle {
  192. position: absolute;
  193. left: 0;
  194. top: 0;
  195. width: 10px;
  196. height: 100%;
  197. cursor: col-resize;
  198. }
  199. .simditor .simditor-body pre {
  200. /*min-height: 28px;*/
  201. box-sizing: border-box;
  202. -moz-box-sizing: border-box;
  203. word-wrap: break-word !important;
  204. white-space: pre-wrap !important;
  205. }
  206. .simditor .simditor-body img {
  207. cursor: pointer;
  208. }
  209. .simditor .simditor-body img.selected {
  210. box-shadow: 0 0 0 4px #cccccc;
  211. }
  212. .simditor .simditor-paste-bin {
  213. position: fixed;
  214. bottom: 10px;
  215. right: 10px;
  216. width: 1px;
  217. height: 20px;
  218. font-size: 1px;
  219. line-height: 1px;
  220. overflow: hidden;
  221. padding: 0;
  222. margin: 0;
  223. opacity: 0;
  224. -webkit-user-select: text;
  225. }
  226. .simditor .simditor-toolbar {
  227. border-bottom: 1px solid #eeeeee;
  228. background: #ffffff;
  229. width: 100%;
  230. -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);
  231. }
  232. .simditor .simditor-toolbar > ul {
  233. margin: 0;
  234. padding: 0 0 0 6px;
  235. list-style: none;
  236. }
  237. .simditor .simditor-toolbar > ul > li {
  238. position: relative;
  239. display: inline-block;
  240. font-size: 0;
  241. }
  242. .simditor .simditor-toolbar > ul > li > span.separator {
  243. display: inline-block;
  244. background: #cfcfcf;
  245. width: 1px;
  246. height: 18px;
  247. margin: 11px 15px;
  248. vertical-align: middle;
  249. }
  250. .simditor .simditor-toolbar > ul > li > .toolbar-item {
  251. display: inline-block;
  252. width: 46px;
  253. height: 40px;
  254. outline: none;
  255. color: #333333;
  256. font-size: 15px;
  257. line-height: 40px;
  258. vertical-align: middle;
  259. text-align: center;
  260. text-decoration: none;
  261. }
  262. .simditor .simditor-toolbar > ul > li > .toolbar-item span {
  263. opacity: 0.6;
  264. }
  265. .simditor .simditor-toolbar > ul > li > .toolbar-item span.simditor-icon {
  266. display: inline;
  267. line-height: normal;
  268. }
  269. .simditor .simditor-toolbar > ul > li > .toolbar-item:hover span {
  270. opacity: 1;
  271. }
  272. .simditor .simditor-toolbar > ul > li > .toolbar-item.active {
  273. background: #eeeeee;
  274. }
  275. .simditor .simditor-toolbar > ul > li > .toolbar-item.active span {
  276. opacity: 1;
  277. }
  278. .simditor .simditor-toolbar > ul > li > .toolbar-item.disabled {
  279. cursor: default;
  280. }
  281. .simditor .simditor-toolbar > ul > li > .toolbar-item.disabled span {
  282. opacity: 0.3;
  283. }
  284. .simditor .simditor-toolbar > ul > li > .toolbar-item.toolbar-item-title span:before {
  285. content: "H";
  286. font-size: 19px;
  287. font-weight: bold;
  288. font-family: 'Times New Roman';
  289. }
  290. .simditor .simditor-toolbar > ul > li > .toolbar-item.toolbar-item-title.active-h1 span:before {
  291. content: 'H1';
  292. font-size: 18px;
  293. }
  294. .simditor .simditor-toolbar > ul > li > .toolbar-item.toolbar-item-title.active-h2 span:before {
  295. content: 'H2';
  296. font-size: 18px;
  297. }
  298. .simditor .simditor-toolbar > ul > li > .toolbar-item.toolbar-item-title.active-h3 span:before {
  299. content: 'H3';
  300. font-size: 18px;
  301. }
  302. .simditor .simditor-toolbar > ul > li > .toolbar-item.toolbar-item-image {
  303. position: relative;
  304. overflow: hidden;
  305. }
  306. .simditor .simditor-toolbar > ul > li > .toolbar-item.toolbar-item-image > input[type=file] {
  307. position: absolute;
  308. right: 0px;
  309. top: 0px;
  310. opacity: 0;
  311. font-size: 100px;
  312. cursor: pointer;
  313. }
  314. .simditor .simditor-toolbar > ul > li.menu-on .toolbar-item {
  315. position: relative;
  316. z-index: 20;
  317. background: #ffffff;
  318. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  319. }
  320. .simditor .simditor-toolbar > ul > li.menu-on .toolbar-item span {
  321. opacity: 1;
  322. }
  323. .simditor .simditor-toolbar > ul > li.menu-on .toolbar-menu {
  324. display: block;
  325. }
  326. .simditor .simditor-toolbar .toolbar-menu {
  327. display: none;
  328. position: absolute;
  329. top: 40px;
  330. left: 0;
  331. z-index: 21;
  332. background: #ffffff;
  333. text-align: left;
  334. box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  335. }
  336. .simditor .simditor-toolbar .toolbar-menu:before {
  337. content: '';
  338. display: block;
  339. width: 46px;
  340. height: 4px;
  341. background: #ffffff;
  342. position: absolute;
  343. top: -3px;
  344. left: 0;
  345. }
  346. .simditor .simditor-toolbar .toolbar-menu ul {
  347. min-width: 160px;
  348. list-style: none;
  349. margin: 0;
  350. padding: 10px 1px;
  351. }
  352. .simditor .simditor-toolbar .toolbar-menu ul > li .menu-item {
  353. display: block;
  354. font-size: 16px;
  355. line-height: 2em;
  356. padding: 0 10px;
  357. text-decoration: none;
  358. color: #666666;
  359. }
  360. .simditor .simditor-toolbar .toolbar-menu ul > li .menu-item:hover {
  361. background: #f6f6f6;
  362. }
  363. .simditor .simditor-toolbar .toolbar-menu ul > li .menu-item.menu-item-h1 {
  364. font-size: 24px;
  365. color: #333333;
  366. }
  367. .simditor .simditor-toolbar .toolbar-menu ul > li .menu-item.menu-item-h2 {
  368. font-size: 22px;
  369. color: #333333;
  370. }
  371. .simditor .simditor-toolbar .toolbar-menu ul > li .menu-item.menu-item-h3 {
  372. font-size: 20px;
  373. color: #333333;
  374. }
  375. .simditor .simditor-toolbar .toolbar-menu ul > li .menu-item.menu-item-h4 {
  376. font-size: 18px;
  377. color: #333333;
  378. }
  379. .simditor .simditor-toolbar .toolbar-menu ul > li .menu-item.menu-item-h5 {
  380. font-size: 16px;
  381. color: #333333;
  382. }
  383. .simditor .simditor-toolbar .toolbar-menu ul > li .separator {
  384. display: block;
  385. border-top: 1px solid #cccccc;
  386. height: 0;
  387. line-height: 0;
  388. font-size: 0;
  389. margin: 6px 0;
  390. }
  391. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color {
  392. width: 96px;
  393. }
  394. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list {
  395. height: 40px;
  396. margin: 10px 6px 6px 10px;
  397. padding: 0;
  398. min-width: 0;
  399. }
  400. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li {
  401. float: left;
  402. margin: 0 4px 4px 0;
  403. }
  404. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color {
  405. display: block;
  406. width: 16px;
  407. height: 16px;
  408. background: #dfdfdf;
  409. border-radius: 2px;
  410. }
  411. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color:hover {
  412. opacity: 0.8;
  413. }
  414. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color.font-color-default {
  415. background: #333333;
  416. }
  417. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color-1 {
  418. background: #E33737;
  419. }
  420. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color-2 {
  421. background: #e28b41;
  422. }
  423. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color-3 {
  424. background: #c8a732;
  425. }
  426. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color-4 {
  427. background: #209361;
  428. }
  429. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color-5 {
  430. background: #418caf;
  431. }
  432. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color-6 {
  433. background: #aa8773;
  434. }
  435. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-color .color-list li .font-color-7 {
  436. background: #999999;
  437. }
  438. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-table .menu-create-table {
  439. background: #ffffff;
  440. padding: 1px;
  441. }
  442. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-table .menu-create-table table {
  443. border: none;
  444. border-collapse: collapse;
  445. border-spacing: 0;
  446. table-layout: fixed;
  447. }
  448. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-table .menu-create-table table td {
  449. padding: 0;
  450. cursor: pointer;
  451. }
  452. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-table .menu-create-table table td:before {
  453. width: 16px;
  454. height: 16px;
  455. border: 1px solid #ffffff;
  456. background: #f3f3f3;
  457. display: block;
  458. content: "";
  459. }
  460. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-table .menu-create-table table td.selected:before {
  461. background: #cfcfcf;
  462. }
  463. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-table .menu-edit-table {
  464. display: none;
  465. }
  466. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-table .menu-edit-table ul li {
  467. white-space: nowrap;
  468. }
  469. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-image .menu-item-upload-image {
  470. position: relative;
  471. overflow: hidden;
  472. }
  473. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-image .menu-item-upload-image input[type=file] {
  474. position: absolute;
  475. right: 0px;
  476. top: 0px;
  477. opacity: 0;
  478. font-size: 100px;
  479. cursor: pointer;
  480. }
  481. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-alignment {
  482. width: 100%;
  483. }
  484. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-alignment ul {
  485. min-width: 100%;
  486. }
  487. .simditor .simditor-toolbar .toolbar-menu.toolbar-menu-alignment .menu-item {
  488. text-align: center;
  489. }
  490. .simditor .simditor-popover {
  491. display: none;
  492. padding: 5px 8px 0;
  493. background: #ffffff;
  494. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  495. border-radius: 2px;
  496. position: absolute;
  497. z-index: 2;
  498. }
  499. .simditor .simditor-popover .settings-field {
  500. margin: 0 0 5px 0;
  501. font-size: 12px;
  502. height: 25px;
  503. line-height: 25px;
  504. }
  505. .simditor .simditor-popover .settings-field label {
  506. display: inline-block;
  507. margin: 0 5px 0 0;
  508. }
  509. .simditor .simditor-popover .settings-field input[type=text] {
  510. display: inline-block;
  511. width: 200px;
  512. box-sizing: border-box;
  513. font-size: 12px;
  514. }
  515. .simditor .simditor-popover .settings-field input[type=text].image-size {
  516. width: 83px;
  517. }
  518. .simditor .simditor-popover .settings-field .times {
  519. display: inline-block;
  520. width: 26px;
  521. font-size: 12px;
  522. text-align: center;
  523. }
  524. .simditor .simditor-popover.link-popover .btn-unlink, .simditor .simditor-popover.image-popover .btn-upload, .simditor .simditor-popover.image-popover .btn-restore {
  525. display: inline-block;
  526. margin: 0 0 0 5px;
  527. color: #333333;
  528. font-size: 14px;
  529. outline: 0;
  530. }
  531. .simditor .simditor-popover.link-popover .btn-unlink span, .simditor .simditor-popover.image-popover .btn-upload span, .simditor .simditor-popover.image-popover .btn-restore span {
  532. opacity: 0.6;
  533. }
  534. .simditor .simditor-popover.link-popover .btn-unlink:hover span, .simditor .simditor-popover.image-popover .btn-upload:hover span, .simditor .simditor-popover.image-popover .btn-restore:hover span {
  535. opacity: 1;
  536. }
  537. .simditor .simditor-popover.image-popover .btn-upload {
  538. position: relative;
  539. display: inline-block;
  540. overflow: hidden;
  541. vertical-align: middle;
  542. }
  543. .simditor .simditor-popover.image-popover .btn-upload input[type=file] {
  544. position: absolute;
  545. right: 0px;
  546. top: 0px;
  547. opacity: 0;
  548. height: 100%;
  549. width: 28px;
  550. }
  551. .simditor.simditor-mobile .simditor-wrapper.toolbar-floating .simditor-toolbar {
  552. position: absolute;
  553. top: 0;
  554. z-index: 10;
  555. box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  556. }
  557. .simditor .simditor-body, .editor-style {
  558. font-size: 16px;
  559. font-family: arial, sans-serif;
  560. line-height: 1.6;
  561. color: #333;
  562. outline: none;
  563. word-wrap: break-word;
  564. }
  565. .simditor .simditor-body > :first-child, .editor-style > :first-child {
  566. margin-top: 0 !important;
  567. }
  568. .simditor .simditor-body a, .editor-style a {
  569. color: #4298BA;
  570. text-decoration: none;
  571. word-break: break-all;
  572. }
  573. .simditor .simditor-body a:visited, .editor-style a:visited {
  574. color: #4298BA;
  575. }
  576. .simditor .simditor-body a:hover, .editor-style a:hover {
  577. color: #0F769F;
  578. }
  579. .simditor .simditor-body a:active, .editor-style a:active {
  580. color: #9E792E;
  581. }
  582. .simditor .simditor-body a:hover, .simditor .simditor-body a:active, .editor-style a:hover, .editor-style a:active {
  583. outline: 0;
  584. }
  585. .simditor .simditor-body h1, .simditor .simditor-body h2, .simditor .simditor-body h3, .simditor .simditor-body h4, .simditor .simditor-body h5, .simditor .simditor-body h6, .editor-style h1, .editor-style h2, .editor-style h3, .editor-style h4, .editor-style h5, .editor-style h6 {
  586. font-weight: normal;
  587. margin: 40px 0 20px;
  588. color: #000000;
  589. }
  590. .simditor .simditor-body h1, .editor-style h1 {
  591. font-size: 24px;
  592. }
  593. .simditor .simditor-body h2, .editor-style h2 {
  594. font-size: 22px;
  595. }
  596. .simditor .simditor-body h3, .editor-style h3 {
  597. font-size: 20px;
  598. }
  599. .simditor .simditor-body h4, .editor-style h4 {
  600. font-size: 18px;
  601. }
  602. .simditor .simditor-body h5, .editor-style h5 {
  603. font-size: 16px;
  604. }
  605. .simditor .simditor-body h6, .editor-style h6 {
  606. font-size: 16px;
  607. }
  608. .simditor .simditor-body p, .simditor .simditor-body div, .editor-style p, .editor-style div {
  609. word-wrap: break-word;
  610. margin: 0 0 15px 0;
  611. color: #333;
  612. word-wrap: break-word;
  613. }
  614. .simditor .simditor-body b, .simditor .simditor-body strong, .editor-style b, .editor-style strong {
  615. font-weight: bold;
  616. }
  617. .simditor .simditor-body i, .simditor .simditor-body em, .editor-style i, .editor-style em {
  618. font-style: italic;
  619. }
  620. .simditor .simditor-body u, .editor-style u {
  621. text-decoration: underline;
  622. }
  623. .simditor .simditor-body strike, .simditor .simditor-body del, .editor-style strike, .editor-style del {
  624. text-decoration: line-through;
  625. }
  626. .simditor .simditor-body ul, .simditor .simditor-body ol, .editor-style ul, .editor-style ol {
  627. list-style: disc outside none;
  628. margin: 15px 0;
  629. padding: 0 0 0 40px;
  630. line-height: 1.6;
  631. }
  632. .simditor .simditor-body ul ul, .simditor .simditor-body ul ol, .simditor .simditor-body ol ul, .simditor .simditor-body ol ol, .editor-style ul ul, .editor-style ul ol, .editor-style ol ul, .editor-style ol ol {
  633. padding-left: 30px;
  634. }
  635. .simditor .simditor-body ul ul, .simditor .simditor-body ol ul, .editor-style ul ul, .editor-style ol ul {
  636. list-style: circle outside none;
  637. }
  638. .simditor .simditor-body ul ul ul, .simditor .simditor-body ol ul ul, .editor-style ul ul ul, .editor-style ol ul ul {
  639. list-style: square outside none;
  640. }
  641. .simditor .simditor-body ol, .editor-style ol {
  642. list-style: decimal;
  643. }
  644. .simditor .simditor-body blockquote, .editor-style blockquote {
  645. border-left: 6px solid #ddd;
  646. padding: 5px 0 5px 10px;
  647. margin: 15px 0 15px 15px;
  648. }
  649. .simditor .simditor-body blockquote > :first-child, .editor-style blockquote > :first-child {
  650. margin-top: 0;
  651. }
  652. .simditor .simditor-body code, .editor-style code {
  653. display: inline-block;
  654. padding: 0 4px;
  655. margin: 0 5px;
  656. background: #eeeeee;
  657. border-radius: 3px;
  658. font-size: 13px;
  659. font-family: 'monaco', 'Consolas', "Liberation Mono", Courier, monospace;
  660. }
  661. .simditor .simditor-body pre, .editor-style pre {
  662. padding: 10px 5px 10px 10px;
  663. margin: 15px 0;
  664. display: block;
  665. line-height: 18px;
  666. background: #F0F0F0;
  667. border-radius: 3px;
  668. font-size: 13px;
  669. font-family: 'monaco', 'Consolas', "Liberation Mono", Courier, monospace;
  670. white-space: pre;
  671. word-wrap: normal;
  672. overflow-x: auto;
  673. }
  674. .simditor .simditor-body pre code, .editor-style pre code {
  675. display: block;
  676. padding: 0;
  677. margin: 0;
  678. background: none;
  679. border-radius: 0;
  680. }
  681. .simditor .simditor-body hr, .editor-style hr {
  682. display: block;
  683. height: 0px;
  684. border: 0;
  685. border-top: 1px solid #ccc;
  686. margin: 15px 0;
  687. padding: 0;
  688. }
  689. .simditor .simditor-body table, .editor-style table {
  690. width: 100%;
  691. table-layout: fixed;
  692. border-collapse: collapse;
  693. border-spacing: 0;
  694. margin: 15px 0;
  695. }
  696. .simditor .simditor-body table thead, .editor-style table thead {
  697. background-color: #f9f9f9;
  698. }
  699. .simditor .simditor-body table td, .simditor .simditor-body table th, .editor-style table td, .editor-style table th {
  700. min-width: 40px;
  701. height: 30px;
  702. border: 1px solid #ccc;
  703. vertical-align: top;
  704. padding: 2px 4px;
  705. text-align: left;
  706. box-sizing: border-box;
  707. }
  708. .simditor .simditor-body table td.active, .simditor .simditor-body table th.active, .editor-style table td.active, .editor-style table th.active {
  709. background-color: #ffffee;
  710. }
  711. .simditor .simditor-body img, .editor-style img {
  712. margin: 0 5px;
  713. vertical-align: middle;
  714. }