space.editor.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. .space-editor-wrap {
  2. width: 100%;
  3. }
  4. .space-form-infor.space-form-article {
  5. padding: 12px 16px;
  6. }
  7. .space-form-infor.space-form-article .el-form {
  8. margin-top: 8px;
  9. }
  10. .space-form-infor.space-form-article .article-right .el-form-item__label {
  11. float: none;
  12. display: block;
  13. width: auto !important;
  14. padding: 0 0 4px;
  15. text-align: left;
  16. font-size: 13px;
  17. line-height: 1.2;
  18. }
  19. .space-form-infor.space-form-article .article-right .el-form-item__content {
  20. margin-left: 0 !important;
  21. }
  22. .space-form-infor.space-form-article .article-right .el-date-editor.el-input {
  23. width: 100%;
  24. }
  25. .space-editor-wrap .ck-toolbar > .ck-toolbar__items {
  26. flex-wrap: wrap !important;
  27. }
  28. .space-editor-wrap .space-editor-line-height {
  29. display: inline-flex;
  30. align-items: center;
  31. gap: 4px;
  32. height: 38px;
  33. margin: 1px;
  34. padding: 0 6px;
  35. border: 1px solid transparent;
  36. border-radius: 2px;
  37. color: #333;
  38. font-size: 12px;
  39. box-sizing: border-box;
  40. vertical-align: top;
  41. }
  42. .space-editor-wrap .space-editor-line-height:hover,
  43. .space-editor-wrap .space-editor-line-height:focus-within {
  44. border-color: #c7d8ea;
  45. background: #f3f7fc;
  46. }
  47. .space-editor-wrap .space-editor-line-height-label {
  48. font-size: 12px;
  49. line-height: 1;
  50. white-space: nowrap;
  51. }
  52. .space-editor-wrap .space-editor-line-height-select {
  53. height: 26px;
  54. min-width: 70px;
  55. padding: 0 20px 0 5px;
  56. border: 1px solid #c4c4c4;
  57. border-radius: 2px;
  58. background: #fff;
  59. color: #333;
  60. font-size: 12px;
  61. line-height: 24px;
  62. cursor: pointer;
  63. outline: none;
  64. }
  65. .space-editor-wrap .space-editor-line-height-select:focus {
  66. border-color: #6da5d5;
  67. box-shadow: 0 0 0 2px rgba(109, 165, 213, 0.2);
  68. }
  69. .space-editor-toolstrip {
  70. display: flex;
  71. align-items: center;
  72. align-content: center;
  73. flex-wrap: wrap;
  74. column-gap: 4px;
  75. row-gap: 6px;
  76. min-height: 40px;
  77. padding: 5px 8px;
  78. border: 1px solid #dcdfe6;
  79. border-bottom: 0;
  80. background: #fafafa;
  81. box-sizing: border-box;
  82. }
  83. .space-editor-toolstrip .el-button + .el-button {
  84. margin-left: 0;
  85. }
  86. .space-editor-toolstrip .space-editor-tool-btn.el-button--small {
  87. display: inline-flex;
  88. align-items: center;
  89. justify-content: center;
  90. min-width: 78px;
  91. height: 30px;
  92. margin: 0;
  93. padding: 8px 10px;
  94. border-color: #dcdfe6;
  95. border-radius: 2px;
  96. background: #fff;
  97. color: #606266;
  98. font-size: 12px;
  99. font-weight: 400;
  100. line-height: 1;
  101. white-space: nowrap;
  102. }
  103. .space-editor-toolstrip .space-editor-tool-btn.el-button--small [class^="el-icon-"],
  104. .space-editor-toolstrip .space-editor-tool-btn.el-button--small [class*=" el-icon-"] {
  105. margin-right: 4px;
  106. font-size: 14px;
  107. }
  108. .space-editor-toolstrip .space-editor-tool-btn.el-button--small:hover,
  109. .space-editor-toolstrip .space-editor-tool-btn.el-button--small:focus {
  110. border-color: #b3d8ff;
  111. background: #ecf5ff;
  112. color: #409eff;
  113. }
  114. .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain {
  115. border-color: #b3d8ff;
  116. background: #ecf5ff;
  117. color: #409eff;
  118. }
  119. .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain:hover,
  120. .space-editor-toolstrip .space-editor-preview-btn.el-button--primary.is-plain:focus {
  121. border-color: #409eff;
  122. background: #409eff;
  123. color: #fff;
  124. }
  125. .space-editor-toolstrip .space-editor-tool-divider {
  126. display: inline-block;
  127. width: 1px;
  128. height: 18px;
  129. margin: 0 2px;
  130. background: #dcdfe6;
  131. }
  132. .space-editor-toolstrip .el-input--small .el-input__inner {
  133. height: 30px;
  134. line-height: 28px;
  135. border-color: #dcdfe6;
  136. border-radius: 2px;
  137. background: #fff;
  138. color: #606266;
  139. }
  140. .space-editor-quality {
  141. position: relative;
  142. width: 126px;
  143. margin: 0 2px;
  144. }
  145. .space-editor-quality::before {
  146. content: "图片质量压缩";
  147. position: absolute;
  148. top: 50%;
  149. left: 12px;
  150. z-index: 2;
  151. color: #606266;
  152. font-size: 12px;
  153. line-height: 1;
  154. pointer-events: none;
  155. transform: translateY(-50%);
  156. }
  157. .space-editor-quality .el-input__inner {
  158. color: transparent;
  159. -webkit-text-fill-color: transparent;
  160. }
  161. .space-editor-upload-status {
  162. margin-left: 4px;
  163. font-size: 12px;
  164. line-height: 30px;
  165. color: #909399;
  166. white-space: nowrap;
  167. }
  168. .ck-toolbar__items .space-editor-upload-ck-button,
  169. .ck-toolbar__items .space-editor-video-upload-ck-button {
  170. border-top-right-radius: 0;
  171. border-bottom-right-radius: 0;
  172. margin-right: -1px;
  173. }
  174. .ck-toolbar__items .space-editor-video-upload-ck-button + .space-editor-pdf-upload-ck-button {
  175. border-radius: 0;
  176. }
  177. .ck-toolbar__items .space-editor-video-upload-ck-button + .space-editor-media-link-dropdown > .ck-button {
  178. border-top-left-radius: 0;
  179. border-bottom-left-radius: 0;
  180. }
  181. .ck-toolbar__items .space-editor-pdf-upload-ck-button + .space-editor-media-link-dropdown > .ck-button {
  182. border-top-left-radius: 0;
  183. border-bottom-left-radius: 0;
  184. }
  185. .space-editor-video-upload-icon,
  186. .space-editor-pdf-upload-icon {
  187. width: var(--ck-icon-size);
  188. height: var(--ck-icon-size);
  189. flex-shrink: 0;
  190. }
  191. .space-editor-video-upload-icon path,
  192. .space-editor-pdf-upload-icon path {
  193. fill: currentColor;
  194. }
  195. .space-editor-wrap .ck-content video.space-editor-playable-media,
  196. .space-editor-wrap .ck-content iframe.space-editor-playable-media {
  197. max-width: 100%;
  198. pointer-events: auto !important;
  199. }
  200. .space-editor-wrap .ck-content img,
  201. .space-editor-wrap .ck-content .image img {
  202. display: block;
  203. width: auto;
  204. max-width: 100%;
  205. height: auto;
  206. margin: 18px auto;
  207. box-sizing: border-box;
  208. }
  209. .space-editor-wrap .ck-content .image {
  210. display: block;
  211. width: auto;
  212. max-width: 100%;
  213. margin: 18px auto;
  214. text-align: center;
  215. }
  216. .space-editor-wrap .ck-content p:has(img),
  217. .space-editor-wrap .ck-content div:has(img) {
  218. text-align: left !important;
  219. text-indent: 0 !important;
  220. }
  221. .space-editor-wrap .ck-content figure.image.image-style-align-center {
  222. margin: 18px auto !important;
  223. text-align: center !important;
  224. }
  225. .space-editor-wrap .ck-content figure.image.image-style-align-center img {
  226. margin-left: auto !important;
  227. margin-right: auto !important;
  228. }
  229. .space-editor-wrap .ck-content figure.image.image-style-align-left {
  230. float: left;
  231. margin: 18px 20px 18px 0 !important;
  232. text-align: left !important;
  233. }
  234. .space-editor-wrap .ck-content figure.image.image-style-align-right {
  235. float: right;
  236. margin: 18px 0 18px 20px !important;
  237. text-align: right !important;
  238. }
  239. .space-editor-wrap .ck-content figure.image.image-style-full,
  240. .space-editor-wrap .ck-content figure.image.image-style-align-full {
  241. width: 100% !important;
  242. margin: 18px 0 !important;
  243. text-align: center !important;
  244. }
  245. .space-editor-wrap .ck-content figure.image.image-style-full img,
  246. .space-editor-wrap .ck-content figure.image.image-style-align-full img {
  247. width: 100% !important;
  248. max-width: 100% !important;
  249. }
  250. .space-editor-wrap .ck-content figure.media.space-editor-playable-media-widget .ck-media__wrapper > video,
  251. .space-editor-wrap .ck-content figure.media.space-editor-playable-media-widget .ck-media__wrapper > iframe {
  252. pointer-events: auto !important;
  253. }
  254. .space-editor-wrap .ck-content video.space-editor-playable-media {
  255. display: block;
  256. margin: 12px auto;
  257. cursor: pointer;
  258. }
  259. .space-editor-wrap .ck-content figure.media.space-editor-playable-media-widget {
  260. text-align: center;
  261. }
  262. .space-editor-wrap .ck-content figure.space-editor-pdf-viewer,
  263. .space-editor-wrap .ck-content figure.space-editor-video-viewer,
  264. .space-editor-wrap .ck-content figure.media {
  265. width: 100%;
  266. margin: 14px 0;
  267. text-align: center;
  268. }
  269. .space-editor-wrap .ck-content figure.space-editor-video-viewer {
  270. background: #111827;
  271. border: 1px solid #dcdfe6;
  272. box-sizing: border-box;
  273. overflow: hidden;
  274. }
  275. .space-editor-wrap .ck-content figure.space-editor-video-viewer .space-editor-video-frame,
  276. .space-editor-wrap .ck-content figure.space-editor-video-viewer video {
  277. display: block;
  278. width: 100%;
  279. max-width: 100%;
  280. background: #000;
  281. box-sizing: border-box;
  282. pointer-events: auto !important;
  283. }
  284. .space-editor-wrap .ck-content .space-editor-pdf-frame,
  285. .space-editor-wrap .ck-content figure.media .space-editor-pdf-frame {
  286. display: block;
  287. width: 100%;
  288. height: 520px;
  289. min-height: 420px;
  290. border: 1px solid #dcdfe6;
  291. background: #f5f7fa;
  292. box-sizing: border-box;
  293. pointer-events: none;
  294. }
  295. .space-editor-wrap .ck-content figure.space-editor-pdf-viewer figcaption {
  296. margin-top: 8px;
  297. color: #606266;
  298. font-size: 13px;
  299. line-height: 1.6;
  300. pointer-events: auto;
  301. }
  302. .space-editor-wrap .ck-content figure.space-editor-pdf-viewer.space-editor-pdf-selected {
  303. outline: 2px solid #3080fe;
  304. outline-offset: 2px;
  305. }
  306. .space-editor-wrap .ck-content figure.space-editor-pdf-viewer.space-editor-pdf-selected .space-editor-pdf-shell {
  307. border-color: #3080fe;
  308. }
  309. .space-editor-wrap .ck-content .space-editor-pdf-link {
  310. margin: 8px 0 14px;
  311. text-align: center !important;
  312. text-indent: 0 !important;
  313. }
  314. .space-editor-wrap {
  315. position: relative;
  316. }
  317. .space-editor-pdf-secure-tools {
  318. display: inline-flex;
  319. align-items: center;
  320. gap: 10px;
  321. margin-left: 4px;
  322. }
  323. .space-editor-pdf-secure-label-text {
  324. font-size: 12px;
  325. color: #606266;
  326. white-space: nowrap;
  327. }
  328. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar {
  329. display: none;
  330. align-items: center;
  331. justify-content: space-between;
  332. gap: 12px;
  333. min-height: 40px;
  334. padding: 6px 12px;
  335. background: #323639;
  336. color: #f1f3f4;
  337. border-bottom: 1px solid #1f2124;
  338. box-sizing: border-box;
  339. }
  340. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar-left,
  341. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar-right {
  342. display: inline-flex;
  343. align-items: center;
  344. gap: 10px;
  345. min-width: 0;
  346. }
  347. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-title {
  348. font-size: 12px;
  349. font-weight: 600;
  350. color: #e8eaed;
  351. }
  352. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-name {
  353. font-size: 12px;
  354. color: #bdc1c6;
  355. white-space: nowrap;
  356. overflow: hidden;
  357. text-overflow: ellipsis;
  358. max-width: 280px;
  359. }
  360. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar .space-editor-pdf-secure-label {
  361. color: #f1f3f4;
  362. }
  363. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar .space-editor-pdf-download-original {
  364. color: #8ab4f8;
  365. font-size: 12px;
  366. text-decoration: none;
  367. white-space: nowrap;
  368. }
  369. .space-editor-wrap .ck-editor .space-editor-pdf-ck-secure-bar .space-editor-pdf-download-original:hover {
  370. text-decoration: underline;
  371. }
  372. .space-editor-pdf-float-toolbar {
  373. position: absolute;
  374. z-index: 20;
  375. display: flex;
  376. align-items: center;
  377. justify-content: space-between;
  378. height: 56px;
  379. padding: 0 12px;
  380. background: #323639;
  381. color: #f1f3f4;
  382. box-sizing: border-box;
  383. pointer-events: auto;
  384. }
  385. .space-editor-wrap .ck-content .space-editor-pdf-shell {
  386. position: relative;
  387. width: 100%;
  388. border: 1px solid #dcdfe6;
  389. background: #f5f7fa;
  390. box-sizing: border-box;
  391. overflow: hidden;
  392. }
  393. .space-editor-wrap .ck-content .space-editor-pdf-toolbar-overlay {
  394. position: absolute;
  395. top: 0;
  396. left: 0;
  397. right: 0;
  398. z-index: 6;
  399. display: flex;
  400. align-items: center;
  401. justify-content: space-between;
  402. height: 56px;
  403. padding: 0 12px;
  404. background: #323639;
  405. color: #f1f3f4;
  406. box-sizing: border-box;
  407. pointer-events: auto;
  408. }
  409. .space-editor-wrap .ck-content .space-editor-pdf-select-layer {
  410. position: absolute;
  411. top: 56px;
  412. left: 0;
  413. right: 0;
  414. bottom: 0;
  415. z-index: 5;
  416. cursor: pointer;
  417. background: transparent;
  418. pointer-events: auto;
  419. }
  420. .space-editor-wrap .ck-content figure.space-editor-pdf-viewer.space-editor-pdf-selected .space-editor-pdf-select-layer {
  421. background: rgba(48, 128, 254, 0.08);
  422. }
  423. .space-editor-wrap .ck-content .space-editor-pdf-preview-error {
  424. position: absolute;
  425. top: 56px;
  426. left: 0;
  427. right: 0;
  428. bottom: 0;
  429. z-index: 8;
  430. display: none;
  431. align-items: center;
  432. justify-content: center;
  433. padding: 24px;
  434. color: #f56c6c;
  435. font-size: 14px;
  436. line-height: 1.6;
  437. text-align: center;
  438. background: #f5f7fa;
  439. box-sizing: border-box;
  440. pointer-events: none;
  441. }
  442. .space-editor-wrap .ck-content .space-editor-pdf-toolbar-title {
  443. font-size: 12px;
  444. color: #e8eaed;
  445. opacity: 0.85;
  446. }
  447. .space-editor-wrap .ck-content .space-editor-pdf-toolbar {
  448. display: flex;
  449. align-items: center;
  450. justify-content: space-between;
  451. height: 36px;
  452. padding: 0 10px;
  453. background: #323639;
  454. color: #f1f3f4;
  455. }
  456. .space-editor-wrap .ck-content .space-editor-pdf-toolbar-left,
  457. .space-editor-wrap .ck-content .space-editor-pdf-toolbar-right {
  458. display: flex;
  459. align-items: center;
  460. gap: 10px;
  461. }
  462. .space-editor-wrap .ck-content .space-editor-pdf-toolbar-right {
  463. margin-left: auto;
  464. }
  465. .space-editor-wrap .ck-content .space-editor-pdf-secure-switch {
  466. display: inline-flex;
  467. align-items: center;
  468. gap: 6px;
  469. margin: 0;
  470. font-size: 12px;
  471. color: #e8eaed;
  472. cursor: pointer;
  473. user-select: none;
  474. }
  475. .space-editor-wrap .ck-content .space-editor-pdf-secure-switch input {
  476. margin: 0;
  477. cursor: pointer;
  478. }
  479. .space-editor-wrap .ck-content .space-editor-pdf-download-original {
  480. color: #8ab4f8;
  481. font-size: 12px;
  482. text-decoration: none;
  483. white-space: nowrap;
  484. }
  485. .space-editor-wrap .ck-content .space-editor-pdf-download-original:hover {
  486. text-decoration: underline;
  487. }
  488. .space-editor-wrap .ck-content .space-editor-pdf-fullscreen-btn {
  489. border: none;
  490. background: transparent;
  491. color: #8ab4f8;
  492. font-size: 12px;
  493. cursor: pointer;
  494. padding: 0;
  495. white-space: nowrap;
  496. }
  497. .space-editor-wrap .ck-content .space-editor-pdf-fullscreen-btn:hover {
  498. text-decoration: underline;
  499. }
  500. .space-editor-wrap .ck-content .space-editor-pdf-shell .space-editor-pdf-frame {
  501. border: 0;
  502. min-height: 480px;
  503. height: 520px;
  504. }
  505. @media screen and (max-width: 768px) {
  506. .space-editor-toolstrip {
  507. column-gap: 4px;
  508. row-gap: 5px;
  509. padding: 6px;
  510. }
  511. .space-editor-toolstrip .space-editor-tool-btn.el-button--small {
  512. min-width: auto;
  513. padding: 7px 8px;
  514. }
  515. .space-editor-toolstrip .space-editor-tool-divider {
  516. display: none;
  517. }
  518. .space-editor-quality {
  519. width: 120px;
  520. }
  521. }
  522. .space-editor-preview-dialog .el-dialog__body {
  523. padding: 12px 18px 18px;
  524. }
  525. .space-editor-preview-dialog {
  526. width: calc(100vw - 32px) !important;
  527. max-width: calc(100vw - 32px);
  528. margin-bottom: 0;
  529. }
  530. .space-editor-preview-dialog .el-dialog__header {
  531. padding: 14px 18px 8px;
  532. }
  533. .space-editor-preview-toolbar {
  534. display: flex;
  535. align-items: center;
  536. justify-content: space-between;
  537. margin-bottom: 12px;
  538. }
  539. .space-editor-preview-stage {
  540. height: calc(100vh - 230px);
  541. min-height: 360px;
  542. max-height: 700px;
  543. overflow: auto;
  544. text-align: center;
  545. background: #f5f7fa;
  546. border: 1px solid #e4e7ed;
  547. padding: 16px;
  548. }
  549. .space-editor-preview-stage iframe {
  550. display: block;
  551. max-width: 100%;
  552. margin: 0 auto;
  553. background: #fff;
  554. box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  555. }
  556. .article-info-pc-preview-stage {
  557. box-sizing: border-box;
  558. display: flex;
  559. flex-direction: column;
  560. align-items: center;
  561. height: 100%;
  562. min-height: 0;
  563. overflow: hidden;
  564. text-align: center;
  565. background: #f5f7fa;
  566. border: 1px solid #e4e7ed;
  567. padding: 16px;
  568. }
  569. .article-info-pc-preview-frame {
  570. display: block;
  571. width: 1200px;
  572. max-width: 100%;
  573. flex: 1 1 auto;
  574. min-height: 0;
  575. height: auto !important;
  576. margin: 0 auto;
  577. background: #fff;
  578. box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
  579. border: 0;
  580. }
  581. .urge-tbs iframe.article-info-pc-preview-frame,
  582. iframe.article-info-pc-preview-frame {
  583. width: 1200px;
  584. max-width: 100%;
  585. flex: 1 1 auto;
  586. min-height: 0;
  587. height: auto !important;
  588. }
  589. html.article-info-layer-page,
  590. html.article-info-layer-page body {
  591. height: 100%;
  592. overflow: hidden;
  593. }
  594. .preview-article-body .ck-content,
  595. .article-body .ck-content {
  596. width: 100%;
  597. margin: 0;
  598. padding: 0;
  599. }
  600. .preview-article-body .ck-content .image,
  601. .preview-article-body .ck-content figure.image,
  602. .article-body .ck-content .image,
  603. .article-body .ck-content figure.image {
  604. display: block !important;
  605. width: auto;
  606. max-width: 100% !important;
  607. margin: 18px 0 !important;
  608. padding: 0 !important;
  609. text-align: left !important;
  610. }
  611. .preview-article-body .ck-content .image img,
  612. .preview-article-body .ck-content img,
  613. .article-body .ck-content .image img,
  614. .article-body .ck-content img {
  615. display: block !important;
  616. width: auto;
  617. max-width: 100% !important;
  618. height: auto !important;
  619. margin: 18px auto !important;
  620. box-sizing: border-box;
  621. }
  622. .preview-article-body img,
  623. .preview-article-body .article-body img,
  624. .article-body img {
  625. display: block;
  626. width: auto;
  627. max-width: 100% !important;
  628. height: auto !important;
  629. margin: 18px auto;
  630. box-sizing: border-box;
  631. }
  632. .preview-article-body figure.image,
  633. .preview-article-body figure:has(img),
  634. .article-body figure.image,
  635. .article-body figure:has(img) {
  636. display: block !important;
  637. width: auto;
  638. max-width: 100% !important;
  639. margin: 18px auto;
  640. text-align: center !important;
  641. }
  642. .preview-article-body p:has(img),
  643. .preview-article-body div:has(img),
  644. .article-body p:has(img),
  645. .article-body div:has(img) {
  646. text-align: left !important;
  647. text-indent: 0 !important;
  648. }
  649. .preview-article-body figure.image.image-style-align-center,
  650. .article-body figure.image.image-style-align-center {
  651. margin-left: auto !important;
  652. margin-right: auto !important;
  653. text-align: center !important;
  654. }
  655. .preview-article-body figure.image.image-style-align-center img,
  656. .article-body figure.image.image-style-align-center img {
  657. margin-left: auto !important;
  658. margin-right: auto !important;
  659. }
  660. .preview-article-body figure.image.image-style-align-full,
  661. .preview-article-body figure.image.image-style-full,
  662. .article-body figure.image.image-style-align-full,
  663. .article-body figure.image.image-style-full {
  664. width: 100% !important;
  665. text-align: center !important;
  666. }
  667. .preview-article-body figure.image.image-style-align-full img,
  668. .preview-article-body figure.image.image-style-full img,
  669. .article-body figure.image.image-style-align-full img,
  670. .article-body figure.image.image-style-full img {
  671. width: 100% !important;
  672. max-width: 100% !important;
  673. }
  674. /* 后台文章信息查看页正文图片对齐标准 */
  675. .article-info-content img {
  676. display: block;
  677. width: auto;
  678. max-width: 100% !important;
  679. height: auto !important;
  680. margin: 18px auto !important;
  681. box-sizing: border-box;
  682. }
  683. .article-info-content p:has(img),
  684. .article-info-content div:has(img) {
  685. text-align: left !important;
  686. text-indent: 0 !important;
  687. }
  688. .article-info-content figure.image {
  689. display: block;
  690. width: auto;
  691. max-width: 100%;
  692. margin: 18px auto;
  693. text-align: center;
  694. }
  695. .article-info-content figure.image.image-style-align-center {
  696. margin-left: auto !important;
  697. margin-right: auto !important;
  698. text-align: center !important;
  699. }
  700. .article-info-content figure.image.image-style-align-full,
  701. .article-info-content figure.image.image-style-full {
  702. width: 100% !important;
  703. text-align: center !important;
  704. }
  705. .article-info-content figure.image.image-style-align-full img,
  706. .article-info-content figure.image.image-style-full img {
  707. width: 100% !important;
  708. max-width: 100% !important;
  709. }
  710. .article-info-content figure.image img {
  711. margin: 0 !important;
  712. }
  713. /* Fandol 仿宋:GPL + 字体嵌入例外,许可证见 /main/ffkj-portal/fonts/FandolFang-COPYING.txt */
  714. @font-face{font-family:'仿宋';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
  715. @font-face{font-family:'FangSong';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
  716. @font-face{font-family:'FangSong_GB2312';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
  717. @font-face{font-family:'仿宋_GB2312';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
  718. @font-face{font-family:'STFangsong';src:url('/main/ffkj-portal/fonts/FandolFang-Regular.otf') format('opentype');font-weight:400;font-style:normal;font-display:swap}
  719. .ck-content a.article-attachment,
  720. .ck-content a[href*="/web/upload/"] {
  721. color: #1769ff;
  722. text-decoration: underline;
  723. }